forked from saadeghi/daisyui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 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
{
"name": "daisyui",
"version": "2.14.0",
"description": "daisyUI - Tailwind CSS Components",
"author": "Pouya Saadeghi",
"license": "MIT",
"homepage": "https://github.com/saadeghi/daisyui",
"repository": {
"type": "git",
"url": "git+https://github.com/saadeghi/daisyui.git"
},
"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.js",
"files": [
"src/lib/**/*.js",
"dist/*.js",
"dist/{themes,styled,unstyled,full}.css",
"!dist/*.rtl.css",
"src/index.js",
"src/colors/*.js"
],
"browserslist": [
"> 7%"
],
"publishConfig": {
"access": "public",
"branches": [
"master"
]
},
"scripts": {
"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",
"postfull": "parcel-css --minify --targets '> 7%' dist/full.css -o dist/full.css",
"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",
"install:docs": "cd src/docs && npm install",
"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:coverage": "vitest --coverage",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"playground": "cd src/experiments/playground && npm run dev"
},
"devDependencies": {
"@parcel/css-cli": "^1.5.0",
"@types/css-selector-tokenizer": "^0.7.1",
"@vitest/ui": "^0.7.10",
"autoprefixer": "10.0.4",
"c8": "^7.11.0",
"color-contrast-checker": "^2.1.0",
"postcss-cli": "8.3.0",
"postcss-import": "13.0.0",
"postcss-nested": "5.0.1",
"prejss-cli": "0.3.3",
"rtlcss": "3.0.0",
"vitest": "^0.7.10"
},
"dependencies": {
"color": "^4.2",
"css-selector-tokenizer": "^0.8.0",
"postcss-js": "^4.0.0",
"tailwindcss": "^3.0"
},
"peerDependencies": {
"autoprefixer": "^10.0.2",
"postcss": "^8.1.6"
}
}