Skip to content

Commit

Permalink
add types extraction script
Browse files Browse the repository at this point in the history
  • Loading branch information
mjlux committed Dec 2, 2023
1 parent 11dede9 commit 10fa70f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
"name": "mongoose-bread-url-builder",
"version": "1.0.2",
"description": "",
"types": "index.d.ts",
"type": "module",
"main": "src/BreadUrlBuilder.js",
"scripts": {
"test": "node node_modules/mocha/bin/mocha test/*.js -R spec --ui bdd --timeout 9999999",
"docs": "jsdoc src/BreadUrlBuilder.js -d docs"
"make:types": "npx -p typescript tsc src/BreadUrlBuilder.js --declaration --allowJs --emitDeclarationOnly --outFile index.d.ts",
"make:docs": "jsdoc src/BreadUrlBuilder.js -d docs"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 10fa70f

Please sign in to comment.