Add prepare script to package.json for build automation
This commit is contained in:
parent
5098c74c90
commit
a36fd4a2f9
|
@ -4,7 +4,8 @@
|
||||||
"main": "dist/main.js",
|
"main": "dist/main.js",
|
||||||
"types": "dist/main.d.ts",
|
"types": "dist/main.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc"
|
"build": "tsc",
|
||||||
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user