Skip to content

Commit d2f7030

Browse files
committed
Skip typecheck on old versions of node that aren't compatible
1 parent 1f748e7 commit d2f7030

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
@@ -57,7 +57,7 @@
5757
},
5858
"scripts": {
5959
"lint": "eslint .",
60-
"typecheck": "tsc",
60+
"typecheck": "node -e \"process.exit(process.release.lts < 'Gallium' ? 0 : 1)\" || tsc",
6161
"pretest": "npm run lint && npm run typecheck",
6262
"test": "mocha",
6363
"version": "git changelog ; git add History.md"

0 commit comments

Comments
 (0)