|
19 | 19 | "red-black tree"
|
20 | 20 | ],
|
21 | 21 | "sideEffects": false,
|
22 |
| - "main": "lib/index.js", |
| 22 | + "source": "src/index.js", |
| 23 | + "main": "dist/index.js", |
| 24 | + "module": "dist/index.module.js", |
| 25 | + "umd:main": "dist/index.umd.js", |
| 26 | + "unpkg": "dist/index.umd.js", |
| 27 | + "exports": { |
| 28 | + ".": { |
| 29 | + "browser": "./dist/index.module.js", |
| 30 | + "umd": "./dist/index.umd.js", |
| 31 | + "require": "./dist/index.js", |
| 32 | + "default": "./dist/index.modern.js" |
| 33 | + } |
| 34 | + }, |
23 | 35 | "files": [
|
24 |
| - "lib" |
| 36 | + "dist" |
25 | 37 | ],
|
26 | 38 | "scripts": {
|
27 |
| - "build": "babel --delete-dir-on-start --env-name production src -d lib", |
| 39 | + "build": "NODE_ENV=production microbundle", |
28 | 40 | "build-docs": "esdoc",
|
29 | 41 | "build-gh-pages": "npm run build-docs",
|
30 | 42 | "commit-msg": "commitlint --edit",
|
|
46 | 58 | "@aureooms/js-compare": "2.0.0",
|
47 | 59 | "@aureooms/js-itertools": "5.1.0",
|
48 | 60 | "@aureooms/js-random": "2.0.0",
|
49 |
| - "@babel/cli": "7.13.10", |
50 | 61 | "@babel/core": "7.13.13",
|
51 | 62 | "@babel/preset-env": "7.13.12",
|
52 | 63 | "@babel/register": "7.13.8",
|
|
65 | 76 | "esdoc-standard-plugin": "1.0.0",
|
66 | 77 | "fixpack": "4.0.0",
|
67 | 78 | "husky": "5.2.0",
|
| 79 | + "microbundle": "0.13.0", |
68 | 80 | "np": "7.4.0",
|
69 | 81 | "pinst": "2.1.6",
|
70 | 82 | "power-assert": "1.6.1",
|
|
0 commit comments