UNPKG

12.9 kBJSONView Raw
1{
2 "type": "module",
3 "name": "open-props",
4 "author": "Adam Argyle",
5 "license": "MIT",
6 "version": "1.4.5",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/argyleink/open-props"
10 },
11 "keywords": [
12 "css",
13 "utilities",
14 "variables",
15 "custom properties",
16 "gradients"
17 ],
18 "style": "open-props.min.css",
19 "source": "src/index.js",
20 "main": "dist/open-props.cjs",
21 "unpkg": "open-props.min.css",
22 "module": "dist/open-props.module.js",
23 "exports": {
24 ".": {
25 "import": "./dist/open-props.module.js",
26 "require": "./dist/open-props.cjs",
27 "default": "./dist/open-props.cjs"
28 },
29 "./src": "./src/index.js",
30 "./src/animations": "./src/props.animations.js",
31 "./src/aspects": "./src/props.aspects.js",
32 "./src/borders": "./src/props.borders.js",
33 "./src/colors": "./src/props.colors.js",
34 "./src/colors-hsl": "./src/props.colors-hsl.js",
35 "./src/easing": "./src/props.easing.js",
36 "./src/fonts": "./src/props.fonts.js",
37 "./src/gradients": "./src/props.gradients.js",
38 "./src/shadows": "./src/props.shadows.js",
39 "./src/sizes": "./src/props.sizes.js",
40 "./src/svg": "./src/props.svg.js",
41 "./src/zindex": "./src/props.zindex.js",
42 "./style": "./open-props.min.css",
43 "./postcss/style": "./src/index.css",
44 "./normalize": "./normalize.min.css",
45 "./buttons": "./buttons.min.css",
46 "./postcss/normalize": "./src/extra/normalize.css",
47 "./animations": "./animations.min.css",
48 "./aspects": "./aspects.min.css",
49 "./blue": "./blue.min.css",
50 "./blue-hsl": "./blue-hsl.min.css",
51 "./borders": "./borders.min.css",
52 "./colors": "./colors.min.css",
53 "./colors-hsl": "./colors-hsl.min.css",
54 "./cyan": "./cyan.min.css",
55 "./cyan-hsl": "./cyan-hsl.min.css",
56 "./easings": "./easings.min.css",
57 "./fonts": "./fonts.min.css",
58 "./gradients": "./gradients.min.css",
59 "./grape": "./grape.min.css",
60 "./grape-hsl": "./grape-hsl.min.css",
61 "./gray": "./gray.min.css",
62 "./gray-hsl": "./gray-hsl.min.css",
63 "./green": "./green.min.css",
64 "./green-hsl": "./green-hsl.min.css",
65 "./indigo": "./indigo.min.css",
66 "./indigo-hsl": "./indigo-hsl.min.css",
67 "./lime": "./lime.min.css",
68 "./lime-hsl": "./lime-hsl.min.css",
69 "./media": "./media.min.css",
70 "./orange": "./orange.min.css",
71 "./orange-hsl": "./orange-hsl.min.css",
72 "./pink": "./pink.min.css",
73 "./pink-hsl": "./pink-hsl.min.css",
74 "./red": "./red.min.css",
75 "./red-hsl": "./red-hsl.min.css",
76 "./shadows": "./shadows.min.css",
77 "./sizes": "./sizes.min.css",
78 "./teal": "./teal.min.css",
79 "./teal-hsl": "./teal-hsl.min.css",
80 "./violet": "./violet.min.css",
81 "./violet-hsl": "./violet-hsl.min.css",
82 "./yellow": "./yellow.min.css",
83 "./yellow-hsl": "./yellow-hsl.min.css",
84 "./zindex": "./zindex.min.css",
85 "./shadow/style": "./open-props.shadow.min.css",
86 "./shadow/normalize": "./normalize.shadow.min.css",
87 "./shadow/animations": "./animations.shadow.min.css",
88 "./shadow/aspects": "./aspects.shadow.min.css",
89 "./shadow/blue": "./blue.shadow.min.css",
90 "./shadow/blue-hsl": "./blue-hsl.shadow.min.css",
91 "./shadow/borders": "./borders.shadow.min.css",
92 "./shadow/colors": "./colors.shadow.min.css",
93 "./shadow/colors-hsl": "./colors-hsl.shadow.min.css",
94 "./shadow/cyan": "./cyan.shadow.min.css",
95 "./shadow/cyan-hsl": "./cyan-hsl.shadow.min.css",
96 "./shadow/easings": "./easings.shadow.min.css",
97 "./shadow/fonts": "./fonts.shadow.min.css",
98 "./shadow/gradients": "./gradients.shadow.min.css",
99 "./shadow/grape": "./grape.shadow.min.css",
100 "./shadow/grape-hsl": "./grape-hsl.shadow.min.css",
101 "./shadow/gray": "./gray.shadow.min.css",
102 "./shadow/gray-hsl": "./gray-hsl.shadow.min.css",
103 "./shadow/green": "./green.shadow.min.css",
104 "./shadow/green-hsl": "./green-hsl.shadow.min.css",
105 "./shadow/indigo": "./indigo.shadow.min.css",
106 "./shadow/indigo-hsl": "./indigo-hsl.shadow.min.css",
107 "./shadow/lime": "./lime.shadow.min.css",
108 "./shadow/lime-hsl": "./lime-hsl.shadow.min.css",
109 "./shadow/media": "./media.shadow.min.css",
110 "./shadow/orange": "./orange.shadow.min.css",
111 "./shadow/orange-hsl": "./orange-hsl.shadow.min.css",
112 "./shadow/pink": "./pink.shadow.min.css",
113 "./shadow/pink-hsl": "./pink-hsl.shadow.min.css",
114 "./shadow/red": "./red.shadow.min.css",
115 "./shadow/red-hsl": "./red-hsl.shadow.min.css",
116 "./shadow/shadows": "./shadows.shadow.min.css",
117 "./shadow/sizes": "./sizes.shadow.min.css",
118 "./shadow/teal": "./teal.shadow.min.css",
119 "./shadow/teal-hsl": "./teal-hsl.shadow.min.css",
120 "./shadow/violet": "./violet.shadow.min.css",
121 "./shadow/violet-hsl": "./violet-hsl.shadow.min.css",
122 "./shadow/yellow": "./yellow.shadow.min.css",
123 "./shadow/yellow-hsl": "./yellow-hsl.shadow.min.css",
124 "./shadow/zindex": "./zindex.shadow.min.css",
125 "./json": "./open-props.tokens.json",
126 "./tokens": "./open-props.tokens.json",
127 "./design-tokens": "./open-props.tokens.json"
128 },
129 "browserslist": [
130 "defaults"
131 ],
132 "scripts": {
133 "build": "concurrently npm:gen:op npm:gen:shadowdom",
134 "test": "ava test/basic.test.cjs",
135 "bundle": "concurrently npm:lib:* -m 25 && concurrently npm:shadow:* -m 25 && npm run module:js",
136 "bundle:pre-edit": "json -I -f package.json -e \"this.unpkg=''\"",
137 "bundle:post-edit": "json -I -f package.json -e \"this.unpkg='open-props.min.css'\"",
138 "gen:op": "cd build && node props.js '' true",
139 "gen:nowhere": "cd build && node props.js '' false",
140 "gen:shadowdom": "cd build && node props.js '' false ':host' 'shadow'",
141 "gen:prefixed": "cd build && node props.js 'op' true",
142 "module:js": "npm run bundle:pre-edit && microbundle --no-sourcemap && npm run bundle:post-edit",
143 "lib:all": "postcss src/index.css -o open-props.min.css",
144 "lib:normalize": "postcss src/extra/normalize.css -o normalize.min.css && node ./build/extras.js",
145 "lib:buttons": "postcss src/extra/buttons.css -o buttons.min.css",
146 "lib:animations": "postcss src/props.animations.css -o animations.min.css",
147 "lib:aspects": "postcss src/props.aspects.css -o aspects.min.css",
148 "lib:borders": "postcss src/props.borders.css -o borders.min.css",
149 "lib:easing": "postcss src/props.easing.css -o easings.min.css",
150 "lib:fonts": "postcss src/props.fonts.css -o fonts.min.css",
151 "lib:gradients": "postcss src/props.gradients.css -o gradients.min.css",
152 "lib:media": "postcss src/props.media.css -o media.min.css",
153 "lib:shadows": "postcss src/props.shadows.css -o shadows.min.css",
154 "lib:sizes": "postcss src/props.sizes.css -o sizes.min.css",
155 "lib:supports": "postcss src/props.supports.css -o supports.min.css",
156 "lib:zindex": "postcss src/props.zindex.css -o zindex.min.css",
157 "lib:colors": "postcss src/props.colors.css -o colors.min.css",
158 "lib:colors-hsl": "postcss src/props.colors-hsl.css -o colors-hsl.min.css",
159 "lib:colors:gray": "postcss src/props.gray.css -o gray.min.css",
160 "lib:colors:gray-hsl": "postcss src/props.gray-hsl.css -o gray-hsl.min.css",
161 "lib:colors:red": "postcss src/props.red.css -o red.min.css",
162 "lib:colors:red-hsl": "postcss src/props.red-hsl.css -o red-hsl.min.css",
163 "lib:colors:pink": "postcss src/props.pink.css -o pink.min.css",
164 "lib:colors:pink-hsl": "postcss src/props.pink-hsl.css -o pink-hsl.min.css",
165 "lib:colors:grape": "postcss src/props.grape.css -o grape.min.css",
166 "lib:colors:grape-hsl": "postcss src/props.grape-hsl.css -o grape-hsl.min.css",
167 "lib:colors:violet": "postcss src/props.violet.css -o violet.min.css",
168 "lib:colors:violet-hsl": "postcss src/props.violet-hsl.css -o violet-hsl.min.css",
169 "lib:colors:indigo": "postcss src/props.indigo.css -o indigo.min.css",
170 "lib:colors:indigo-hsl": "postcss src/props.indigo-hsl.css -o indigo-hsl.min.css",
171 "lib:colors:blue": "postcss src/props.blue.css -o blue.min.css",
172 "lib:colors:blue-hsl": "postcss src/props.blue-hsl.css -o blue-hsl.min.css",
173 "lib:colors:cyan": "postcss src/props.cyan.css -o cyan.min.css",
174 "lib:colors:cyan-hsl": "postcss src/props.cyan-hsl.css -o cyan-hsl.min.css",
175 "lib:colors:teal": "postcss src/props.teal.css -o teal.min.css",
176 "lib:colors:teal-hsl": "postcss src/props.teal-hsl.css -o teal-hsl.min.css",
177 "lib:colors:green": "postcss src/props.green.css -o green.min.css",
178 "lib:colors:green-hsl": "postcss src/props.green-hsl.css -o green-hsl.min.css",
179 "lib:colors:lime": "postcss src/props.lime.css -o lime.min.css",
180 "lib:colors:lime-hsl": "postcss src/props.lime-hsl.css -o lime-hsl.min.css",
181 "lib:colors:yellow": "postcss src/props.yellow.css -o yellow.min.css",
182 "lib:colors:yellow-hsl": "postcss src/props.yellow-hsl.css -o yellow-hsl.min.css",
183 "lib:colors:orange": "postcss src/props.orange.css -o orange.min.css",
184 "lib:colors:orange-hsl": "postcss src/props.orange-hsl.css -o orange-hsl.min.css",
185 "shadow:all": "postcss src/shadow.index.css -o open-props.shadow.min.css",
186 "shadow:animations": "postcss src/shadow.props.animations.css -o animations.shadow.min.css",
187 "shadow:aspects": "postcss src/shadow.props.aspects.css -o aspects.shadow.min.css",
188 "shadow:borders": "postcss src/shadow.props.borders.css -o borders.shadow.min.css",
189 "shadow:easing": "postcss src/shadow.props.easing.css -o easings.shadow.min.css",
190 "shadow:fonts": "postcss src/shadow.props.fonts.css -o fonts.shadow.min.css",
191 "shadow:gradients": "postcss src/shadow.props.gradients.css -o gradients.shadow.min.css",
192 "shadow:shadows": "postcss src/shadow.props.shadows.css -o shadows.shadow.min.css",
193 "shadow:sizes": "postcss src/shadow.props.sizes.css -o sizes.shadow.min.css",
194 "shadow:zindex": "postcss src/shadow.props.zindex.css -o zindex.shadow.min.css",
195 "shadow:colors": "postcss src/shadow.props.colors.css -o colors.shadow.min.css",
196 "shadow:colors-hsl": "postcss src/shadow.props.colors-hsl.css -o colors-hsl.shadow.min.css",
197 "shadow:colors:gray": "postcss src/shadow.props.gray.css -o gray.shadow.min.css",
198 "shadow:colors:gray-hsl": "postcss src/shadow.props.gray-hsl.css -o gray-hsl.shadow.min.css",
199 "shadow:colors:red": "postcss src/shadow.props.red.css -o red.shadow.min.css",
200 "shadow:colors:red-hsl": "postcss src/shadow.props.red-hsl.css -o red-hsl.shadow.min.css",
201 "shadow:colors:pink": "postcss src/shadow.props.pink.css -o pink.shadow.min.css",
202 "shadow:colors:pink-hsl": "postcss src/shadow.props.pink-hsl.css -o pink-hsl.shadow.min.css",
203 "shadow:colors:grape": "postcss src/shadow.props.grape.css -o grape.shadow.min.css",
204 "shadow:colors:grape-hsl": "postcss src/shadow.props.grape-hsl.css -o grape-hsl.shadow.min.css",
205 "shadow:colors:violet": "postcss src/shadow.props.violet.css -o violet.shadow.min.css",
206 "shadow:colors:violet-hsl": "postcss src/shadow.props.violet-hsl.css -o violet-hsl.shadow.min.css",
207 "shadow:colors:indigo": "postcss src/shadow.props.indigo.css -o indigo.shadow.min.css",
208 "shadow:colors:indigo-hsl": "postcss src/shadow.props.indigo-hsl.css -o indigo-hsl.shadow.min.css",
209 "shadow:colors:blue": "postcss src/shadow.props.blue.css -o blue.shadow.min.css",
210 "shadow:colors:blue-hsl": "postcss src/shadow.props.blue-hsl.css -o blue-hsl.shadow.min.css",
211 "shadow:colors:cyan": "postcss src/shadow.props.cyan.css -o cyan.shadow.min.css",
212 "shadow:colors:cyan-hsl": "postcss src/shadow.props.cyan-hsl.css -o cyan-hsl.shadow.min.css",
213 "shadow:colors:teal": "postcss src/shadow.props.teal.css -o teal.shadow.min.css",
214 "shadow:colors:teal-hsl": "postcss src/shadow.props.teal-hsl.css -o teal-hsl.shadow.min.css",
215 "shadow:colors:green": "postcss src/shadow.props.green.css -o green.shadow.min.css",
216 "shadow:colors:green-hsl": "postcss src/shadow.props.green-hsl.css -o green-hsl.shadow.min.css",
217 "shadow:colors:lime": "postcss src/shadow.props.lime.css -o lime.shadow.min.css",
218 "shadow:colors:lime-hsl": "postcss src/shadow.props.lime-hsl.css -o lime-hsl.shadow.min.css",
219 "shadow:colors:yellow": "postcss src/shadow.props.yellow.css -o yellow.shadow.min.css",
220 "shadow:colors:yellow-hsl": "postcss src/shadow.props.yellow-hsl.css -o yellow-hsl.shadow.min.css",
221 "shadow:colors:orange": "postcss src/shadow.props.orange.css -o orange.shadow.min.css",
222 "shadow:colors:orange-hsl": "postcss src/shadow.props.orange-hsl.css -o orange-hsl.shadow.min.css"
223 },
224 "devDependencies": {
225 "ava": "^3.15.0",
226 "concurrently": "^7.2.2",
227 "cssnano": "^5.1.10",
228 "json": "^11.0.0",
229 "microbundle": "^0.13.3",
230 "open-color": "^1.9.1",
231 "postcss": "^8.3.9",
232 "postcss-cli": "^8.3.1",
233 "postcss-combine-duplicated-selectors": "^10.0.3",
234 "postcss-import": "^14.0.2",
235 "postcss-preset-env": "6.7.x"
236 }
237}