Skip to content
This repository was archived by the owner on Dec 10, 2021. It is now read-only.

Commit d4826c2

Browse files
committed
Better preversion script
1 parent 1a0eb7c commit d4826c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"test:build": "jest -c '{}' build",
2525
"test:coverage": "jest --coverage",
2626
"lint": "tslint -p tsconfig.json --type-check -c tslint.json",
27-
"preversion": "npm run lint && npm run test",
27+
"preversion": "yarn lint && yarn build && yarn test:build",
2828
"release": "cd build && npm publish",
2929
"test:project": "cd test/project && yarn sls openapi generate",
3030
"test:prepare": "scripts/prepareTests.bash",

0 commit comments

Comments
 (0)