Skip to content

Commit da1be1b

Browse files
author
vakrilov
committed
setup nativescript-angular folder to be packable
1 parent 19cbe4b commit da1be1b

40 files changed

+81
-24
lines changed

Diff for: .gitignore

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
nativescript-angular*.tgz
21
bin/dist
32
node_modules
43
tags
5-
src/nativescript-angular/**/*.js
6-
!src/nativescript-angular/postinstall.js
7-
!src/nativescript-angular/hooks/**/*.js
8-
.baseDir.ts
4+
**/*.js.map
5+
6+
nativescript-angular/**/*.d.ts
7+
!nativescript-angular/global.d.ts
8+
nativescript-angular/**/*.js
9+
!nativescript-angular/postinstall.js
10+
!nativescript-angular/hooks/**/*.js
11+
912
.tscache
1013
.nvm
1114
.vscode

Diff for: nativescript-angular/.npmignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
*.tgz
2+
3+
*.ts
4+
!*.d.ts
5+
6+
tsconfig.json
7+
global.d.ts
8+
.npmignore
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: nativescript-angular/package.json

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"name": "nativescript-angular",
3+
"version": "0.1.6",
4+
"description": "An Angular 2 renderer that lets you build mobile apps with NativeScript.",
5+
"homepage": "http://www.telerik.com",
6+
"bugs": "http://www.telerik.com",
7+
"contributors": [
8+
"Hristo Deshev <[email protected]>"
9+
],
10+
"license": "Apache-2.0",
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/NativeScript/nativescript-angular.git"
14+
},
15+
"scripts": {
16+
"postinstall": "node postinstall.js",
17+
"prepublish": "tsc"
18+
},
19+
"dependencies": {
20+
"nativescript-intl": "^0.0.2",
21+
"@angular/common": "2.0.0-rc.1",
22+
"@angular/compiler": "2.0.0-rc.1",
23+
"@angular/core": "2.0.0-rc.1",
24+
"@angular/router-deprecated": "2.0.0-rc.1",
25+
"@angular/platform-browser": "2.0.0-rc.1",
26+
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
27+
"@angular/platform-server": "2.0.0-rc.1",
28+
"reflect-metadata": "^0.1.3",
29+
"rxjs": "5.0.0-beta.6",
30+
"zone.js": "^0.6.12",
31+
"parse5": "1.4.2",
32+
"punycode": "1.3.2",
33+
"querystring": "0.2.0",
34+
"url": "0.10.3"
35+
},
36+
"devDependencies": {
37+
"grunt": "0.4.5",
38+
"grunt-contrib-copy": "0.8.0",
39+
"grunt-contrib-clean": "0.6.0",
40+
"grunt-shell": "1.1.2",
41+
"grunt-file": "1.0.2",
42+
"grunt-env": "0.4.4",
43+
"grunt-ts": "5.0.0-beta.5",
44+
"shelljs": "^0.5.3",
45+
"typescript": "^1.8.10"
46+
},
47+
"peerDependencies": {
48+
"tns-core-modules": ">=2.0.0 || >=2.1.0-2016 || >=2.0.0-angular-7"
49+
},
50+
"nativescript": {}
51+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: nativescript-angular/tsconfig.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "commonjs",
5+
"sourceMap": true,
6+
"emitDecoratorMetadata": true,
7+
"experimentalDecorators": true,
8+
"declaration": true,
9+
"removeComments": false,
10+
"noEmitOnError": true,
11+
"noImplicitAny": false
12+
}
13+
}
File renamed without changes.
File renamed without changes.

Diff for: package.json

+1-19
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,7 @@
1414
},
1515
"scripts": {},
1616
"dependencies": {
17-
"tns-core-modules": "2.0.0-angular-7",
18-
"nativescript-intl": "^0.0.2",
19-
"@angular/common": "2.0.0-rc.1",
20-
"@angular/compiler": "2.0.0-rc.1",
21-
"@angular/core": "2.0.0-rc.1",
22-
"@angular/router-deprecated": "2.0.0-rc.1",
23-
"@angular/platform-browser": "2.0.0-rc.1",
24-
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
25-
"@angular/platform-server": "2.0.0-rc.1",
26-
"reflect-metadata": "^0.1.3",
27-
"rxjs": "5.0.0-beta.6",
28-
"zone.js": "^0.6.12",
29-
"parse5": "1.4.2",
30-
"punycode": "1.3.2",
31-
"querystring": "0.2.0",
32-
"url": "0.10.3"
17+
"tns-core-modules": "2.0.0-angular-7"
3318
},
3419
"devDependencies": {
3520
"grunt": "0.4.5",
@@ -42,8 +27,5 @@
4227
"shelljs": "^0.5.3",
4328
"typescript": "^1.8.10"
4429
},
45-
"peerDependencies": {
46-
"tns-core-modules": ">=2.0.0 || >=2.1.0-2016 || >=2.0.0-angular-7"
47-
},
4830
"nativescript": {}
4931
}

0 commit comments

Comments
 (0)