Skip to content

Commit 9fa912d

Browse files
authored
Support @types (#25)
1 parent 6eba326 commit 9fa912d

File tree

4 files changed

+11
-22
lines changed

4 files changed

+11
-22
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
node_modules/
22
coverage/
33
dist/
4-
typings/

package.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "6.0.0",
44
"description": "Resole and parse `tsconfig.json`, replicating to TypeScript's behaviour",
55
"main": "dist/tsconfig.js",
6+
"typings": "dist/tsconfig.d.ts",
67
"files": [
78
"dist/",
8-
"LICENSE",
9-
"typings.json"
9+
"LICENSE"
1010
],
1111
"scripts": {
1212
"lint": "tslint \"src/**/*.ts\"",
@@ -15,7 +15,7 @@
1515
"test-spec": "mocha dist/**/*.spec.js -R spec --bail",
1616
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- dist/**/*.spec.js -R spec --bail",
1717
"test": "npm run build && npm run lint && npm run test-cov",
18-
"prepublish": "typings install && npm run build"
18+
"prepublish": "npm run build"
1919
},
2020
"repository": {
2121
"type": "git",
@@ -43,17 +43,21 @@
4343
},
4444
"homepage": "https://github.com/TypeStrong/tsconfig",
4545
"dependencies": {
46+
"@types/strip-bom": "^3.0.0",
47+
"@types/strip-json-comments": "0.0.30",
4648
"strip-bom": "^3.0.0",
4749
"strip-json-comments": "^2.0.0"
4850
},
4951
"devDependencies": {
52+
"@types/chai": "^4.0.4",
53+
"@types/mocha": "^2.2.42",
54+
"@types/node": "^8.0.25",
5055
"bluebird": "^3.4.1",
5156
"chai": "^3.0.0",
5257
"istanbul": "^0.4.0",
5358
"mocha": "^3.2.0",
5459
"tslint": "^4.5.1",
5560
"tslint-config-standard": "^4.0.0",
56-
"typescript": "^2.2.1",
57-
"typings": "^2.1.0"
61+
"typescript": "^2.2.1"
5862
}
5963
}

tsconfig.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33
"target": "es5",
44
"lib": ["es2015"],
55
"outDir": "dist",
6+
"rootDir": "src",
67
"module": "commonjs",
78
"declaration": true,
89
"noImplicitAny": true,
910
"removeComments": true,
1011
"sourceMap": true
11-
},
12-
"include": [
13-
"src/**/*",
14-
"typings/**/*"
15-
]
12+
}
1613
}

typings.json

-11
This file was deleted.

0 commit comments

Comments
 (0)