Skip to content

Commit aa7b5aa

Browse files
committed
fixes
1 parent 230b0e0 commit aa7b5aa

File tree

5 files changed

+279
-214
lines changed

5 files changed

+279
-214
lines changed

demo/package.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"nativescript": {
3-
"id": "org.nativescript.floatingactionbutton"
4-
},
5-
"dependencies": {
6-
"nativescript-floatingactionbutton": "../src",
7-
"nativescript-theme-core": "^1.0.4",
8-
"nativescript-unit-test-runner": "^0.3.4",
9-
"tns-core-modules": "^4.2.0"
10-
},
11-
"devDependencies": {
12-
"jasmine-core": "^2.5.2",
13-
"karma": "^1.3.0",
14-
"karma-jasmine": "^1.0.2",
15-
"karma-nativescript-launcher": "^0.4.0",
16-
"nativescript-css-loader": "~0.26.1",
17-
"nativescript-dev-typescript": "~0.7.2",
18-
"nativescript-dev-webpack": "~0.15.1",
19-
"tns-platform-declarations": "^4.2.0",
20-
"tslint": "~5.4.3",
21-
"typescript": "~2.8.2"
22-
},
23-
"scripts": {
24-
"build.plugin": "cd ../src && npm run build",
25-
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'",
26-
"ns-bundle": "ns-bundle",
27-
"publish-ios-bundle": "npm run ns-bundle --ios --publish-app",
28-
"generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install",
29-
"start-android-bundle": "npm run ns-bundle --android --run-app",
30-
"start-ios-bundle": "npm run ns-bundle --ios --run-app",
31-
"build-android-bundle": "npm run ns-bundle --android --build-app",
32-
"build-ios-bundle": "npm run ns-bundle --ios --build-app"
33-
}
2+
"nativescript": {
3+
"id": "org.nativescript.floatingactionbutton"
4+
},
5+
"dependencies": {
6+
"nativescript-floatingactionbutton": "file:../src",
7+
"nativescript-theme-core": "^1.0.4",
8+
"nativescript-unit-test-runner": "^0.3.4",
9+
"tns-core-modules": "^4.2.0"
10+
},
11+
"devDependencies": {
12+
"jasmine-core": "^2.5.2",
13+
"karma": "^1.3.0",
14+
"karma-jasmine": "^1.0.2",
15+
"karma-nativescript-launcher": "^0.4.0",
16+
"nativescript-css-loader": "~0.26.1",
17+
"nativescript-dev-typescript": "~0.7.2",
18+
"nativescript-dev-webpack": "~0.15.1",
19+
"tns-platform-declarations": "^4.2.0",
20+
"tslint": "~5.4.3",
21+
"typescript": "~2.8.2"
22+
},
23+
"scripts": {
24+
"build.plugin": "cd ../src && npm run build",
25+
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'",
26+
"ns-bundle": "ns-bundle",
27+
"publish-ios-bundle": "npm run ns-bundle --ios --publish-app",
28+
"generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install",
29+
"start-android-bundle": "npm run ns-bundle --android --run-app",
30+
"start-ios-bundle": "npm run ns-bundle --ios --run-app",
31+
"build-android-bundle": "npm run ns-bundle --android --build-app",
32+
"build-ios-bundle": "npm run ns-bundle --ios --build-app"
33+
}
3434
}

demo/tsconfig.esm.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"module": "es2015",
5+
"moduleResolution": "node"
6+
}
7+
}

demo/tsconfig.json

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
{
2-
"compilerOptions": {
3-
"target": "es5",
4-
"module": "commonjs",
5-
"declaration": false,
6-
"removeComments": true,
7-
"noLib": false,
8-
"emitDecoratorMetadata": true,
9-
"experimentalDecorators": true,
10-
"lib": ["es6", "dom"],
11-
"pretty": true,
12-
"allowUnreachableCode": false,
13-
"allowUnusedLabels": false,
14-
"noEmitHelpers": true,
15-
"noEmitOnError": false,
16-
"noImplicitAny": false,
17-
"noImplicitReturns": true,
18-
"noImplicitUseStrict": false,
19-
"noFallthroughCasesInSwitch": true,
20-
"baseUrl": ".",
21-
"paths": {
22-
"*": ["./node_modules/*"]
23-
}
24-
},
25-
"exclude": ["node_modules", "platforms"],
26-
"compileOnSave": false
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "commonjs",
5+
"declaration": false,
6+
"removeComments": true,
7+
"noLib": false,
8+
"emitDecoratorMetadata": true,
9+
"experimentalDecorators": true,
10+
"lib": ["es6", "dom"],
11+
"pretty": true,
12+
"allowUnreachableCode": false,
13+
"allowUnusedLabels": false,
14+
"noEmitHelpers": true,
15+
"noEmitOnError": false,
16+
"noImplicitAny": false,
17+
"noImplicitReturns": true,
18+
"noImplicitUseStrict": false,
19+
"noFallthroughCasesInSwitch": true,
20+
"baseUrl": ".",
21+
"paths": {
22+
"*": ["./node_modules/*"],
23+
"~/*": ["app/*"]
24+
}
25+
},
26+
"include": ["../src", "**/*"],
27+
"exclude": ["../src/node_modules", "node_modules", "platforms"],
28+
"compileOnSave": false
2729
}

0 commit comments

Comments
 (0)