Skip to content

Commit 5ffdab6

Browse files
committed
fix(extends-error): Use tslib
related to NathanWalker#15
1 parent 15bc9ee commit 5ffdab6

File tree

2 files changed

+89
-81
lines changed

2 files changed

+89
-81
lines changed

package.json

+79-77
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,83 @@
11
{
2-
"name": "nativescript-ngx-fonticon",
3-
"version": "2.1.2",
4-
"description": "Use custom font icon collections seamlessly with NativeScript for Angular.",
5-
"main": "nativescript-ngx-fonticon",
6-
"module": "nativescript-ngx-fonticon.js",
7-
"typings": "nativescript-ngx-fonticon.d.ts",
8-
"nativescript": {
9-
"platforms": {
10-
"android": "2.4.1",
11-
"ios": "2.4.0"
12-
}
13-
},
14-
"repository": {
15-
"type": "git",
16-
"url": "git+https://github.com/NathanWalker/nativescript-ngx-fonticon.git"
17-
},
18-
"keywords": [
19-
"angular",
20-
"angular2",
21-
"ng",
22-
"ngx",
23-
"ng2",
24-
"nativescript",
25-
"icon",
26-
"font"
27-
],
28-
"author": "Nathan Walker <[email protected]>",
29-
"contributors": [{
30-
"name": "Nathanael Anderson",
31-
"email": "nathan@master-technology",
32-
"url": "https://github.com/nathanaela"
33-
},
34-
{
35-
"name": "Martin Reinhardt",
36-
"email": "[email protected]",
37-
"url": "https://github.com/hypery2k"
38-
}
39-
],
40-
"license": "MIT",
41-
"bugs": {
42-
"url": "https://github.com/NathanWalker/nativescript-ngx-fonticon/issues"
43-
},
44-
"homepage": "https://github.com/NathanWalker/nativescript-ngx-fonticon#readme",
45-
"scripts": {
46-
"prebuild": "npm i && cd src && npm i",
47-
"build": "ngc",
48-
"tsc": "tsc",
49-
"clean": "rm -rf src/platforms",
50-
"pree2e": "npm run build",
51-
"e2e": "cd sampleApp && npm run clean && tns plugin remove nativescript-ngx-fonticon && tns plugin add .. && npm run build",
52-
"demo.ios": "npm run preparedemo; cd src; tns run ios --emulator",
53-
"demo.android": "npm run preparedemo; cd src; tns run android --emulator",
54-
"preparedemo": "npm run build; cd src; tns plugin remove nativescript-ngx-fonticon; tns plugin add ..; tns install"
55-
},
56-
"peerDependencies": {
57-
"@angular/core": ">=2.0.0 || >=4.0.0-beta.0",
58-
"nativescript-angular": ">=1.3.0",
59-
"tns-core-modules": ">=2.4.4"
2+
"name": "nativescript-ngx-fonticon",
3+
"version": "2.1.2",
4+
"description": "Use custom font icon collections seamlessly with NativeScript for Angular.",
5+
"main": "nativescript-ngx-fonticon",
6+
"module": "nativescript-ngx-fonticon.js",
7+
"typings": "nativescript-ngx-fonticon.d.ts",
8+
"nativescript": {
9+
"platforms": {
10+
"android": "2.4.1",
11+
"ios": "2.4.0"
12+
}
13+
},
14+
"repository": {
15+
"type": "git",
16+
"url": "git+https://github.com/NathanWalker/nativescript-ngx-fonticon.git"
17+
},
18+
"keywords": [
19+
"angular",
20+
"angular2",
21+
"ng",
22+
"ngx",
23+
"ng2",
24+
"nativescript",
25+
"icon",
26+
"font"
27+
],
28+
"author": "Nathan Walker <[email protected]>",
29+
"contributors": [
30+
{
31+
"name": "Nathanael Anderson",
32+
"email": "nathan@master-technology",
33+
"url": "https://github.com/nathanaela"
6034
},
61-
"devDependencies": {
62-
"@angular/common": "2.4.9",
63-
"@angular/compiler": "2.4.9",
64-
"@angular/compiler-cli": "2.4.9",
65-
"@angular/core": "2.4.9",
66-
"@angular/forms": "2.4.9",
67-
"@angular/http": "2.4.9",
68-
"@angular/platform-browser": "2.4.9",
69-
"@angular/platform-browser-dynamic": "2.4.9",
70-
"@angular/router": "3.4.9",
71-
"nativescript-angular": "1.4.1",
72-
"reflect-metadata": "0.1.9",
73-
"rimraf": "^2.5.1",
74-
"rxjs": "5.1.1",
75-
"tns-core-modules": "2.5.1",
76-
"traceur": "^0.0.91",
77-
"typedoc": "^0.3.12",
78-
"typescript": "~2.1.0",
79-
"zone.js": "~0.7.2"
35+
{
36+
"name": "Martin Reinhardt",
37+
"email": "[email protected]",
38+
"url": "https://github.com/hypery2k"
8039
}
40+
],
41+
"license": "MIT",
42+
"bugs": {
43+
"url": "https://github.com/NathanWalker/nativescript-ngx-fonticon/issues"
44+
},
45+
"homepage": "https://github.com/NathanWalker/nativescript-ngx-fonticon#readme",
46+
"scripts": {
47+
"prebuild": "npm i && cd src && npm i",
48+
"build": "ngc",
49+
"tsc": "tsc",
50+
"clean": "rm -rf src/platforms",
51+
"pree2e": "npm run build",
52+
"e2e": "cd sampleApp && npm run clean && tns plugin remove nativescript-ngx-fonticon && tns plugin add .. && npm run build",
53+
"demo.ios": "npm run preparedemo; cd src; tns run ios --emulator",
54+
"demo.android": "npm run preparedemo; cd src; tns run android --emulator",
55+
"preparedemo": "npm run build; cd src; tns plugin remove nativescript-ngx-fonticon; tns plugin add ..; tns install"
56+
},
57+
"peerDependencies": {
58+
"@angular/core": ">=2.0.0 || >=4.0.0-beta.0",
59+
"nativescript-angular": ">=1.3.0",
60+
"tns-core-modules": ">=2.4.4"
61+
},
62+
"devDependencies": {
63+
"@angular/common": "2.4.9",
64+
"@angular/compiler": "2.4.9",
65+
"@angular/compiler-cli": "2.4.9",
66+
"@angular/core": "2.4.9",
67+
"@angular/forms": "2.4.9",
68+
"@angular/http": "2.4.9",
69+
"@angular/platform-browser": "2.4.9",
70+
"@angular/platform-browser-dynamic": "2.4.9",
71+
"@angular/router": "3.4.9",
72+
"nativescript-angular": "1.4.1",
73+
"reflect-metadata": "0.1.9",
74+
"rimraf": "^2.5.1",
75+
"rxjs": "5.1.1",
76+
"tns-core-modules": "2.5.1",
77+
"traceur": "^0.0.91",
78+
"tslib": "1.6.0",
79+
"typedoc": "^0.3.12",
80+
"typescript": "~2.1.0",
81+
"zone.js": "~0.7.2"
82+
}
8183
}

tsconfig.json

+10-4
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@
33
"noImplicitAny": false,
44
"module": "es2015",
55
"target": "es5",
6+
"moduleResolution": "node",
67
"emitDecoratorMetadata": true,
78
"experimentalDecorators": true,
89
"declaration": true,
9-
"moduleResolution": "node",
10-
"types": [
11-
],
12-
"lib": ["es2015", "dom"]
10+
"noEmitHelpers": true,
11+
"noEmitOnError": true,
12+
"importHelpers": true,
13+
"types": [],
14+
"lib": [
15+
"dom",
16+
"es2015",
17+
"es2015.iterable"
18+
]
1319
},
1420
"files": [
1521
"./references.d.ts",

0 commit comments

Comments
 (0)