We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fdea86 commit b308e5aCopy full SHA for b308e5a
1 file changed
package.json
@@ -18,10 +18,10 @@
18
"version": ">0.2"
19
},
20
"scripts": {
21
- "build": "yarn prepublish",
+ "build": "yarn prepack",
22
"generate-types": "graphql-codegen --config codegen.yml",
23
"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",
+ "prepack": "rm -rf dist && yarn generate-types && tsc && yarn cpx 'src/**/*.graphql' dist",
25
"test": "NODE_ENV=test jest ./tests",
26
"lint": "eslint --config .eslintrc.json --ext .js,.ts ./",
27
"lint:fix": "eslint --fix --config .eslintrc.json --ext .js,.ts ./",
0 commit comments