Skip to content

Commit e3327dd

Browse files
Dimitar TodorovNathanWalker
Dimitar Todorov
authored andcommitted
chore: udpate node version in travis builds
1 parent 83d400d commit e3327dd

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"dependencies": {
66
"nativescript-theme-core": "^1.0.4",
77
"nativescript-unit-test-runner": "^0.3.4",
8-
"nativescript-yourplugin": "../src",
8+
"nativescript-yourplugin": "file:../src",
99
"tns-core-modules": "^4.2.0"
1010
},
1111
"devDependencies": {

demo/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"paths": {
2525
"*": [
2626
"./node_modules/*"
27+
],
28+
"~/*": [
29+
"app/*"
2730
]
2831
}
2932
},

src/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111
}
1212
},
1313
"scripts": {
14-
"tsc": "tsc -skipLibCheck",
15-
"build": "npm i && tsc && npm run build.native",
14+
"tsc": "tsc",
15+
"build": "npm run tsc && npm run build.native",
1616
"build.native": "node scripts/build-native.js",
17-
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i",
18-
"test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch",
19-
"test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch",
17+
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && npx rimraf -- package-lock.json && cd ../src",
18+
"test.android": "npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch",
19+
"test.ios": "npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch",
2020
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"",
2121
"plugin.tscwatch": "npm run tsc -- -w",
22-
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles",
23-
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles",
24-
"demo.reset": "cd ../demo && rimraf platforms",
22+
"demo.ios": "npm run tsc && cd ../demo && tns run ios --syncAllFiles --emulator",
23+
"demo.android": "npm run tsc && cd ../demo && tns run android --syncAllFiles --emulator",
24+
"demo.reset": "cd ../demo && npx rimraf -- hooks node_modules platforms package-lock.json",
2525
"plugin.prepare": "npm run build && cd ../demo && tns plugin remove nativescript-yourplugin && tns plugin add ../src",
26-
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules",
26+
"clean": "npm run demo.reset && npx rimraf -- node_modules package-lock.json && npm i",
2727
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'",
2828
"prepack": "npm run build.native"
2929
},

src/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"noLib": false,
88
"emitDecoratorMetadata": true,
99
"experimentalDecorators": true,
10+
"skipLibCheck": true,
1011
"lib": ["es6", "dom"],
1112
"sourceMap": true,
1213
"pretty": true,

0 commit comments

Comments
 (0)