|
49 | 49 | "playground"
|
50 | 50 | ],
|
51 | 51 | "scripts": {
|
52 |
| - "storybook": "npm run storybook -w playground", |
| 52 | + "storybook": "storybook dev -p 6006", |
| 53 | + "build:storybook": "cross-env NO_DTS=1 storybook build", |
53 | 54 | "build": "tsup && npm run build:css",
|
54 | 55 | "dev": "npm run dev -w playground",
|
55 | 56 | "dev:use-bundle": "run-p tsup-w dev-pack",
|
|
59 | 60 | "build:scss": "sass --no-source-map --style=compressed src/styles/main.scss src/index.css",
|
60 | 61 | "build:postcss": "postcss src/index.css -o dist/index.css",
|
61 | 62 | "build:vite": "vite build && npm run build:css",
|
62 |
| - "build:storybook": "npm run build:storybook -w playground", |
63 | 63 | "preview:docs": "npm run docs:serve -w docs",
|
64 | 64 | "lint": "eslint --ext .ts,.tsx,.vue ./src",
|
65 | 65 | "tsup-w": "tsup --watch",
|
66 | 66 | "dev-pack": "npm run dev:usepack -w playground",
|
67 | 67 | "prepare": "chmod a+x .husky/* && husky install",
|
68 | 68 | "prepublishOnly": "npm run build",
|
| 69 | + "postinstall": "rimraf rf node_modules/@types/react", |
69 | 70 | "release": "bumpp --commit --tag --push",
|
70 | 71 | "stylelint": "stylelint \"**/*.{css,less,scss,vue}\"",
|
71 | 72 | "test": "vitest",
|
|
84 | 85 | "@commitlint/cli": "^17.6.7",
|
85 | 86 | "@commitlint/config-conventional": "^17.6.7",
|
86 | 87 | "@rollup/plugin-babel": "^6.0.3",
|
| 88 | + "@storybook/addon-essentials": "^7.2.0", |
| 89 | + "@storybook/addon-interactions": "^7.2.0", |
| 90 | + "@storybook/addon-links": "^7.2.0", |
| 91 | + "@storybook/addon-onboarding": "^1.0.8", |
| 92 | + "@storybook/blocks": "^7.2.0", |
| 93 | + "@storybook/testing-library": "^0.2.0", |
| 94 | + "@storybook/vue3": "^7.2.0", |
| 95 | + "@storybook/vue3-vite": "^7.2.0", |
87 | 96 | "@swc/core": "^1.3.73",
|
88 | 97 | "@testing-library/jest-dom": "^5.17.0",
|
89 | 98 | "@testing-library/user-event": "^14.4.3",
|
|
101 | 110 | "babel-loader": "^9.1.3",
|
102 | 111 | "browserslist-to-esbuild": "^1.2.0",
|
103 | 112 | "bumpp": "^9.1.1",
|
| 113 | + "cross-env": "^7.0.3", |
104 | 114 | "cssnano": "^6.0.1",
|
105 | 115 | "esbuild-plugin-babel": "^0.2.3",
|
106 | 116 | "eslint": "^8.46.0",
|
107 | 117 | "eslint-config-airbnb-base": "^15.0.0",
|
108 | 118 | "eslint-config-airbnb-typescript": "^17.1.0",
|
109 | 119 | "eslint-plugin-import": "^2.28.0",
|
110 | 120 | "eslint-plugin-jsx-a11y": "^6.7.1",
|
| 121 | + "eslint-plugin-storybook": "^0.6.13", |
111 | 122 | "eslint-plugin-vue": "^9.16.1",
|
112 | 123 | "husky": "^8.0.3",
|
113 | 124 | "jsdom": "^22.1.0",
|
|
123 | 134 | "rimraf": "^5.0.1",
|
124 | 135 | "sass": "^1.64.2",
|
125 | 136 | "shelljs": "^0.8.5",
|
| 137 | + "storybook": "^7.2.0", |
126 | 138 | "stylelint": "^15.10.2",
|
127 | 139 | "stylelint-config-recommended-vue": "^1.5.0",
|
128 | 140 | "stylelint-config-standard": "^34.0.0",
|
129 | 141 | "tsup": "^7.1.0",
|
130 |
| - "typescript": "~5.1.6", |
| 142 | + "typescript": "~5.0.4", |
131 | 143 | "vite": "^4.4.8",
|
132 | 144 | "vite-plugin-dts": "^3.4.0",
|
133 | 145 | "vitest": "^0.34.1",
|
|
0 commit comments