forked from saadeghi/daisyui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 4.4 KB
/
package.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "daisyui",
"version": "3.5.0",
"description": "daisyUI - Tailwind CSS Components",
"author": "Pouya Saadeghi",
"license": "MIT",
"homepage": "https://daisyui.com",
"repository": {
"type": "git",
"url": "git+https://github.com/saadeghi/daisyui.git"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/daisyui"
},
"bugs": {
"url": "https://github.com/saadeghi/daisyui/issues"
},
"keywords": [
"design-system",
"tailwindcss",
"components",
"ui-library",
"component",
"framework",
"tailwind",
"theming",
"postcss",
"design",
"css",
"ui"
],
"main": "src/index.js",
"typings": "src/index.d.ts",
"types": "src/index.d.ts",
"files": [
"src/lib/**/*.js",
"dist/*.js",
"dist/{themes,styled,unstyled,full}.css",
"!dist/*.rtl.css",
"src/index.js",
"src/theming/*.js",
"src/index.d.ts"
],
"engines": {
"node": ">=16.9.0"
},
"browserslist": [
"> 7%"
],
"publishConfig": {
"access": "public",
"branches": [
"master"
]
},
"prettier": "./src/prettier.config.js",
"scripts": {
"init": "npm install && npm run build && cd src/docs && npm run get-files && npm install && cd src/experiments/playground && npm install",
"prettier": "prettier --write . --ignore-path ./src/.prettierignore",
"prebase": "postcss --config src/base src/base/*.css --base src --dir dist",
"base": "cat dist/base/*.css > dist/base.css",
"postbase": "prejss-cli dist/base.css --format commonjs",
"preutilities:global": "postcss --config src/utilities/global src/utilities/global/*.css --base src --dir dist",
"utilities:global": "cat dist/utilities/global/*.css > dist/utilities.css",
"postutilities:global": "prejss-cli dist/utilities.css --format commonjs",
"preutilities:unstyled": "postcss --config src/utilities/unstyled src/utilities/unstyled/*.css --base src --dir dist",
"utilities:unstyled": "cat dist/utilities/unstyled/*.css > dist/utilities-unstyled.css",
"postutilities:unstyled": "prejss-cli dist/utilities-unstyled.css --format commonjs",
"preutilities:styled": "postcss --config src/utilities/styled src/utilities/styled/*.css --base src --dir dist",
"utilities:styled": "cat dist/utilities/styled/*.css > dist/utilities-styled.css",
"postutilities:styled": "prejss-cli dist/utilities-styled.css --format commonjs",
"components": "postcss --config src/components src/components/**/*.css --base src --dir dist",
"merge:unstyled": "cat dist/components/unstyled/*.css > dist/unstyled.css",
"merge:styled": "cat dist/components/unstyled/*.css dist/components/styled/*.css > dist/styled.css",
"rtl": "rtlcss dist/unstyled.css -s && rtlcss dist/styled.css -s",
"prejss": "prejss-cli dist/{unstyled,styled}{,.rtl}.css --format commonjs",
"themes": "postcss src/themes/index.css -o dist/themes.css --config src/themes",
"full": "postcss src/full/index.css -o dist/full.css --config src/full",
"build": "npm run base && npm run utilities:global && npm run utilities:unstyled && npm run utilities:styled && npm run components && npm run merge:unstyled && npm run merge:styled && npm run rtl && npm run prejss && npm run themes && npm run full",
"dev": "cd src/docs && npm run dev",
"add": "touch src/components/unstyled/$npm_config_name.css && touch src/components/styled/$npm_config_name.css",
"postadd": "open src/components/unstyled/$npm_config_name.css && open src/components/styled/$npm_config_name.css",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"playground": "cd src/experiments/playground && npm run dev",
"release": "rm -f package-lock.json && standard-version",
"release:patch": "rm -f package-lock.json && standard-version --release-as patch",
"release:minor": "rm -f package-lock.json && standard-version --release-as minor",
"release:major": "rm -f package-lock.json && standard-version --release-as major"
},
"devDependencies": {
"autoprefixer": "^10",
"postcss-cli": "10.1.0",
"postcss-import": "15.1.0",
"prejss-cli": "0.3.3",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.1",
"rtlcss": "4.1.0",
"standard-version": "^9.5.0",
"vitest": "^0.31.1"
},
"dependencies": {
"colord": "^2.9",
"css-selector-tokenizer": "^0.8",
"postcss": "^8",
"postcss-js": "^4",
"tailwindcss": "^3"
}
}