Skip to content

Commit 0b4ac3c

Browse files
committed
test: demo to N 7
1 parent 4c87ebe commit 0b4ac3c

File tree

8 files changed

+24
-477
lines changed

8 files changed

+24
-477
lines changed

demo/app/app.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ mdbutton {
77
elevation: 0;
88
font-size: 40;
99
border-radius: 32;
10+
ripple-color: red;
1011
width: 64;
1112
height: 64;
1213
padding: 0;

demo/app/package.json

Lines changed: 0 additions & 108 deletions
This file was deleted.

demo/nativescript.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { NativeScriptConfig } from '@nativescript/core';
2+
3+
export default {
4+
id: 'org.nativescript.demo',
5+
appResourcesPath: 'app/App_Resources',
6+
android: {
7+
v8Flags: '--expose_gc',
8+
markingMode: 'none'
9+
},
10+
appPath: 'app'
11+
} as NativeScriptConfig;

demo/nsconfig.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

demo/package.json

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
{
2-
"nativescript": {
3-
"id": "org.nativescript.demo",
4-
"tns-android": {
5-
"version": "6.3.0"
6-
},
7-
"tns-ios": {
8-
"version": "6.2.0"
9-
}
10-
},
112
"dependencies": {
123
"@nativescript/core": "rc",
134
"@nativescript-community/ui-material-activityindicator": "file:../packages/activityindicator",
@@ -24,7 +15,7 @@
2415
"@nativescript-community/ui-material-snackbar": "file:../packages/snackbar",
2516
"@nativescript-community/ui-material-textfield": "file:../packages/textfield",
2617
"@nativescript-community/ui-material-textview": "file:../packages/textview",
27-
"@nativescript/theme": "rc",
18+
"@nativescript/theme": "3.0.0",
2819
"nativescript-ui-listview": "7.1.0"
2920
},
3021
"devDependencies": {
@@ -41,16 +32,17 @@
4132
"node-sass": "^4.13.0",
4233
"resolve-url-loader": "~3.1.0",
4334
"sass-loader": "^8.0.0",
44-
"@nativescript/types": "rc",
35+
"@nativescript/types": "7.0.0",
4536
"ts-loader": "^6.2.1",
4637
"tslint": "~5.20.0",
47-
"typescript": "3.6.4",
38+
"typescript": "3.9.7",
4839
"webpack": "~4.41.2",
4940
"webpack-bundle-analyzer": "^3.6.0",
5041
"webpack-sources": "~1.4.3"
5142
},
5243
"scripts": {
5344
"build.plugin": "cd ./ && npm run build.plugin",
5445
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'"
55-
}
46+
},
47+
"main": "app.js"
5648
}

demo/tsconfig.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
{
22
"extends": "../tsconfig",
33
"compilerOptions": {
4-
"target": "es5",
5-
"module": "commonjs",
4+
"target": "es2017",
5+
"module": "esnext",
66
"declaration": false,
7-
"removeComments": true,
7+
"removeComments": false,
88
"noLib": false,
99
"emitDecoratorMetadata": true,
1010
"experimentalDecorators": true,
1111
"lib": [
1212
"es6",
13-
"dom"
13+
"dom",
14+
"es2017"
1415
],
1516
"pretty": true,
1617
"allowUnreachableCode": false,
@@ -29,7 +30,8 @@
2930
"~/*": [
3031
"app/*"
3132
]
32-
}
33+
},
34+
"moduleResolution": "node"
3335
},
3436
"exclude": [
3537
"node_modules",

demo/tsconfig.tns.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)