Skip to content

Commit e5df4f9

Browse files
committed
Merge branch 'next' into shilman/extract-mdx-headings
2 parents 72d7283 + 6d02a6f commit e5df4f9

File tree

5 files changed

+393
-2017
lines changed

5 files changed

+393
-2017
lines changed

package.json

+20-15
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,20 @@
88
},
99
"license": "MIT",
1010
"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+
},
1425
"files": [
1526
"dist/**/*",
1627
"README.md",
@@ -22,7 +33,6 @@
2233
"build-storybook": "build-storybook",
2334
"prepare": "husky install",
2435
"prettier": "prettier",
25-
"prebuild": "rm -rf dist",
2636
"release": "yarn build && auto shipit",
2737
"start": "concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"",
2838
"storybook": "start-storybook -p 6006",
@@ -32,26 +42,21 @@
3242
"lint-staged": {
3343
"*.{ts,js,css,md}": "prettier --write"
3444
},
45+
"dependencies": {
46+
"acorn": "^8.12.1"
47+
},
3548
"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",
4249
"@mdx-js/mdx": "^3.0.0",
43-
"@types/babel__traverse": "^7.20.4",
44-
"@types/lodash": "^4.14.202",
4550
"@types/node": "^18.0.0",
46-
"auto": "^11.1.1",
51+
"auto": "^11.1.2",
4752
"concurrently": "^8.2.2",
48-
"estree-to-babel": "^9.0.0",
53+
"estree-jsx": "^0.0.1",
4954
"hast-util-select": "^6.0.2",
5055
"hast-util-to-estree": "^3.1.0",
5156
"hast-util-to-string": "^3.0.0",
5257
"husky": ">=6",
5358
"lint-staged": ">=10",
54-
"lodash": "^4.17.21",
59+
"meriyah": "^4.5.0",
5560
"prettier": "^3.1.1",
5661
"ts-dedent": "^2.2.0",
5762
"tsup": "^6.2.2",

0 commit comments

Comments
 (0)