Skip to content

Commit

Permalink
Merge pull request #19 from storybookjs/shilman/optimize-install
Browse files Browse the repository at this point in the history
Optimize install size
  • Loading branch information
shilman authored Jul 11, 2024
2 parents 6d53f85 + f920eba commit f1c9c8b
Show file tree
Hide file tree
Showing 5 changed files with 334 additions and 2,013 deletions.
33 changes: 19 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,20 @@
},
"license": "MIT",
"author": "Michael Shilman <michael@lab80.co>",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/index.d.ts"
]
}
},
"files": [
"dist/**/*",
"README.md",
Expand All @@ -22,7 +33,6 @@
"build-storybook": "build-storybook",
"prepare": "husky install",
"prettier": "prettier",
"prebuild": "rm -rf dist",
"release": "yarn build && auto shipit",
"start": "concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"",
"storybook": "start-storybook -p 6006",
Expand All @@ -32,24 +42,19 @@
"lint-staged": {
"*.{ts,js,css,md}": "prettier --write"
},
"dependencies": {
"acorn": "^8.12.1"
},
"devDependencies": {
"@babel/core": "^7.23.6",
"@babel/parser": "^7.23.6",
"@babel/preset-env": "^7.23.6",
"@babel/preset-typescript": "^7.23.3",
"@babel/traverse": "^7.23.6",
"@babel/types": "^7.23.6",
"@mdx-js/mdx": "^3.0.0",
"@types/babel__traverse": "^7.20.4",
"@types/lodash": "^4.14.202",
"@types/node": "^18.0.0",
"auto": "^11.1.2",
"concurrently": "^8.2.2",
"estree-to-babel": "^9.0.0",
"estree-jsx": "^0.0.1",
"hast-util-to-estree": "^3.1.0",
"husky": ">=6",
"lint-staged": ">=10",
"lodash": "^4.17.21",
"meriyah": "^4.5.0",
"prettier": "^3.1.1",
"ts-dedent": "^2.2.0",
"tsup": "^6.2.2",
Expand Down
Loading

0 comments on commit f1c9c8b

Please sign in to comment.