1
Fork 0

Added node commands for new features

This commit is contained in:
Jake Howard 2015-08-20 10:07:40 +01:00
parent 530519294b
commit 10babb5618

View file

@ -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",