Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): re-create typings after install #65

Merged
merged 1 commit into from
Sep 16, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ npm-debug.log
coverage
lib
build
typings
src/*.js
src/*.map
src/*.d.ts
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"description": "An Angular 2 Toaster Notification library based on AngularJS-Toaster",
"main": "angular2-toaster.ts",
"scripts": {
"postinstall": "typings install",
"clean": "rimraf ./lib",
"watch": "tsc -p src -w",
"start": "npm run test && http-server -c-1 -o -p 8875 .",
"build": "node_modules/.bin/ngc -p src && cpx src/toaster.css lib",
Expand Down Expand Up @@ -55,8 +57,10 @@
"karma-jasmine": "1.0.2",
"reflect-metadata": "0.1.8",
"remap-istanbul": "^0.6.4",
"rimraf": "^2.5.2",
"systemjs": "^0.19.38",
"typescript": "2.0.2",
"typings": "^1.3.3",
"zone.js": "0.6.21"
}
}
21 changes: 9 additions & 12 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@
"outDir": "../lib",
"stripInternal": true
},
"files": [
"bodyOutputType.ts",
"toast.ts",
"toaster-config.ts",
"toast.component.ts",
"toaster-container.component.ts",
"toaster-container.component.spec.ts",
"toaster.service.ts",
"toaster.module.ts",
"../node_modules/typescript/lib/lib.es6.d.ts",
"../typings/jasmine/jasmine.d.ts"
]
"include": [
"../src/**/*.ts",
"../typings/index.d.ts"
],
"exclude": [
"../lib",
"../node_modules",
"../src/node_modules"
]
}
15 changes: 0 additions & 15 deletions tsd.json

This file was deleted.

9 changes: 9 additions & 0 deletions typings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"globalDependencies": {
"core-js": "registry:dt/core-js#0.0.0+20160914114559",
"node": "registry:dt/node#6.0.0+20160915134512"
},
"globalDevDependencies": {
"jasmine": "registry:dt/jasmine#2.2.0+20160621224255"
}
}
Loading