Merge pull request #73 from ThomWright/fix-typings-export-2

Include index.d.ts in the published npm package
This commit is contained in:
Michael Lumish 2017-10-31 16:52:26 -07:00 committed by GitHub
commit dc5fcc349a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -16,7 +16,7 @@
}
],
"directories": {
"lib": "src/node/src"
"lib": "src"
},
"scripts": {
"build": "./node_modules/.bin/node-pre-gyp build",
@ -53,6 +53,7 @@
"README.md",
"deps/grpc/etc/",
"index.js",
"index.d.ts",
"src/*.js",
"ext/*.{cc,h}",
"deps/grpc/include/grpc/**/*.h",
@ -66,7 +67,7 @@
"binding.gyp"
],
"main": "index.js",
"typings": "src/index.d.ts",
"typings": "index.d.ts",
"license": "Apache-2.0",
"jshintConfig": {
"bitwise": true,

View File

@ -18,7 +18,7 @@
}
],
"directories": {
"lib": "src/node/src"
"lib": "src"
},
"scripts": {
"build": "./node_modules/.bin/node-pre-gyp build",
@ -55,6 +55,7 @@
"README.md",
"deps/grpc/etc/",
"index.js",
"index.d.ts",
"src/*.js",
"ext/*.{cc,h}",
"deps/grpc/include/grpc/**/*.h",
@ -68,7 +69,7 @@
"binding.gyp"
],
"main": "index.js",
"typings": "src/index.d.ts",
"typings": "index.d.ts",
"license": "Apache-2.0",
"jshintConfig": {
"bitwise": true,