improvements to npm run scripts to not require any global modules
This commit is contained in:
parent
9b3b8a39e9
commit
5d742ad810
2 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "WebAPI Manager",
|
||||
"version": "0.9.9 ",
|
||||
"version": "0.9.9",
|
||||
"description": "Improves browser security and privacy by controlling page access to the Web API.",
|
||||
"icons": {
|
||||
"48": "images/uic-48.png",
|
||||
|
|
10
package.json
10
package.json
|
@ -22,13 +22,13 @@
|
|||
"contributors": [],
|
||||
"scripts": {
|
||||
"clean": "rm -Rf dist/",
|
||||
"bundle": "node_modules/gulp/bin/gulp.js clean && node_modules/gulp/bin/gulp.js && web-ext -s add-on -a dist build --overwrite-dest",
|
||||
"firefox": "node_modules/web-ext/bin/web-ext -s add-on run",
|
||||
"bundle": "node_modules/gulp/bin/gulp.js clean && node_modules/gulp/bin/gulp.js && node_modules/web-ext/bin/web-ext -s add-on -a dist build --overwrite-dest",
|
||||
"firefox": "node_modules/cross-env/dist/bin/cross-env.js npm run bundle && node_modules/web-ext/bin/web-ext -s add-on run",
|
||||
"lint": "node_modules/eslint/bin/eslint.js .",
|
||||
"lint:fix": "node_modules/eslint/bin/eslint.js --fix .",
|
||||
"test": "npm run clean; npm run bundle && ln -s `ls dist/` dist/webapi_manager.zip && cross-env node_modules/mocha/bin/mocha test/unit/*.js test/functional/*.js --only-local-tests",
|
||||
"test:watch": "cross-env npm test --watch",
|
||||
"test:all": "npm run clean; npm run bundle && ln -s `ls dist/` dist/webapi_manager.zip && cross-env node_modules/mocha/bin/mocha test/unit/*.js test/functional/*.js"
|
||||
"test": "npm run clean; npm run bundle && ln -s `ls dist/` dist/webapi_manager.zip && node_modules/cross-env/dist/bin/cross-env.js node_modules/mocha/bin/mocha test/unit/*.js test/functional/*.js --only-local-tests",
|
||||
"test:watch": "node_modules/cross-env/dist/bin/cross-env.js npm test --watch",
|
||||
"test:all": "npm run clean; npm run bundle && ln -s `ls dist/` dist/webapi_manager.zip && node_modules/cross-env/dist/bin/cross-env.js node_modules/mocha/bin/mocha test/unit/*.js test/functional/*.js"
|
||||
},
|
||||
"pre-push": {
|
||||
"run": [
|
||||
|
|
Loading…
Reference in a new issue