Simplify build scripts and implement preliminary tests

This commit is contained in:
hensm
2018-06-11 03:42:04 +01:00
parent 7cb626841f
commit f20f96cf10
19 changed files with 6021 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
{
"scripts": {
"build": "webpack",
"build": "webpack && web-ext build --overwrite-dest --source-dir ../dist/unpacked --artifacts-dir ../dist && mv ../dist/*.zip ../dist/ext.xpi",
"watch": "webpack -d --watch"
},
"devDependencies": {
@@ -14,6 +14,7 @@
"copy-webpack-plugin": "^4.3.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"web-ext": "^2.7.0",
"webpack": "^3.10.0"
},
"dependencies": {