Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ examples/**/*.js
examples/**/*.js.map
dist/
src/**/*.js
package-lock.json
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"scripts": {
"tslint": "tslint --project src/tsconfig.json --config src/tslint.json --type-check",
"tsc": "tsc -p src/tsconfig.json",
"create": "bash ./create.sh"
"clean": "npx rimraf node_modules package-lock.json && npm i",
"tslint": "tslint --project src/tsconfig.json --config src/tslint.json --type-check",
"tsc": "tsc -p src/tsconfig.json",
"create": "bash ./create.sh"
},
"devDependencies": {
"rollup": "^0.41.6",
"tns-platform-declarations": "^3.0.0 || ^3.0.0-rc.1",
"tslint": "^5.1.0",
"typescript": "^2.2.2"
"rollup": "^2.18.2",
"tns-platform-declarations": "~6.5.8",
"tslint": "^6.1.0",
"typescript": "^3.9.0"
}
}
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-intl",
"version": "3.0.0",
"version": "4.0.1",
"description": "Provides API for using Native date, time and number formatting with an API similar to Intl.js",
"nativescript": {
"platforms": {
Expand Down
9 changes: 5 additions & 4 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"target": "es2017",
"module": "es2015",
"moduleResolution": "node",
"noImplicitAny": false,
"removeComments": true,
"noEmitHelpers": true,
"preserveConstEnums": true,
"sourceMap": false,
"declaration": false,
"lib": [
"es2016"
"es2017"
]
},
"filesGlob": [
"include": [
"./**/*.ts",
"./**/*.d.ts",
"!./node_modules/**/*.ts"
Expand Down
3 changes: 1 addition & 2 deletions src/tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@
"no-empty": false,
"no-eval": true,
"no-null-keyword": false,
"no-shadowed-variable": true,
"no-shadowed-variable": false,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"radix": false,
"switch-default": true,
Expand Down