X Tutup
Skip to content

Commit cb2ab16

Browse files
committed
build setting tstl.exe
1 parent afbb749 commit cb2ab16

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,20 @@
3535
"check:language-extensions": "tsc language-extensions/index.d.ts",
3636
"preversion": "npm run build && npm test",
3737
"postversion": "git push && git push --tags"
38+
},
39+
"pkg": {
40+
"assets": [
41+
"dist/lualib/**/*",
42+
"node_modules/typescript/lib/**/*.d.ts"
43+
],
44+
"targets": [
45+
"node16-win-x64"
46+
],
47+
"outputPath": "bin"
3848
},
3949
"bin": {
40-
"tstl": "dist/tstl.js"
50+
"tstl": "dist/tstl.js",
51+
"app": "dist/tstl.js"
4152
},
4253
"engines": {
4354
"node": ">=12.13.0"

0 commit comments

Comments
 (0)
X Tutup