We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d48d63 commit c43deefCopy full SHA for c43deef
package.json
@@ -15,9 +15,10 @@
15
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest",
16
"test:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --watchAll",
17
"prepare": "is-ci || husky install",
18
- "build": "npm run clean && npm run build:esm && npm run build:cjs",
+ "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:declaration",
19
"build:esm": "tsc --module ES2020 --outDir dist/esm",
20
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
21
+ "build:declaration": "tsc --module system --declaration --emitDeclarationOnly --outFile dist/types/index.d.ts",
22
"lint": "eslint \"src/*.ts\"",
23
"clean": "rimraf dist"
24
},
0 commit comments