We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37bd091 + e421046 commit 17e7f5dCopy full SHA for 17e7f5d
.npmignore
@@ -8,3 +8,4 @@ data.json
8
bench.ts
9
mod.ts
10
tsconfig.json
11
+tsconfig.esm.json
package.json
@@ -36,7 +36,8 @@
36
"homepage": "https://github.com/ka-weihe/fastest-levenshtein#README",
37
"scripts": {
38
"build": "tsc mod.ts --declaration",
39
- "prepare": "npm run build",
+ "build:esm": "tsc --declaration -p tsconfig.esm.json",
40
+ "prepare": "npm run build && npm run build:esm",
41
"bench": "npm run build && tsc bench.ts && node bench.js",
42
"test": "npm run build && tsc test.ts && jest test.js",
43
"test:coverage": "npm run build && jest --coverage",
0 commit comments