Skip to content

Commit a8e758d

Browse files
author
VladimirAmiorkov
committed
chore: update demo tsconfig files
chore: add run command for demo-vue that triggers bundle build
1 parent 115899a commit a8e758d

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

demo-angular/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@
2222
]
2323
}
2424
},
25+
"include": [
26+
"../src",
27+
"**/*"
28+
],
2529
"exclude": [
30+
"../src/node_modules",
2631
"node_modules",
2732
"platforms"
28-
]
33+
],
2934
}

demo-vue/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
},
1111
"description": "NativeScript PickerField Demo Vue",
1212
"scripts": {
13-
"run": "tns run ios --syncAllFiles --provision NativeScriptDevProfile --bundle",
13+
"run.ios": "tns run ios --syncAllFiles --provision NativeScriptDevProfile --bundle",
14+
"run.android": "tns run android --syncAllFiles --provision NativeScriptDevProfile --bundle",
1415
"build.plugin": "cd ../src && npm run build",
1516
"ci.tslint": "npm i && tslint --config '../tslint.json' 'src/**/*.ts'"
1617
},

demo-vue/tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
}
2323
},
2424
"include": [
25-
"index.ts"
25+
"../src",
26+
"**/*"
2627
],
2728
"exclude": [
29+
"../src/node_modules",
2830
"node_modules",
2931
"platforms"
30-
]
32+
],
3133
}

0 commit comments

Comments
 (0)