Skip to content

Commit d16c0b2

Browse files
committed
chore(pipeline): update npm scripts for build
1 parent 4480704 commit d16c0b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
"version": ">0.2"
1919
},
2020
"scripts": {
21-
"build": "yarn prepublish",
21+
"build": "yarn prepack",
2222
"generate-types": "graphql-codegen --config codegen.yml",
2323
"prepare": "npx husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks",
24-
"prepublish": "rm -rf dist && yarn generate-types && tsc && yarn cpx 'src/**/*.graphql' dist",
24+
"prepack": "rm -rf dist && yarn generate-types && tsc && yarn cpx 'src/**/*.graphql' dist",
2525
"test": "NODE_ENV=test jest ./tests",
2626
"lint": "eslint --config .eslintrc.json --ext .js,.ts ./",
2727
"lint:fix": "eslint --fix --config .eslintrc.json --ext .js,.ts ./",

0 commit comments

Comments
 (0)