Skip to content

Commit 7978c08

Browse files
committed
fix: ensure package is prepared before publish
1 parent ee8ea2c commit 7978c08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
"clean": "gts clean",
1919
"compile": "tsc; webpack --config webpack.common.js --mode development",
2020
"copy": "cpx 'src/static/**' 'dist/src/static'",
21-
"dev:start": "npm run copy; npm run compile",
2221
"dev": "nodemon --watch src -e ts,tsx,sass --exec npm run dev:start",
22+
"dev:start": "npm run copy; npm run compile",
2323
"docs": "typedoc --out docs",
2424
"fix": "node ./node_modules/eslint/bin/eslint --fix src/**/*.ts src/**/*.tsx",
25+
"prepare": "rm -rf dist/; npm run dev:start;",
2526
"test": "ava"
2627
},
2728
"ava": {

0 commit comments

Comments
 (0)