Skip to content

Commit 3e1c385

Browse files
author
Thomas Flori
committed
switch to @types for version 3.0
1 parent b7cbcb3 commit 3e1c385

File tree

5 files changed

+9
-14
lines changed

5 files changed

+9
-14
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
coverage/*
88
docs/_site
99
/bundles
10-
/typings
1110
/src/**/*.js*
1211
/src/**/*.d.ts
1312
/index.*

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-translator",
3-
"version": "2.4.2",
3+
"version": "3.0.0-rc.2",
44
"description": "A translate-service, translate-pipe and translate-component for angular2",
55
"repository": {
66
"type": "git",
@@ -9,7 +9,6 @@
99
"scripts": {
1010
"test": "karma start",
1111
"tslint": "tslint -c tslint.json --exclude=\"**/*.d.ts\" --exclude=\"node_modules/**/*.ts\" \"**/*.ts\"",
12-
"prepare": "typings install",
1312
"prepublishOnly": "npm test && npm run build",
1413
"coveralls": "cat coverage/lcov.info | coveralls",
1514
"build": "tsc && ngc && webpack"
@@ -51,6 +50,9 @@
5150
"@angular/http": "^7.0.3",
5251
"@angular/platform-browser": "^7.0.3",
5352
"@angular/platform-browser-dynamic": "^7.0.3",
53+
"@types/es6-shim": "*",
54+
"@types/jasmine": "^2.8.11",
55+
"@types/node": "^10.12.3",
5456
"awesome-typescript-loader": "^3.5.0",
5557
"istanbul-instrumenter-loader": "^3.0.1",
5658
"jasmine-core": "2.5.*",
@@ -70,7 +72,6 @@
7072
"ts-helpers": "*",
7173
"tslint": "^4.5.1",
7274
"typescript": "^3.1.6",
73-
"typings": "*",
7475
"webpack": "^2.7.0",
7576
"zone.js": "^0.8.26"
7677
}

tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
"experimentalDecorators": true,
99
"removeComments": false,
1010
"declaration": true,
11-
"noImplicitAny": false
11+
"noImplicitAny": false,
12+
"typeRoots": [
13+
"node_modules/@types",
14+
"typings"
15+
]
1216
},
1317
"exclude": [
1418
"node_modules"

typings.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)