Skip to content

Commit 9773bea

Browse files
committed
Make release command run build command first
1 parent b19aadc commit 9773bea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"build:babel": "babel-node --extensions \".ts\" src/cli.ts \"src/{cli,index}.ts\" --target=8 --output=dist --compress",
1818
"build:self": "node dist/cli.js \"src/{cli,index}.ts\" --target=8 --output=dist --compress",
1919
"build:types": "tsc --emitDeclarationOnly --outdir types --declaration --allowSyntheticDefaultImports src/{cli,index}.ts",
20+
"prerelease": "npm run build",
2021
"release": "np",
2122
"test": "echo \"Error: no test specified\" && exit 0"
2223
},

0 commit comments

Comments
 (0)