Closed brisberg closed 4 years ago
Added some fields to package.json to prepare the package to publish the typescript version.
package.json
main
types
.js
.d.ts
@types
prepare
prepublishOnly
npm publish
Added some fields to
package.json
to prepare the package to publish the typescript version.main
andtypes
to the compiled.js
and.d.ts
typings files.@types
packages of direct dependencies moved to direct dependencies themselves so consumers will be fully typedprepare
andprepublishOnly
scripts to build and test the compiled.js
beforenpm publish