From 869a7751576e3b3b069a35171972b5d5edc784f2 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 20 Aug 2015 10:15:09 +0100 Subject: [PATCH] added copy functions to npm --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6d00c78..8360c19 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "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-data": "python firefox/build-package.py && python chrome/build-manifest.py", - "copy-firefox": "", - "copy-chrome": "", + "copy-firefox": "cp src/* firefox/data/", + "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", "clean": "rm -rf build/ && rm -rf firefox/data && rm -rf chrome/data", },