Skip to content

Commit f853e57

Browse files
committed
chore: move from yarn prepublish to yarn prepack
1 parent 7e44a66 commit f853e57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"repository": "github:cloudgraphdev/sdk",
1414
"bugs": "https://github.com/cloudgraphdev/sdk/issues",
1515
"scripts": {
16-
"build": "yarn prepublish",
17-
"prepublish": "npx tsc",
16+
"build": "yarn prepack",
17+
"prepack": "rm -rf dist && npx tsc",
1818
"test": "NODE_ENV=test jest",
1919
"lint": "eslint --config .eslintrc.json --ext .js,.ts ./",
2020
"lint:fix": "eslint --fix --config .eslintrc.json --ext .js,.ts ./"

0 commit comments

Comments
 (0)