Skip to content

Commit add5c85

Browse files
Adjust package.json#scripts for package to be installable from GH
1 parent fae5658 commit add5c85

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
"fix-staged": "lint-staged --config .lintstagedrc.fix.json --concurrent 1",
259259
"start": "tsc --watch --sourceMap --declarationMap",
260260
"prepare": "husky install",
261-
"preversion": "yarn install",
261+
"preversion": "yarn install && yarn build",
262262
"test": "jest",
263263
"types": "tsc --noEmit --skipLibCheck false",
264264
"validate-translations": "node scripts/validate-translations.js",
@@ -267,8 +267,7 @@
267267
"browse-examples": "ladle serve",
268268
"e2e": "playwright test",
269269
"e2e-fixtures": "node e2e/fixtures/fixtures.mjs",
270-
"e2e-container": "./e2e/scripts/run_in_container.sh",
271-
"prepack": "yarn build"
270+
"e2e-container": "./e2e/scripts/run_in_container.sh"
272271
},
273272
"resolutions": {
274273
"ast-types": "^0.14.0",

0 commit comments

Comments
 (0)