added copy functions to npm
This commit is contained in:
parent
10babb5618
commit
869a775157
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue