Skip to content

Commit ce69475

Browse files
committed
chore: move the type generation for tests to prelint
1 parent 2ee7667 commit ce69475

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@
1313
],
1414
"scripts": {
1515
"clean": "rm -f lib/*.js lib/*.d.ts lib/**/*.js lib/**/*.d.ts",
16-
"pretest": "node --env-file=.env.test bin/generate-test-fixture.ts",
1716
"test": "node --env-file=.env.test --test",
1817
"posttest": "npm run lint",
19-
"lint": "eslint .",
20-
"prelint": "tsc",
18+
"lint": "tsc && eslint .",
19+
"prelint": "node --env-file=.env.test bin/generate-test-fixture.ts",
2120
"prepack": "tsc -p tsconfig.build.json",
2221
"postpublish": "npm run clean"
2322
},

0 commit comments

Comments
 (0)