Skip to content

Commit

Permalink
Import igniteui typings and improve the package
Browse files Browse the repository at this point in the history
  • Loading branch information
dkamburov committed Nov 1, 2016
1 parent 6ed53d7 commit f60d427
Show file tree
Hide file tree
Showing 6 changed files with 153,421 additions and 81,871 deletions.
6 changes: 4 additions & 2 deletions dist/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
],
"peerDependencies": {
"@angular/common": "2.0.0",
"@angular/core": "2.0.0",
"reflect-metadata": "^0.1.3"
"@angular/core": "2.0.0"
},
"dependencies": {
"@types/reflect-metadata": "^0.0.5"
}
}
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"@angular/platform-browser-dynamic": "~2.0.2",
"@angular/router": "~3.0.2",
"@angular/upgrade": "~2.0.2",
"angular-in-memory-web-api": "~0.1.5",
"angular-in-memory-web-api": "0.1.9",

"core-js": "^2.4.1",
"systemjs": "0.19.27",
"es6-shim": "^0.35.0",
"reflect-metadata": "^0.1.3",
Expand All @@ -38,21 +39,22 @@
"karma-remap-istanbul": "",
"lite-server": "^2.2.0",
"typescript": "^2.0.2",
"typings": "^0.8.1",
"coveralls": "^2.11.9",
"traceur": "^0.0.111"
"traceur": "^0.0.111",
"@types/node": "^6.0.45",
"@types/jasmine": "^2.5.35",
"@types/reflect-metadata": "^0.0.5"
},
"scripts": {
"postinstall": "npm run typings && npm prune",
"typings": "node node_modules/typings/dist/bin.js install",
"postinstall": "npm prune",

"start": "npm run lite",
"lite": "lite-server",

"watch": "node node_modules/typescript/bin/tsc -w",
"build": "node node_modules/typescript/bin/tsc",
"bundle": "node node_modules/typescript/bin/tsc -d && npm run prepare-dist",
"prepare-dist": "cp src/igniteui.angular2.js dist/npm/ && cp src/igniteui.angular2.d.ts dist/npm/ && cp src/igniteui.angular2.ts dist/npm/ && cp src/igniteui.d.ts dist/npm/ && cp src/jquery.d.ts dist/npm/",
"prepare-dist": "cp src/igniteui.angular2.js dist/npm/index.js && cp src/igniteui.angular2.d.ts dist/npm/index.d.ts && cp src/igniteui.angular2.ts dist/npm/igniteui.angular2.ts && cp src/igniteui.ts dist/npm/ && cp src/jquery.d.ts dist/npm/",

"pretest": "npm run build",
"test": "karma start tests/karma.conf.js && npm run remap-istanbul",
Expand Down
1 change: 1 addition & 0 deletions src/igniteui.angular2.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {Component, Directive, Inject, ElementRef, EventEmitter, Output, Input, QueryList, Renderer, OnChanges, NgZone,
SimpleChange, ChangeDetectionStrategy, IterableDiffers, DoCheck, Optional, ContentChildren, AfterContentInit} from '@angular/core';
import {NgModel, ControlValueAccessor} from '@angular/forms';
import './igniteui';

declare var jQuery: any;

Expand Down
Loading

0 comments on commit f60d427

Please sign in to comment.