|
26 | 26 | "word-ram-model"
|
27 | 27 | ],
|
28 | 28 | "sideEffects": false,
|
29 |
| - "main": "lib/index.js", |
| 29 | + "source": "src/index.js", |
| 30 | + "main": "dist/index.cjs", |
| 31 | + "module": "dist/index.module.js", |
| 32 | + "esmodule": "dist/index.modern.js", |
| 33 | + "umd:main": "dist/index.umd.js", |
| 34 | + "unpkg": "dist/index.umd.js", |
| 35 | + "exports": { |
| 36 | + ".": { |
| 37 | + "browser": "./dist/index.module.js", |
| 38 | + "umd": "./dist/index.umd.js", |
| 39 | + "require": "./dist/index.cjs", |
| 40 | + "default": "./dist/index.modern.js" |
| 41 | + } |
| 42 | + }, |
30 | 43 | "files": [
|
31 |
| - "lib" |
| 44 | + "dist" |
32 | 45 | ],
|
33 | 46 | "scripts": {
|
34 |
| - "build": "babel --delete-dir-on-start --env-name production src -d lib", |
| 47 | + "build": "NODE_ENV=production microbundle", |
35 | 48 | "build-docs": "esdoc",
|
36 | 49 | "build-gh-pages": "npm run build-docs",
|
37 | 50 | "commit-msg": "commitlint --edit",
|
|
53 | 66 | "@combinatorics/permutation": "^4.0.0"
|
54 | 67 | },
|
55 | 68 | "devDependencies": {
|
56 |
| - "@babel/cli": "7.16.0", |
57 | 69 | "@babel/core": "7.16.5",
|
58 | 70 | "@babel/preset-env": "7.16.5",
|
59 | 71 | "@babel/register": "7.16.5",
|
|
81 | 93 | "esdoc-standard-plugin": "1.0.0",
|
82 | 94 | "fixpack": "4.0.0",
|
83 | 95 | "husky": "7.0.4",
|
| 96 | + "microbundle": "0.14.2", |
84 | 97 | "np": "7.6.0",
|
85 | 98 | "pinst": "2.1.6",
|
86 | 99 | "power-assert": "1.6.1",
|
|
0 commit comments