-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
27 lines (27 loc) · 1.39 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "xcx-g2s",
"version": "1.2.10",
"scripts": {
"build": "node scripts/build.js",
"start": "npm run start-xcratch",
"start-xcratch": "cd ${XCRATCH_PATH:-../scratch-gui} && npm run start",
"start-stretch3": "bash ./scripts/stretch3-start.sh",
"prebuild": "npm run register",
"prestart-xcratch": "npm run register",
"prestart-stretch3": "npm run register",
"preregister": "npm run setup-prerequisites",
"register": "find src/vm -maxdepth 1 -type l -delete; npx -y xcratch-register --id=g2s --gui=${XCRATCH_PATH:-../scratch-gui} --block=./src/vm/extensions/block --entry=./src/gui/lib/libraries/extensions/entry --core --link --use=extension-support util",
"setup-prerequisites": "set -x; test -d ${XCRATCH_PATH:-../scratch-gui} || (git clone --depth 1 https://github.com/xcratch/scratch-gui.git ${XCRATCH_PATH:-../scratch-gui}; cd ${XCRATCH_PATH:-../scratch-gui} && npm install); test -d ${XCRATCH_PATH:-../scratch-gui}/node_modules/scratch-vm || (cd ${XCRATCH_PATH:-../scratch-gui} && npm install scratch-vm)"
},
"devDependencies": {
"xcratch-build": "^0.5.0",
"xcratch-register": "^0.4.2"
},
"dependencies": {
"@serialport/stream": "^9.2.4",
"chroma-js": "^3.1.2",
"firmata-io": "https://gitpkg.now.sh/yokobond/firmata.js/packages/firmata-io?xcx-g2s",
"long": "^5.2.3",
"web-serial-binding": "github:jaz303/web-serial-binding"
}
}