-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.tpl.json
76 lines (76 loc) · 2.73 KB
/
package.tpl.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "my-styleguide",
"displayName": "📖 Storybox",
"version": "0.0.1",
"storyboxVersion": "2.0.5",
"description": "A brand new styleguide project",
"author": "you",
"type": "module",
"chan": {
"release-prefix": ""
},
"scripts": {
"clean": "rm -rf node_modules/.cache",
"icons:build": "svg-sprite -s --symbol-inline --symbol-dest public/icons --symbol-sprite icons.svg src/assets/icons/*.svg",
"images:build": "bun x zx bin/generate-image.mjs",
"tailwind:build": "export NODE_ENV=production && bun x tailwindcss -i ./src/styles/base.css -o ./public/css/styles.css --minify",
"tailwind:start": "bun x tailwindcss -i ./src/styles/base.css -o ./public/css/styles.css --watch",
"storybook:start": "npm run clean && storybook dev --no-open -p 6006",
"storybook:build": "storybook build",
"modules:start": "rollup --config --watch",
"modules:build": "rollup --config",
"start": "concurrently \"npm run tailwind:start\" \"npm run storybook:start\"",
"build": "npm run build:assets",
"build:assets": "npm run icons:build && npm run tailwind:build && npm run modules:build && bun x @ffflorian/jszip-cli -c .jsziprc.json",
"build:styleguide": "npm run build:assets && npm run storybook:build",
"generate": "bun x generact"
},
"dependencies": {
"alpinejs": "^3.12.2",
"autoprefixer": "^10.4.14",
"clsx": "^1.2.1",
"glob": "^10.2.6",
"postcss": "^8.4.23",
"postcss-import": "^15.1.0",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^8.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "^3.3.2"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"storybook": "^7.0.17",
"@storybook/addon-docs": "^7.0.17",
"@storybook/addon-essentials": "^7.0.17",
"@storybook/addon-interactions": "^7.0.17",
"@storybook/addon-links": "^7.0.17",
"@storybook/blocks": "^7.0.17",
"@storybook/manager-api": "^7.0.17",
"@storybook/react": "^7.0.17",
"@storybook/react-vite": "^7.0.17",
"@storybook/testing-library": "^0.1.0",
"@storybook/theming": "^7.0.17",
"@types/alpinejs": "^3.7.1",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@whitespace/storybook-addon-html": "^5.0.0",
"concurrently": "^6.5.1",
"css-loader": "^5.2.6",
"svg-sprite": "^2.0.2",
"ts-loader": "^9.2.6",
"typescript": "^4.5.4",
"rollup": "^3.23.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@vitejs/plugin-react": "^4.0.0",
"vite": "^4.3.2"
},
"optionalDependencies": {
"string-width": "4.2.2",
"strip-ansi": "6.0.0",
"wrap-ansi": "7.0.0"
}
}