Create build when publishing
This commit is contained in:
parent
798ed2a16f
commit
3918ec753d
@ -6,7 +6,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"dev": "webpack -w",
|
"dev": "webpack -w",
|
||||||
"build": "NODE_ENV=production webpack"
|
"build": "NODE_ENV=production webpack",
|
||||||
|
"prepublish": "npm run build && git add build"
|
||||||
},
|
},
|
||||||
"author": "Kosmos Contributors <mail@kosmos.org> (https://kosmos.org)",
|
"author": "Kosmos Contributors <mail@kosmos.org> (https://kosmos.org)",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user