Skip to content

Commit 3881733

Browse files
committed
fix: Update plugin configs
1 parent 01d2fdf commit 3881733

File tree

2 files changed

+24
-11
lines changed

2 files changed

+24
-11
lines changed

src/package.json

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"compile": "./node_modules/.bin/tsc",
2121
"plugin.link": "npm link && cd ../demo && npm link nativescript-google-maps-sdk && cd ../src",
2222
"prepare": "node ./scripts/prepare.js",
23-
"demo.ios": "npm i && npm run build && cd ../demo && tns run ios",
24-
"demo.android": "npm i && npm run build && cd ../demo && tns run android",
23+
"demo.ios": "npm i && npm run build && cd ../demo && tns run ios --no-hmr",
24+
"demo.android": "npm i && npm run build && cd ../demo && tns run android --no-hmr",
2525
"demo-vue.ios": "npm i && npm run build && cd ../demo-vue && tns run ios --bundle --syncAllFiles",
2626
"demo-vue.android": "npm i && npm run build && cd ../demo-vue && tns run android --bundle --syncAllFiles",
2727
"generate.typings.ios": "cd ../demo && TNS_DEBUG_METADATA_PATH=\"$(pwd)/metadata\" tns build ios && TNS_TYPESCRIPT_DECLARATIONS_PATH=\"$(pwd)/typings\" tns build ios && echo 'Now look for your library typings in demo/typings!'"
@@ -44,15 +44,24 @@
4444
},
4545
"homepage": "https://github.com/dapriett/nativescript-google-maps-sdk#readme",
4646
"devDependencies": {
47-
"commitizen": "^4.0.3",
48-
"conventional-github-releaser": "^3.1.3",
47+
"@nativescript/core": "^7.0.12",
48+
"@nativescript/types": "^7.0.4",
49+
"@nativescript/webpack": "^3.0.8",
50+
"@typescript-eslint/eslint-plugin": "^3.7.0",
51+
"@typescript-eslint/parser": "^3.7.0",
52+
"commitizen": "^4.2.2",
53+
"conventional-github-releaser": "^3.1.5",
4954
"cz-conventional-changelog": "^2.0.0",
5055
"husky": "^0.14.2",
5156
"semver": "^5.5.0",
52-
"tns-core-modules": "^4.0.0",
53-
"tns-platform-declarations": "^4.0.0",
54-
"typescript": "^2.3.2",
55-
"validate-commit-msg": "^2.12.2"
57+
"ts-patch": "^1.3.0",
58+
"typescript": "~3.9.0",
59+
"validate-commit-msg": "^2.12.2",
60+
"lint-staged": "^10.3.0",
61+
"prettier": "^2.1.1",
62+
"rimraf": "^3.0.2",
63+
"ts-node": "^9.0.0",
64+
"eslint": "^7.5.0"
5665
},
5766
"config": {
5867
"commitizen": {

src/tsconfig.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"compilerOptions": {
3-
"module": "commonjs",
4-
"target": "es5",
3+
"target": "ES2017",
4+
"module": "esnext",
5+
"moduleResolution": "node",
56
"declaration": false,
67
"noImplicitAny": false,
78
"removeComments": true,
@@ -10,14 +11,17 @@
1011
"sourceMap": false,
1112
"experimentalDecorators": true,
1213
"noEmitHelpers": true,
14+
"plugins": [{
15+
"transform": "@nativescript/webpack/transformers/ns-transform-native-classes",
16+
"type": "raw"
17+
}],
1318
"lib": [
1419
"es6",
1520
"dom"
1621
],
1722
"baseUrl": ".",
1823
"paths": {
1924
"*": [
20-
"./node_modules/tns-core-modules/*",
2125
"./node_modules/*"
2226
]
2327
}

0 commit comments

Comments
 (0)