Commit 42235d2c authored by Dmitriy Shekhovtsov's avatar Dmitriy Shekhovtsov
Browse files

chore(package): switcher to typescript 2, typings replaces with @types

parent 05a7b468
Showing with 29 additions and 23 deletions
+29 -23
......@@ -5,12 +5,11 @@
"scripts": {
"typedoc": "typedoc",
"flow.docs": "npm run typedoc -- --exclude '**/*.spec.ts' ./components/",
"flow.install:typings": "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": "tsc -p tsconfig.publish.json",
"flow.compile:system": "node ./.config/bundle-system.js",
"flow.copy:src": "cpy ng2-bootstrap.ts \"components/*.ts\" ts --parents",
"flow.clean": "del-cli bundles coverage demo-build typings \"components/**/*.+(js|d.ts|js.map)\" dist \"ng2-bootstrap.+(js|d.ts|js.map)\"",
"flow.clean": "del-cli bundles coverage demo-build \"components/**/*.+(js|d.ts|js.map)\" dist \"ng2-bootstrap.+(js|d.ts|js.map)\"",
"flow.deploy:gh-pages": "npm run flow.build:prod && gh-pages -d demo-build",
"flow.eslint": "eslint --ignore-path .gitignore --ext js --fix . .config",
"flow.tslint": "gulp lint",
......@@ -66,11 +65,15 @@
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"@angular/router": "3.0.0",
"@types/jasmine": "2.2.33",
"@types/node": "6.0.38",
"@types/webpack": "1.12.34",
"async": "2.0.1",
"bootstrap": "3.3.7",
"codecov": "1.0.1",
"conventional-changelog-cli": "1.2.0",
"conventional-github-releaser": "1.1.3",
"core-js": "2.4.1",
"cpy-cli": "1.0.1",
"cross-env": "2.0.1",
"del-cli": "0.2.0",
......@@ -95,8 +98,7 @@
"systemjs-builder": "0.15.31",
"tslint-config-valorsoft": "1.1.1",
"typedoc": "0.4.5",
"typescript": "1.8.10",
"typings": "1.3.3",
"zone.js": "0.6.21"
"typescript": "2.0.2",
"zone.js": "0.6.23"
}
}
......@@ -8,14 +8,22 @@
"sourceMap": true,
"noEmitHelpers": true,
"noImplicitAny": true,
"declaration": false
"declaration": false,
"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-bootstrap.ts"
]
],
"atom": { "rewriteTsconfig": false }
}
......@@ -8,13 +8,20 @@
"sourceMap": false,
"noEmitHelpers": false,
"noImplicitAny": true,
"declaration": true
"declaration": true,
"skipLibCheck": true,
"stripInternal": true,
"lib": ["dom", "es6"],
"types": [
"jasmine",
"node",
"webpack"
]
},
"exclude": [
"node_modules"
],
"files": [
"./typings/index.d.ts",
"./demo/custom-typings.d.ts",
"./ng2-bootstrap.ts"
]
......
{
"dependencies": {
"webpack": "registry:npm/webpack#1.12.9+20160418172948"
},
"devDependencies": {},
"globalDependencies": {
"es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654",
"jasmine": "registry:dt/jasmine#2.2.0+20160621224255",
"require": "registry:dt/require#2.1.20+20160316155526"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment