Skip to content

Commit

Permalink
feat(package): updated to typescript 2
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin committed Sep 21, 2016
1 parent c1b3b5d commit 4fef496
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 25 deletions.
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
"version": "1.0.3",
"description": "angular2 file upload directives",
"scripts": {
"flow.install:typings": "./node_modules/.bin/typings install",
"flow.compile": "npm run flow.install:typings && npm run flow.compile:common && npm run flow.compile:system",
"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: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 typings \"components/**/*.+(js|d.ts|js.map)\" dist \"ng2-file-upload.+(js|d.ts|js.map)\"",
"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)\"",
"flow.deploy:gh-pages": "npm run flow.build:prod && ./node_modules/.bin/gh-pages -d demo-build",
"flow.eslint": "./node_modules/.bin/eslint --ignore-path .gitignore --ext js --fix . .config",
"flow.tslint": "./node_modules/.bin/gulp lint",
Expand Down Expand Up @@ -63,6 +62,9 @@
"@angular/forms": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"@types/jasmine": "2.2.34",
"@types/node": "6.0.39",
"@types/webpack": "1.12.34",
"async": "2.0.1",
"bootstrap": "3.3.7",
"codecov": "1.0.1",
Expand All @@ -81,8 +83,8 @@
"gulp-tslint": "6.1.1",
"lite-server": "2.2.2",
"marked": "0.3.6",
"ng2-bootstrap": "1.1.3",
"ng2-webpack-config": "0.0.4",
"ng2-bootstrap": "1.1.5",
"ng2-webpack-config": "0.0.5",
"pre-commit": "1.1.3",
"prismjs": "1.5.1",
"prismjs-loader": "0.0.3",
Expand All @@ -91,9 +93,8 @@
"rxjs": "5.0.0-beta.12",
"systemjs-builder": "0.15.31",
"tslint-config-valorsoft": "1.1.1",
"typescript": "1.8.10",
"typings": "1.3.3",
"zone.js": "0.6.23"
"typescript": "2.0.2",
"zone.js": "0.6.25"
},
"contributors": [
{
Expand Down
20 changes: 16 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,26 @@
"listFiles": false,
"noLib": false,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true
"suppressImplicitAnyIndexErrors": true,
"skipLibCheck": true,
"stripInternal": true,
"lib": [
"dom",
"es6"
],
"types": [
"jasmine",
"node",
"webpack"
]
},
"exclude": [
"node_modules"
"node_modules",
"bundles",
"dist"
],
"files": [
"./ng2-file-upload.ts",
"./demo/custom-typings.d.ts",
"./typings/index.d.ts"
"./demo/custom-typings.d.ts"
]
}
18 changes: 15 additions & 3 deletions tsconfig.publish.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,25 @@
"sourceMap": false,
"noEmitHelpers": false,
"noImplicitAny": true,
"declaration": true
"declaration": true,
"skipLibCheck": true,
"stripInternal": true,
"lib": [
"dom",
"es6"
],
"types": [
"jasmine",
"node",
"webpack"
]
},
"exclude": [
"node_modules"
"node_modules",
"bundles",
"dist"
],
"files": [
"./typings/index.d.ts",
"./demo/custom-typings.d.ts",
"./ng2-file-upload.ts"
]
Expand Down
10 changes: 0 additions & 10 deletions typings.json

This file was deleted.

0 comments on commit 4fef496

Please sign in to comment.