Run build script at prepublish stage
This commit is contained in:
parent
bfee21a6b7
commit
29e514b724
|
|
@ -9,7 +9,8 @@
|
||||||
"test:watch": "jest --watch",
|
"test:watch": "jest --watch",
|
||||||
"start": "node bin/make-workout.js",
|
"start": "node bin/make-workout.js",
|
||||||
"format:js": "prettier --write src/",
|
"format:js": "prettier --write src/",
|
||||||
"build": "tsc"
|
"build": "tsc",
|
||||||
|
"prepublish": "yarn build"
|
||||||
},
|
},
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue