mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-22 22:12:28 -05:00
Use unqualified paths in package.json scripts
This allows stuff like yarn workspaces to function with node_modules hoisted.
This commit is contained in:
parent
6087b5346c
commit
157a527def
1 changed files with 10 additions and 10 deletions
20
package.json
20
package.json
|
@ -11,18 +11,18 @@
|
||||||
},
|
},
|
||||||
"main": "./dist/node/scratch-vm.js",
|
"main": "./dist/node/scratch-vm.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "./node_modules/.bin/webpack --progress --colors --bail",
|
"build": "webpack --progress --colors --bail",
|
||||||
"coverage": "./node_modules/.bin/tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
|
"coverage": "tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
|
||||||
"deploy": "touch playground/.nojekyll && ./node_modules/.bin/gh-pages -t -d playground -m \"Build for $(git log --pretty=format:%H -n1)\"",
|
"deploy": "touch playground/.nojekyll && gh-pages -t -d playground -m \"Build for $(git log --pretty=format:%H -n1)\"",
|
||||||
"lint": "./node_modules/.bin/eslint .",
|
"lint": "eslint .",
|
||||||
"prepublish": "in-publish && npm run build || not-in-publish",
|
"prepublish": "in-publish && npm run build || not-in-publish",
|
||||||
"start": "./node_modules/.bin/webpack-dev-server",
|
"start": "webpack-dev-server",
|
||||||
"tap": "./node_modules/.bin/tap ./test/{unit,integration}/*.js",
|
"tap": "tap ./test/{unit,integration}/*.js",
|
||||||
"tap:unit": "./node_modules/.bin/tap ./test/unit/*.js",
|
"tap:unit": "tap ./test/unit/*.js",
|
||||||
"tap:integration": "./node_modules/.bin/tap ./test/integration/*.js",
|
"tap:integration": "tap ./test/integration/*.js",
|
||||||
"test": "npm run lint && npm run tap",
|
"test": "npm run lint && npm run tap",
|
||||||
"watch": "./node_modules/.bin/webpack --progress --colors --watch",
|
"watch": "webpack --progress --colors --watch",
|
||||||
"version": "./node_modules/.bin/json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\""
|
"version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\""
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"adm-zip": "0.4.7",
|
"adm-zip": "0.4.7",
|
||||||
|
|
Loading…
Reference in a new issue