Added node commands for new features
This commit is contained in:
parent
530519294b
commit
10babb5618
1 changed files with 4 additions and 3 deletions
|
@ -6,13 +6,14 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"create-dirs": "mkdir -p build/assets build/lib",
|
"create-dirs": "mkdir -p build/assets build/lib",
|
||||||
"build-extensions": "",
|
"build-extensions": "",
|
||||||
"build-firefox": "cd firefox/ && jpm xpi",
|
"build-firefox": "cd firefox/ && jpm xpi && cd -",
|
||||||
"build-chrome": "chromium-browser --pack-extension=./ --pack-extension-key=key.pem",
|
"build-chrome": "chromium-browser --pack-extension=chrome/ --pack-extension-key=key.pem",
|
||||||
"build-js": "browserify -t reactify src/index.js -o build/index.js",
|
"build-js": "browserify -t reactify src/index.js -o build/index.js",
|
||||||
|
"build-data": "python firefox/build-package.py && python chrome/build-manifest.py",
|
||||||
"copy-firefox": "",
|
"copy-firefox": "",
|
||||||
"copy-chrome": "",
|
"copy-chrome": "",
|
||||||
"build": "ulimit -n 512 && npm run create-dirs && npm install && npm run build-js && npm run copy-firefox && npm run copy-chrome",
|
"build": "ulimit -n 512 && npm run create-dirs && npm install && npm run build-js && npm run copy-firefox && npm run copy-chrome",
|
||||||
"clean": "rm -rf build/ && rm -rf firefox/data",
|
"clean": "rm -rf build/ && rm -rf firefox/data && rm -rf chrome/data",
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Reference in a new issue