1
Fork 0

added copy functions to npm

This commit is contained in:
Jake Howard 2015-08-20 10:15:09 +01:00
parent 10babb5618
commit 869a775157

View file

@ -10,8 +10,8 @@
"build-chrome": "chromium-browser --pack-extension=chrome/ --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", "build-data": "python firefox/build-package.py && python chrome/build-manifest.py",
"copy-firefox": "", "copy-firefox": "cp src/* firefox/data/",
"copy-chrome": "", "copy-chrome": "cp src/* chrome/data/",
"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 && rm -rf chrome/data", "clean": "rm -rf build/ && rm -rf firefox/data && rm -rf chrome/data",
}, },