|
25 | 25 | "satisfiability"
|
26 | 26 | ],
|
27 | 27 | "sideEffects": false,
|
28 |
| - "main": "lib/index.js", |
| 28 | + "source": "src/index.js", |
| 29 | + "main": "dist/index.js", |
| 30 | + "module": "dist/index.module.js", |
| 31 | + "esmodule": "dist/index.modern.js", |
| 32 | + "umd:main": "dist/index.umd.js", |
| 33 | + "unpkg": "dist/index.umd.js", |
| 34 | + "exports": { |
| 35 | + ".": { |
| 36 | + "browser": "./dist/index.module.js", |
| 37 | + "umd": "./dist/index.umd.js", |
| 38 | + "require": "./dist/index.js", |
| 39 | + "default": "./dist/index.modern.js" |
| 40 | + } |
| 41 | + }, |
29 | 42 | "files": [
|
30 |
| - "lib" |
| 43 | + "dist" |
31 | 44 | ],
|
32 | 45 | "scripts": {
|
33 |
| - "build": "rm -rf lib && babel src -d lib", |
| 46 | + "build": "NODE_ENV=production microbundle", |
34 | 47 | "build-docs": "esdoc",
|
35 | 48 | "build-gh-pages": "npm run build-docs",
|
36 | 49 | "commit-msg": "commitlint --edit",
|
|
52 | 65 | "@aureooms/js-array": "4.0.0",
|
53 | 66 | "@aureooms/js-compare": "2.0.1",
|
54 | 67 | "@aureooms/js-functools": "2.0.3",
|
55 |
| - "@babel/cli": "7.13.14", |
56 | 68 | "@babel/core": "7.13.15",
|
57 | 69 | "@babel/preset-env": "7.13.15",
|
58 | 70 | "@babel/register": "7.13.14",
|
|
70 | 82 | "esdoc-standard-plugin": "1.0.0",
|
71 | 83 | "fixpack": "4.0.0",
|
72 | 84 | "husky": "6.0.0",
|
| 85 | + "microbundle": "0.13.0", |
73 | 86 | "np": "7.4.0",
|
74 | 87 | "pinst": "2.1.6",
|
75 | 88 | "power-assert": "1.6.1",
|
|
0 commit comments