Skip to content
This repository was archived by the owner on Aug 22, 2019. It is now read-only.

Commit 4ec6835

Browse files
author
Benjamin Van Renterghem
committed
Added npm script to create zip for store
closes #12
1 parent 562dbe7 commit 4ec6835

File tree

5 files changed

+301
-2
lines changed

5 files changed

+301
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
dist/
3+
build/

package-lock.json

Lines changed: 257 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"private": true,
33
"scripts": {
4-
"start": "webpack --watch --progress --info-verbosity verbose"
4+
"start": "webpack --watch --progress --info-verbosity verbose",
5+
"build": "webpack",
6+
"zip": "npm run build && ts-node ./scripts/makeChromeZip.ts"
57
},
68
"devDependencies": {
9+
"@types/archiver": "^2.1.3",
710
"@types/chrome": "0.0.83",
811
"@types/copy-webpack-plugin": "^4.4.4",
912
"@types/node": "^11.13.7",
1013
"@types/webpack": "^4.4.27",
14+
"archiver": "^3.0.0",
1115
"clean-webpack-plugin": "^2.0.1",
1216
"copy-webpack-plugin": "^5.0.3",
1317
"ts-loader": "^5.4.3",

0 commit comments

Comments
 (0)