Skip to content

Commit

Permalink
feat(build): added support for AoT and ng-cli
Browse files Browse the repository at this point in the history
fixes #436
  • Loading branch information
valorkin committed Oct 19, 2016
1 parent b55c852 commit f0b2879
Show file tree
Hide file tree
Showing 4 changed files with 7,258 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ ng2-file-upload.js.map
/logs

!/demo/components/file-upload/file-catcher.js

# AoT generated files
factories
/**/*.metadata.json
/**/*.ngfactory.ts
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ webpack.config.js
/components/**/*.ts
!/components/**/*.d.ts

# AoT generated files
factories
/**/*.ngfactory.ts
40 changes: 21 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "angular2 file upload directives",
"scripts": {
"flow.compile": "npm run flow.compile:common && npm run flow.compile:system",
"flow.compile:common": "./node_modules/.bin/tsc -p tsconfig.publish.json",
"flow.compile:common": "./node_modules/.bin/ngc -p tsconfig.publish.json",
"flow.compile:system": "./.config/bundle-system.js",
"flow.copy:src": "./node_modules/.bin/cpy ng2-file-upload.ts \"components/*.ts\" ts --parents",
"flow.clean": "./node_modules/.bin/del bundles coverage demo-build \"components/**/*.+(js|d.ts|js.map)\" dist \"ng2-file-upload.+(js|d.ts|js.map)\"",
Expand Down Expand Up @@ -56,45 +56,47 @@
"@angular/forms": "^2.0.0"
},
"devDependencies": {
"@angular/common": "~2.0.1",
"@angular/compiler": "~2.0.1",
"@angular/core": "~2.0.1",
"@angular/forms": "~2.0.1",
"@angular/platform-browser": "~2.0.1",
"@angular/platform-browser-dynamic": "~2.0.1",
"@types/jasmine": "2.2.34",
"@types/node": "6.0.39",
"@types/webpack": "1.12.34",
"async": "2.0.1",
"@angular/common": "2.1.0",
"@angular/compiler": "^2.1.0",
"@angular/compiler-cli": "2.1.0",
"@angular/core": "2.1.0",
"@angular/forms": "2.1.0",
"@angular/platform-browser": "2.1.0",
"@angular/platform-browser-dynamic": "2.1.0",
"@angular/platform-server": "2.1.0",
"@types/jasmine": "2.5.35",
"@types/node": "6.0.45",
"@types/webpack": "1.12.35",
"async": "2.1.2",
"bootstrap": "3.3.7",
"codecov": "1.0.1",
"conventional-changelog-cli": "1.2.0",
"conventional-github-releaser": "1.1.3",
"cpy-cli": "1.0.1",
"del-cli": "0.2.0",
"es6-promise": "3.3.1",
"es6-promise": "4.0.5",
"es6-shim": "0.35.1",
"es7-reflect-metadata": "1.6.0",
"eslint-config-valorsoft": "0.1.0",
"gh-pages": "0.11.0",
"gitignore-to-glob": "0.2.1",
"gulp": "3.9.1",
"gulp-size": "2.1.0",
"gulp-tslint": "6.1.1",
"gulp-tslint": "6.1.2",
"lite-server": "2.2.2",
"marked": "0.3.6",
"ng2-bootstrap": "1.1.5",
"ng2-bootstrap": "1.1.14",
"ng2-webpack-config": "0.0.5",
"pre-commit": "1.1.3",
"prismjs": "1.5.1",
"prismjs-loader": "0.0.3",
"prismjs-loader": "0.0.4",
"reflect-metadata": "0.1.8",
"require-dir": "0.3.0",
"require-dir": "0.3.1",
"rxjs": "5.0.0-beta.12",
"systemjs-builder": "0.15.31",
"systemjs-builder": "0.15.32",
"tslint-config-valorsoft": "1.1.1",
"typescript": "2.0.2",
"zone.js": "0.6.25"
"typescript": "2.0.3",
"zone.js": "0.6.26"
},
"contributors": [
{
Expand Down
Loading

0 comments on commit f0b2879

Please sign in to comment.