Skip to content

Commit c901500

Browse files
committed
Move TS definition files to a dedicated folder
Commit moves all type script definition files from `lib` folder to a dedicated folder `types` located in the project root. This is cleaner because `lib` contains generated sources.
1 parent d58f3d5 commit c901500

18 files changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"versionRelease": "gulp set --version $VERSION && npm version $VERSION --no-git-tag-version"
2121
},
2222
"main": "lib/index.js",
23+
"types": "types/index.d.ts",
2324
"devDependencies": {
2425
"async": "^2.4.0",
2526
"babel-core": "^6.17.0",
@@ -64,9 +65,7 @@
6465
"vinyl-buffer": "^1.0.0",
6566
"vinyl-source-stream": "^1.1.0"
6667
},
67-
"typings": "./lib/index.d.ts",
6868
"dependencies": {
69-
"@types/node": "^6.0.54",
7069
"babel-runtime": "^6.18.0"
7170
}
7271
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)