Skip to content

Commit

Permalink
feat: add build script before publlish
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwa committed May 4, 2022
1 parent c8374f7 commit 4487b0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
],
"scripts": {
"build": "tsc --build tsconfig.json",
"release": "standard-version",
"prepublishOnly": "npm run release",
"release": "npm run build && standard-version",
"lint": "eslint --ext .js,.ts,.json ./",
"fix": "eslint --ext .js,.ts,.json ./ --fix",
"format": "prettier --config ./.prettierrc --write \"./**/*.{ts,js,json}\" ",
Expand Down Expand Up @@ -45,4 +46,4 @@
"dependencies": {
"fs-extra": "^10.1.0"
}
}
}

0 comments on commit 4487b0a

Please sign in to comment.