Skip to content

Commit 2dd1d15

Browse files
Fix the call to tsc, use typescript package (#84)
1 parent e089332 commit 2dd1d15

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
@@ -20,7 +20,7 @@
2020
},
2121
"scripts": {
2222
"//": "#use npx here to ensure that non-TS users triggering the postinstall script don't need to install TypeScript globally or in their project",
23-
"build": "npx tsc --build tsconfig.build.json",
23+
"build": "npx -p typescript tsc --build tsconfig.build.json",
2424
"clean": "git clean -dfqX",
2525
"install-with-npm-8.5": "npm i -g npm@^8.5.0 && npm i",
2626
"postinstall": "npm run build",

0 commit comments

Comments
 (0)