Skip to content

Commit

Permalink
fix: Update plugin configs
Browse files Browse the repository at this point in the history
  • Loading branch information
kefahB committed Oct 27, 2020
1 parent 01d2fdf commit 3881733
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
25 changes: 17 additions & 8 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"compile": "./node_modules/.bin/tsc",
"plugin.link": "npm link && cd ../demo && npm link nativescript-google-maps-sdk && cd ../src",
"prepare": "node ./scripts/prepare.js",
"demo.ios": "npm i && npm run build && cd ../demo && tns run ios",
"demo.android": "npm i && npm run build && cd ../demo && tns run android",
"demo.ios": "npm i && npm run build && cd ../demo && tns run ios --no-hmr",
"demo.android": "npm i && npm run build && cd ../demo && tns run android --no-hmr",
"demo-vue.ios": "npm i && npm run build && cd ../demo-vue && tns run ios --bundle --syncAllFiles",
"demo-vue.android": "npm i && npm run build && cd ../demo-vue && tns run android --bundle --syncAllFiles",
"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!'"
Expand All @@ -44,15 +44,24 @@
},
"homepage": "https://github.com/dapriett/nativescript-google-maps-sdk#readme",
"devDependencies": {
"commitizen": "^4.0.3",
"conventional-github-releaser": "^3.1.3",
"@nativescript/core": "^7.0.12",
"@nativescript/types": "^7.0.4",
"@nativescript/webpack": "^3.0.8",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"commitizen": "^4.2.2",
"conventional-github-releaser": "^3.1.5",
"cz-conventional-changelog": "^2.0.0",
"husky": "^0.14.2",
"semver": "^5.5.0",
"tns-core-modules": "^4.0.0",
"tns-platform-declarations": "^4.0.0",
"typescript": "^2.3.2",
"validate-commit-msg": "^2.12.2"
"ts-patch": "^1.3.0",
"typescript": "~3.9.0",
"validate-commit-msg": "^2.12.2",
"lint-staged": "^10.3.0",
"prettier": "^2.1.1",
"rimraf": "^3.0.2",
"ts-node": "^9.0.0",
"eslint": "^7.5.0"
},
"config": {
"commitizen": {
Expand Down
10 changes: 7 additions & 3 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"target": "ES2017",
"module": "esnext",
"moduleResolution": "node",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
Expand All @@ -10,14 +11,17 @@
"sourceMap": false,
"experimentalDecorators": true,
"noEmitHelpers": true,
"plugins": [{
"transform": "@nativescript/webpack/transformers/ns-transform-native-classes",
"type": "raw"
}],
"lib": [
"es6",
"dom"
],
"baseUrl": ".",
"paths": {
"*": [
"./node_modules/tns-core-modules/*",
"./node_modules/*"
]
}
Expand Down

0 comments on commit 3881733

Please sign in to comment.