|
20 | 20 | "ziv" |
21 | 21 | ], |
22 | 22 | "sideEffects": false, |
23 | | - "main": "lib/index.js", |
| 23 | + "source": "src/index.js", |
| 24 | + "main": "dist/index.cjs", |
| 25 | + "module": "dist/index.module.js", |
| 26 | + "esmodule": "dist/index.modern.js", |
| 27 | + "umd:main": "dist/index.umd.js", |
| 28 | + "unpkg": "dist/index.umd.js", |
| 29 | + "exports": { |
| 30 | + ".": { |
| 31 | + "browser": "./dist/index.module.js", |
| 32 | + "umd": "./dist/index.umd.js", |
| 33 | + "require": "./dist/index.cjs", |
| 34 | + "default": "./dist/index.modern.js" |
| 35 | + } |
| 36 | + }, |
24 | 37 | "files": [ |
25 | | - "lib" |
| 38 | + "dist" |
26 | 39 | ], |
27 | 40 | "scripts": { |
28 | | - "build": "babel --delete-dir-on-start --env-name production src -d lib", |
| 41 | + "build": "NODE_ENV=production microbundle", |
29 | 42 | "build-docs": "esdoc", |
30 | 43 | "build-gh-pages": "npm run build-docs", |
31 | 44 | "commit-msg": "commitlint --edit", |
|
44 | 57 | "travis": "npm run lint && npm run cover" |
45 | 58 | }, |
46 | 59 | "dependencies": { |
47 | | - "@aureooms/js-persistent-stack": "^0.0.0", |
48 | | - "@aureooms/js-trie": "^0.0.1" |
| 60 | + "@functional-data-structure/persistent-stack": "^1.0.0", |
| 61 | + "@trie-data-structure/uncompressed-trie": "^1.0.0" |
49 | 62 | }, |
50 | 63 | "devDependencies": { |
51 | 64 | "@aureooms/js-string": "1.0.0", |
52 | | - "@babel/cli": "7.13.10", |
53 | 65 | "@babel/core": "7.13.10", |
| 66 | + "@babel/plugin-transform-destructuring": "^7.18.13", |
| 67 | + "@babel/plugin-transform-for-of": "7.18.8", |
54 | 68 | "@babel/preset-env": "7.13.10", |
55 | 69 | "@babel/register": "7.13.8", |
56 | 70 | "@commitlint/cli": "17.1.2", |
|
68 | 82 | "esdoc-standard-plugin": "1.0.0", |
69 | 83 | "fixpack": "4.0.0", |
70 | 84 | "husky": "8.0.1", |
| 85 | + "microbundle": "0.15.1", |
71 | 86 | "np": "7.4.0", |
72 | 87 | "pinst": "3.0.0", |
73 | 88 | "power-assert": "1.6.1", |
|
165 | 180 | ] |
166 | 181 | ], |
167 | 182 | "plugins": [ |
| 183 | + "@babel/plugin-transform-destructuring", |
| 184 | + "@babel/plugin-transform-for-of", |
168 | 185 | "babel-plugin-unassert" |
169 | 186 | ] |
170 | 187 | } |
|
0 commit comments