Skip to content

Commit

Permalink
add performance budget to design package
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangardner committed Dec 18, 2024
1 parent e6dbeea commit 4ad7052
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 129 deletions.
9 changes: 9 additions & 0 deletions packages/design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dev:storybook": "storybook dev -p 9009",
"dev:styles": "gulp watch",
"lint": "eslint --ext ts,tsx --report-unused-disable-directives --max-warnings 0 src",
"size": "pnpm build && size-limit",
"test:url": "test-storybook --url http://127.0.0.1:9009 --config-dir .storybook",
"test:dev": "wait-on tcp:127.0.0.1:9009 && pnpm test:url --maxWorkers=2 # assumes dev server is running",
"test:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm build:storybook --quiet && pnpm http-server storybook-static --port 9009 --silent\" \"pnpm test:dev\"",
Expand All @@ -24,6 +25,12 @@
"files": [
"dist/**/*"
],
"size-limit": [
{
"path": "dist/index.js",
"limit": "325 kB"
}
],
"devDependencies": {
"@playwright/test": "1.48.1",
"@storybook/addon-a11y": "^8.2.8",
Expand Down Expand Up @@ -70,6 +77,7 @@
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@size-limit/preset-big-lib": "^11.1.6",
"@tiptap/core": "^2.6.2",
"@tiptap/react": "^2.6.2",
"@tiptap/starter-kit": "^2.6.2",
Expand All @@ -80,6 +88,7 @@
"react": "^18.3.1",
"react-hook-form": "^7.52.2",
"react-router-dom": "^6.26.0",
"size-limit": "^11.1.6",
"storybook": "^8.2.8",
"zustand": "^4.5.4",
"zustand-utils": "^1.3.2"
Expand Down
Loading

0 comments on commit 4ad7052

Please sign in to comment.