|
8 | 8 | },
|
9 | 9 | "license": "MIT",
|
10 | 10 | "author": "Michael Shilman <[email protected]>",
|
11 |
| - "main": "dist/index.js", |
12 |
| - "module": "dist/index.mjs", |
13 |
| - "types": "dist/index.d.ts", |
| 11 | + "type": "module", |
| 12 | + "exports": { |
| 13 | + ".": { |
| 14 | + "types": "./dist/index.d.ts", |
| 15 | + "import": "./dist/index.js" |
| 16 | + } |
| 17 | + }, |
| 18 | + "typesVersions": { |
| 19 | + "*": { |
| 20 | + "*": [ |
| 21 | + "./dist/index.d.ts" |
| 22 | + ] |
| 23 | + } |
| 24 | + }, |
14 | 25 | "files": [
|
15 | 26 | "dist/**/*",
|
16 | 27 | "README.md",
|
|
22 | 33 | "build-storybook": "build-storybook",
|
23 | 34 | "prepare": "husky install",
|
24 | 35 | "prettier": "prettier",
|
25 |
| - "prebuild": "rm -rf dist", |
26 | 36 | "release": "yarn build && auto shipit",
|
27 | 37 | "start": "concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"",
|
28 | 38 | "storybook": "start-storybook -p 6006",
|
|
32 | 42 | "lint-staged": {
|
33 | 43 | "*.{ts,js,css,md}": "prettier --write"
|
34 | 44 | },
|
| 45 | + "dependencies": { |
| 46 | + "acorn": "^8.12.1" |
| 47 | + }, |
35 | 48 | "devDependencies": {
|
36 |
| - "@babel/core": "^7.23.6", |
37 |
| - "@babel/parser": "^7.23.6", |
38 |
| - "@babel/preset-env": "^7.23.6", |
39 |
| - "@babel/preset-typescript": "^7.23.3", |
40 |
| - "@babel/traverse": "^7.23.6", |
41 |
| - "@babel/types": "^7.23.6", |
42 | 49 | "@mdx-js/mdx": "^3.0.0",
|
43 |
| - "@types/babel__traverse": "^7.20.4", |
44 |
| - "@types/lodash": "^4.14.202", |
45 | 50 | "@types/node": "^18.0.0",
|
46 |
| - "auto": "^11.1.1", |
| 51 | + "auto": "^11.1.2", |
47 | 52 | "concurrently": "^8.2.2",
|
48 |
| - "estree-to-babel": "^9.0.0", |
| 53 | + "estree-jsx": "^0.0.1", |
49 | 54 | "hast-util-select": "^6.0.2",
|
50 | 55 | "hast-util-to-estree": "^3.1.0",
|
51 | 56 | "hast-util-to-string": "^3.0.0",
|
52 | 57 | "husky": ">=6",
|
53 | 58 | "lint-staged": ">=10",
|
54 |
| - "lodash": "^4.17.21", |
| 59 | + "meriyah": "^4.5.0", |
55 | 60 | "prettier": "^3.1.1",
|
56 | 61 | "ts-dedent": "^2.2.0",
|
57 | 62 | "tsup": "^6.2.2",
|
|
0 commit comments