Run build script at prepublish stage

This commit is contained in:
Rene Saarsoo 2020-10-01 20:46:26 +03:00
parent bfee21a6b7
commit 29e514b724
1 changed files with 2 additions and 1 deletions

View File

@ -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",