Skip to content

Commit f08ddca

Browse files
committed
added d.ts generator
1 parent 3ad636a commit f08ddca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"test": "jest --coverage",
88
"build": "babel src --out-dir lib --ignore *.test.js",
99
"prepublish": "npm run build",
10+
"build-types": "dtsmake -s './src/Battery.js,./src/Ohms-Law.js,./src/Tank-Circuit.js,./src/util-functions.js,./src/Wavelength.js,./src/objects/BatteryRuntime.js,./src/objects/BatteryStorage.js' --dist ./index -e -A -n 'js-electrical-engineering-equations'",
1011
"build-docs": "esdoc"
1112
},
1213
"jest": {
@@ -31,6 +32,7 @@
3132
"babel-plugin-add-module-exports": "^0.2.1",
3233
"babel-plugin-transform-es2015-block-scoping": "^6.26.0",
3334
"babel-preset-env": "^1.6.1",
35+
"dtsmake": "0.0.10",
3436
"esdoc": "^1.0.4",
3537
"esdoc-standard-plugin": "^1.0.0",
3638
"jest-cli": "^22.1.4"

0 commit comments

Comments
 (0)