Skip to content

Commit 5856844

Browse files
committed
fix: add tsconfig.json file
1 parent c825897 commit 5856844

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

postinstall.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
const hook = require("nativescript-hook")(__dirname);
2-
hook.postinstall();
1+
const nsHook = require("nativescript-hook")(__dirname);
2+
nsHook.postinstall();

tsconfig.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"compilerOptions": {
3+
"module": "commonjs",
4+
"target": "es6",
5+
"experimentalDecorators": true,
6+
"emitDecoratorMetadata": true,
7+
"noEmitHelpers": true,
8+
"noEmitOnError": true,
9+
"baseUrl": ".",
10+
"paths": {
11+
"*": [
12+
"./node_modules/tns-core-modules/*",
13+
"./node_modules/*"
14+
]
15+
}
16+
},
17+
"exclude": [
18+
"node_modules/tns-core-modules",
19+
"platforms"
20+
]
21+
}

0 commit comments

Comments
 (0)