Skip to content

Commit 82cd6fa

Browse files
authored
chore: dep updates (NativeScript#22)
1 parent ba8e9cf commit 82cd6fa

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ examples/**/*.js
88
examples/**/*.js.map
99
dist/
1010
src/**/*.js
11+
package-lock.json

package.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"scripts": {
3-
"tslint": "tslint --project src/tsconfig.json --config src/tslint.json --type-check",
4-
"tsc": "tsc -p src/tsconfig.json",
5-
"create": "bash ./create.sh"
3+
"clean": "npx rimraf node_modules package-lock.json && npm i",
4+
"tslint": "tslint --project src/tsconfig.json --config src/tslint.json --type-check",
5+
"tsc": "tsc -p src/tsconfig.json",
6+
"create": "bash ./create.sh"
67
},
78
"devDependencies": {
8-
"rollup": "^0.41.6",
9-
"tns-platform-declarations": "^3.0.0 || ^3.0.0-rc.1",
10-
"tslint": "^5.1.0",
11-
"typescript": "^2.2.2"
9+
"rollup": "^2.18.2",
10+
"tns-platform-declarations": "~6.5.8",
11+
"tslint": "^6.1.0",
12+
"typescript": "^3.9.0"
1213
}
1314
}

src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-intl",
3-
"version": "3.0.0",
3+
"version": "4.0.1",
44
"description": "Provides API for using Native date, time and number formatting with an API similar to Intl.js",
55
"nativescript": {
66
"platforms": {

src/tsconfig.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
{
22
"compilerOptions": {
3-
"module": "commonjs",
4-
"target": "es5",
3+
"target": "es2017",
4+
"module": "es2015",
5+
"moduleResolution": "node",
56
"noImplicitAny": false,
67
"removeComments": true,
78
"noEmitHelpers": true,
89
"preserveConstEnums": true,
910
"sourceMap": false,
1011
"declaration": false,
1112
"lib": [
12-
"es2016"
13+
"es2017"
1314
]
1415
},
15-
"filesGlob": [
16+
"include": [
1617
"./**/*.ts",
1718
"./**/*.d.ts",
1819
"!./node_modules/**/*.ts"

src/tslint.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,10 @@
4343
"no-empty": false,
4444
"no-eval": true,
4545
"no-null-keyword": false,
46-
"no-shadowed-variable": true,
46+
"no-shadowed-variable": false,
4747
"no-string-literal": false,
4848
"no-switch-case-fall-through": true,
4949
"no-unused-expression": true,
50-
"no-use-before-declare": true,
5150
"no-var-keyword": true,
5251
"radix": false,
5352
"switch-default": true,

0 commit comments

Comments
 (0)