|
23 | 23 | "shuffle"
|
24 | 24 | ],
|
25 | 25 | "sideEffects": false,
|
26 |
| - "main": "lib/index.js", |
| 26 | + "source": "src/index.js", |
| 27 | + "main": "dist/index.js", |
| 28 | + "module": "dist/index.module.js", |
| 29 | + "esmodule": "dist/index.modern.js", |
| 30 | + "umd:main": "dist/index.umd.js", |
| 31 | + "unpkg": "dist/index.umd.js", |
| 32 | + "exports": { |
| 33 | + ".": { |
| 34 | + "browser": "./dist/index.module.js", |
| 35 | + "umd": "./dist/index.umd.js", |
| 36 | + "require": "./dist/index.js", |
| 37 | + "default": "./dist/index.modern.js" |
| 38 | + } |
| 39 | + }, |
27 | 40 | "files": [
|
28 |
| - "lib" |
| 41 | + "dist" |
29 | 42 | ],
|
30 | 43 | "scripts": {
|
31 |
| - "build": "babel --delete-dir-on-start --env-name production src -d lib", |
| 44 | + "build": "NODE_ENV=production microbundle", |
32 | 45 | "build-docs": "esdoc",
|
33 | 46 | "build-gh-pages": "npm run build-docs",
|
34 | 47 | "commit-msg": "commitlint --edit",
|
|
54 | 67 | "@aureooms/js-memory": "4.0.0",
|
55 | 68 | "@aureooms/js-operator": "1.0.2",
|
56 | 69 | "@aureooms/js-type": "1.0.4",
|
57 |
| - "@babel/cli": "7.13.10", |
58 | 70 | "@babel/core": "7.13.10",
|
59 | 71 | "@babel/preset-env": "7.13.10",
|
60 | 72 | "@babel/register": "7.13.8",
|
|
72 | 84 | "esdoc-standard-plugin": "1.0.0",
|
73 | 85 | "fixpack": "4.0.0",
|
74 | 86 | "husky": "6.0.0",
|
| 87 | + "microbundle": "0.13.0", |
75 | 88 | "np": "7.4.0",
|
76 | 89 | "pinst": "2.1.6",
|
77 | 90 | "power-assert": "1.6.1",
|
|
0 commit comments