UNPKG

17.9 kBJSONView Raw
1{
2 "type": "module",
3 "name": "open-props",
4 "author": "Adam Argyle",
5 "license": "MIT",
6 "version": "1.5.6",
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 "types": "dist/open-props.module.d.ts",
24 "exports": {
25 ".": {
26 "types": "./dist/open-props.module.d.ts",
27 "import": "./dist/open-props.module.js",
28 "require": "./dist/open-props.cjs",
29 "default": "./dist/open-props.cjs"
30 },
31 "./src": "./src/index.js",
32 "./src/animations": "./src/props.animations.js",
33 "./src/aspects": "./src/props.aspects.js",
34 "./src/borders": "./src/props.borders.js",
35 "./src/colors": "./src/props.colors.js",
36 "./src/colors-hsl": "./src/props.colors-hsl.js",
37 "./src/easing": "./src/props.easing.js",
38 "./src/fonts": "./src/props.fonts.js",
39 "./src/gradients": "./src/props.gradients.js",
40 "./src/media": "./src/props.media.js",
41 "./src/shadows": "./src/props.shadows.js",
42 "./src/sizes": "./src/props.sizes.js",
43 "./src/svg": "./src/props.svg.js",
44 "./src/zindex": "./src/props.zindex.js",
45 "./src/masks.edges": "./src/props.masks.edges.js",
46 "./src/masks.corner-cuts": "./src/props.masks.corner-cuts.js",
47 "./style": "./open-props.min.css",
48 "./postcss/style": "./src/index.css",
49 "./normalize": "./normalize.min.css",
50 "./normalize/light": "./normalize.light.min.css",
51 "./normalize/dark": "./normalize.dark.min.css",
52 "./switch/light": "./theme.light.switch.min.css",
53 "./switch/dark": "./theme.dark.switch.min.css",
54 "./postcss/normalize": "./src/extra/normalize.css",
55 "./postcss/normalize/light": "./src/extra/normalize.light.css",
56 "./postcss/normalize/dark": "./src/extra/normalize.dark.css",
57 "./buttons": "./buttons.min.css",
58 "./buttons/light": "./buttons.light.min.css",
59 "./buttons/dark": "./buttons.dark.min.css",
60 "./postcss/buttons": "./src/extra/buttons.css",
61 "./postcss/buttons/light": "./src/extra/buttons.light.css",
62 "./postcss/buttons/dark": "./src/extra/buttons.dark.css",
63 "./animations": "./animations.min.css",
64 "./aspects": "./aspects.min.css",
65 "./blue": "./blue.min.css",
66 "./blue-hsl": "./blue-hsl.min.css",
67 "./borders": "./borders.min.css",
68 "./brown": "./brown.min.css",
69 "./brown-hsl": "./brown-hsl.min.css",
70 "./camo": "./camo.min.css",
71 "./camo-hsl": "./camo-hsl.min.css",
72 "./choco": "./choco.min.css",
73 "./choco-hsl": "./choco-hsl.min.css",
74 "./colors": "./colors.min.css",
75 "./colors-hsl": "./colors-hsl.min.css",
76 "./cyan": "./cyan.min.css",
77 "./cyan-hsl": "./cyan-hsl.min.css",
78 "./easings": "./easings.min.css",
79 "./fonts": "./fonts.min.css",
80 "./gradients": "./gradients.min.css",
81 "./gray": "./gray.min.css",
82 "./gray-hsl": "./gray-hsl.min.css",
83 "./green": "./green.min.css",
84 "./green-hsl": "./green-hsl.min.css",
85 "./indigo": "./indigo.min.css",
86 "./indigo-hsl": "./indigo-hsl.min.css",
87 "./jungle": "./jungle.min.css",
88 "./jungle-hsl": "./jungle-hsl.min.css",
89 "./lime": "./lime.min.css",
90 "./lime-hsl": "./lime-hsl.min.css",
91 "./masks/edges": "./masks.edges.min.css",
92 "./masks/corner-cuts": "./masks.corner-cuts.min.css",
93 "./media": "./media.min.css",
94 "./orange": "./orange.min.css",
95 "./orange-hsl": "./orange-hsl.min.css",
96 "./pink": "./pink.min.css",
97 "./pink-hsl": "./pink-hsl.min.css",
98 "./purple": "./purple.min.css",
99 "./purple-hsl": "./purple-hsl.min.css",
100 "./red": "./red.min.css",
101 "./red-hsl": "./red-hsl.min.css",
102 "./sand": "./sand.min.css",
103 "./sand-hsl": "./sand-hsl.min.css",
104 "./shadows": "./shadows.min.css",
105 "./sizes": "./sizes.min.css",
106 "./stone": "./stone.min.css",
107 "./stone-hsl": "./stone-hsl.min.css",
108 "./teal": "./teal.min.css",
109 "./teal-hsl": "./teal-hsl.min.css",
110 "./violet": "./violet.min.css",
111 "./violet-hsl": "./violet-hsl.min.css",
112 "./yellow": "./yellow.min.css",
113 "./yellow-hsl": "./yellow-hsl.min.css",
114 "./zindex": "./zindex.min.css",
115 "./shadow/style": "./open-props.shadow.min.css",
116 "./shadow/normalize": "./normalize.shadow.min.css",
117 "./shadow/animations": "./animations.shadow.min.css",
118 "./shadow/aspects": "./aspects.shadow.min.css",
119 "./shadow/blue": "./blue.shadow.min.css",
120 "./shadow/blue-hsl": "./blue-hsl.shadow.min.css",
121 "./shadow/borders": "./borders.shadow.min.css",
122 "./shadow/brown": "./brown.shadow.min.css",
123 "./shadow/brown-hsl": "./brown-hsl.shadow.min.css",
124 "./shadow/camo": "./camo.shadow.min.css",
125 "./shadow/camo-hsl": "./camo-hsl.shadow.min.css",
126 "./shadow/choco": "./choco.shadow.min.css",
127 "./shadow/choco-hsl": "./choco-hsl.shadow.min.css",
128 "./shadow/colors": "./colors.shadow.min.css",
129 "./shadow/colors-hsl": "./colors-hsl.shadow.min.css",
130 "./shadow/cyan": "./cyan.shadow.min.css",
131 "./shadow/cyan-hsl": "./cyan-hsl.shadow.min.css",
132 "./shadow/easings": "./easings.shadow.min.css",
133 "./shadow/fonts": "./fonts.shadow.min.css",
134 "./shadow/gradients": "./gradients.shadow.min.css",
135 "./shadow/gray": "./gray.shadow.min.css",
136 "./shadow/gray-hsl": "./gray-hsl.shadow.min.css",
137 "./shadow/green": "./green.shadow.min.css",
138 "./shadow/green-hsl": "./green-hsl.shadow.min.css",
139 "./shadow/indigo": "./indigo.shadow.min.css",
140 "./shadow/indigo-hsl": "./indigo-hsl.shadow.min.css",
141 "./shadow/jungle": "./jungle.shadow.min.css",
142 "./shadow/jungle-hsl": "./jungle-hsl.shadow.min.css",
143 "./shadow/lime": "./lime.shadow.min.css",
144 "./shadow/lime-hsl": "./lime-hsl.shadow.min.css",
145 "./shadow/media": "./media.shadow.min.css",
146 "./shadow/orange": "./orange.shadow.min.css",
147 "./shadow/orange-hsl": "./orange-hsl.shadow.min.css",
148 "./shadow/pink": "./pink.shadow.min.css",
149 "./shadow/pink-hsl": "./pink-hsl.shadow.min.css",
150 "./shadow/purple": "./purple.shadow.min.css",
151 "./shadow/purple-hsl": "./purple-hsl.shadow.min.css",
152 "./shadow/red": "./red.shadow.min.css",
153 "./shadow/red-hsl": "./red-hsl.shadow.min.css",
154 "./shadow/sand": "./sand.shadow.min.css",
155 "./shadow/sand-hsl": "./sand-hsl.shadow.min.css",
156 "./shadow/shadows": "./shadows.shadow.min.css",
157 "./shadow/sizes": "./sizes.shadow.min.css",
158 "./shadow/stone": "./stone.shadow.min.css",
159 "./shadow/stone-hsl": "./stone-hsl.shadow.min.css",
160 "./shadow/teal": "./teal.shadow.min.css",
161 "./shadow/teal-hsl": "./teal-hsl.shadow.min.css",
162 "./shadow/violet": "./violet.shadow.min.css",
163 "./shadow/violet-hsl": "./violet-hsl.shadow.min.css",
164 "./shadow/yellow": "./yellow.shadow.min.css",
165 "./shadow/yellow-hsl": "./yellow-hsl.shadow.min.css",
166 "./shadow/zindex": "./zindex.shadow.min.css",
167 "./json": "./open-props.tokens.json",
168 "./tokens": "./open-props.tokens.json",
169 "./design-tokens": "./open-props.tokens.json",
170 "./postcss/brand": "./src/extra/brand.css",
171 "./postcss/theme": "./src/extra/theme.css",
172 "./postcss/theme-dark": "./src/extra/theme-dark.css",
173 "./postcss/theme-light": "./src/extra/theme-light.css",
174 "./utilities": "./src/extra/utilities.css",
175 "./*": "./*"
176 },
177 "browserslist": [
178 "defaults"
179 ],
180 "scripts": {
181 "build": "concurrently npm:gen:op npm:gen:shadowdom && npm run gen:types",
182 "test": "ava test/basic.test.cjs",
183 "bundle": "concurrently npm:lib:* -m 25 && concurrently npm:shadow:* -m 25",
184 "gen:op": "cd build && node props.js \"\" true",
185 "gen:nowhere": "cd build && node props \"\" false",
186 "gen:shadowdom": "cd build && node props \"\" false \":host\" \"shadow\"",
187 "gen:prefixed": "cd build && node props.js \"op\" true",
188 "gen:types": "tsc -p tsconfig.json",
189 "lib:all": "postcss src/index.css -o open-props.min.css",
190 "lib:normalize": "postcss src/extra/normalize.css -o normalize.min.css && node ./build/extras.js",
191 "lib:normalize:light": "postcss src/extra/normalize.light.css -o normalize.light.min.css",
192 "lib:normalize:dark": "postcss src/extra/normalize.dark.css -o normalize.dark.min.css",
193 "lib:switch:light": "postcss src/extra/theme.light.switch.css -o theme.light.switch.min.css",
194 "lib:switch:dark": "postcss src/extra/theme.dark.switch.css -o theme.dark.switch.min.css",
195 "lib:buttons": "postcss src/extra/buttons.css -o buttons.min.css",
196 "lib:buttons:light": "postcss src/extra/buttons.light.css -o buttons.light.min.css",
197 "lib:buttons:dark": "postcss src/extra/buttons.dark.css -o buttons.dark.min.css",
198 "lib:animations": "postcss src/props.animations.css -o animations.min.css",
199 "lib:aspects": "postcss src/props.aspects.css -o aspects.min.css",
200 "lib:borders": "postcss src/props.borders.css -o borders.min.css",
201 "lib:easing": "postcss src/props.easing.css -o easings.min.css",
202 "lib:fonts": "postcss src/props.fonts.css -o fonts.min.css",
203 "lib:gradients": "postcss src/props.gradients.css -o gradients.min.css",
204 "lib:media": "postcss src/props.media.css -o media.min.css",
205 "lib:shadows": "postcss src/props.shadows.css -o shadows.min.css",
206 "lib:sizes": "postcss src/props.sizes.css -o sizes.min.css",
207 "lib:supports": "postcss src/props.supports.css -o supports.min.css",
208 "lib:zindex": "postcss src/props.zindex.css -o zindex.min.css",
209 "lib:masks:edges": "postcss src/props.masks.edges.css -o masks.edges.min.css",
210 "lib:masks:cornercuts": "postcss src/props.masks.corner-cuts.css -o masks.corner-cuts.min.css",
211 "lib:colors": "postcss src/props.colors.css -o colors.min.css",
212 "lib:colors-hsl": "postcss src/props.colors-hsl.css -o colors-hsl.min.css",
213 "lib:colors:gray": "postcss src/props.gray.css -o gray.min.css",
214 "lib:colors:gray-hsl": "postcss src/props.gray-hsl.css -o gray-hsl.min.css",
215 "lib:colors:stone": "postcss src/props.stone.css -o stone.min.css",
216 "lib:colors:stone-hsl": "postcss src/props.stone-hsl.css -o stone-hsl.min.css",
217 "lib:colors:red": "postcss src/props.red.css -o red.min.css",
218 "lib:colors:red-hsl": "postcss src/props.red-hsl.css -o red-hsl.min.css",
219 "lib:colors:pink": "postcss src/props.pink.css -o pink.min.css",
220 "lib:colors:pink-hsl": "postcss src/props.pink-hsl.css -o pink-hsl.min.css",
221 "lib:colors:purple": "postcss src/props.purple.css -o purple.min.css",
222 "lib:colors:purple-hsl": "postcss src/props.purple-hsl.css -o purple-hsl.min.css",
223 "lib:colors:violet": "postcss src/props.violet.css -o violet.min.css",
224 "lib:colors:violet-hsl": "postcss src/props.violet-hsl.css -o violet-hsl.min.css",
225 "lib:colors:indigo": "postcss src/props.indigo.css -o indigo.min.css",
226 "lib:colors:indigo-hsl": "postcss src/props.indigo-hsl.css -o indigo-hsl.min.css",
227 "lib:colors:blue": "postcss src/props.blue.css -o blue.min.css",
228 "lib:colors:blue-hsl": "postcss src/props.blue-hsl.css -o blue-hsl.min.css",
229 "lib:colors:cyan": "postcss src/props.cyan.css -o cyan.min.css",
230 "lib:colors:cyan-hsl": "postcss src/props.cyan-hsl.css -o cyan-hsl.min.css",
231 "lib:colors:teal": "postcss src/props.teal.css -o teal.min.css",
232 "lib:colors:teal-hsl": "postcss src/props.teal-hsl.css -o teal-hsl.min.css",
233 "lib:colors:green": "postcss src/props.green.css -o green.min.css",
234 "lib:colors:green-hsl": "postcss src/props.green-hsl.css -o green-hsl.min.css",
235 "lib:colors:lime": "postcss src/props.lime.css -o lime.min.css",
236 "lib:colors:lime-hsl": "postcss src/props.lime-hsl.css -o lime-hsl.min.css",
237 "lib:colors:yellow": "postcss src/props.yellow.css -o yellow.min.css",
238 "lib:colors:yellow-hsl": "postcss src/props.yellow-hsl.css -o yellow-hsl.min.css",
239 "lib:colors:orange": "postcss src/props.orange.css -o orange.min.css",
240 "lib:colors:orange-hsl": "postcss src/props.orange-hsl.css -o orange-hsl.min.css",
241 "lib:colors:choco": "postcss src/props.choco.css -o choco.min.css",
242 "lib:colors:choco-hsl": "postcss src/props.choco-hsl.css -o choco-hsl.min.css",
243 "lib:colors:brown": "postcss src/props.brown.css -o brown.min.css",
244 "lib:colors:brown-hsl": "postcss src/props.brown-hsl.css -o brown-hsl.min.css",
245 "lib:colors:sand": "postcss src/props.sand.css -o sand.min.css",
246 "lib:colors:sand-hsl": "postcss src/props.sand-hsl.css -o sand-hsl.min.css",
247 "lib:colors:camo": "postcss src/props.camo.css -o camo.min.css",
248 "lib:colors:camo-hsl": "postcss src/props.camo-hsl.css -o camo-hsl.min.css",
249 "lib:colors:jungle": "postcss src/props.jungle.css -o jungle.min.css",
250 "lib:colors:jungle-hsl": "postcss src/props.jungle-hsl.css -o jungle-hsl.min.css",
251 "shadow:all": "postcss src/shadow.index.css -o open-props.shadow.min.css",
252 "shadow:animations": "postcss src/shadow.props.animations.css -o animations.shadow.min.css",
253 "shadow:aspects": "postcss src/shadow.props.aspects.css -o aspects.shadow.min.css",
254 "shadow:borders": "postcss src/shadow.props.borders.css -o borders.shadow.min.css",
255 "shadow:easing": "postcss src/shadow.props.easing.css -o easings.shadow.min.css",
256 "shadow:fonts": "postcss src/shadow.props.fonts.css -o fonts.shadow.min.css",
257 "shadow:gradients": "postcss src/shadow.props.gradients.css -o gradients.shadow.min.css",
258 "shadow:shadows": "postcss src/shadow.props.shadows.css -o shadows.shadow.min.css",
259 "shadow:sizes": "postcss src/shadow.props.sizes.css -o sizes.shadow.min.css",
260 "shadow:zindex": "postcss src/shadow.props.zindex.css -o zindex.shadow.min.css",
261 "shadow:colors": "postcss src/shadow.props.colors.css -o colors.shadow.min.css",
262 "shadow:colors-hsl": "postcss src/shadow.props.colors-hsl.css -o colors-hsl.shadow.min.css",
263 "shadow:colors:gray": "postcss src/shadow.props.gray.css -o gray.shadow.min.css",
264 "shadow:colors:gray-hsl": "postcss src/shadow.props.gray-hsl.css -o gray-hsl.shadow.min.css",
265 "shadow:colors:stone": "postcss src/shadow.props.stone.css -o stone.shadow.min.css",
266 "shadow:colors:stone-hsl": "postcss src/shadow.props.stone-hsl.css -o stone-hsl.shadow.min.css",
267 "shadow:colors:red": "postcss src/shadow.props.red.css -o red.shadow.min.css",
268 "shadow:colors:red-hsl": "postcss src/shadow.props.red-hsl.css -o red-hsl.shadow.min.css",
269 "shadow:colors:pink": "postcss src/shadow.props.pink.css -o pink.shadow.min.css",
270 "shadow:colors:pink-hsl": "postcss src/shadow.props.pink-hsl.css -o pink-hsl.shadow.min.css",
271 "shadow:colors:purple": "postcss src/shadow.props.purple.css -o purple.shadow.min.css",
272 "shadow:colors:purple-hsl": "postcss src/shadow.props.purple-hsl.css -o purple-hsl.shadow.min.css",
273 "shadow:colors:violet": "postcss src/shadow.props.violet.css -o violet.shadow.min.css",
274 "shadow:colors:violet-hsl": "postcss src/shadow.props.violet-hsl.css -o violet-hsl.shadow.min.css",
275 "shadow:colors:indigo": "postcss src/shadow.props.indigo.css -o indigo.shadow.min.css",
276 "shadow:colors:indigo-hsl": "postcss src/shadow.props.indigo-hsl.css -o indigo-hsl.shadow.min.css",
277 "shadow:colors:blue": "postcss src/shadow.props.blue.css -o blue.shadow.min.css",
278 "shadow:colors:blue-hsl": "postcss src/shadow.props.blue-hsl.css -o blue-hsl.shadow.min.css",
279 "shadow:colors:cyan": "postcss src/shadow.props.cyan.css -o cyan.shadow.min.css",
280 "shadow:colors:cyan-hsl": "postcss src/shadow.props.cyan-hsl.css -o cyan-hsl.shadow.min.css",
281 "shadow:colors:teal": "postcss src/shadow.props.teal.css -o teal.shadow.min.css",
282 "shadow:colors:teal-hsl": "postcss src/shadow.props.teal-hsl.css -o teal-hsl.shadow.min.css",
283 "shadow:colors:green": "postcss src/shadow.props.green.css -o green.shadow.min.css",
284 "shadow:colors:green-hsl": "postcss src/shadow.props.green-hsl.css -o green-hsl.shadow.min.css",
285 "shadow:colors:lime": "postcss src/shadow.props.lime.css -o lime.shadow.min.css",
286 "shadow:colors:lime-hsl": "postcss src/shadow.props.lime-hsl.css -o lime-hsl.shadow.min.css",
287 "shadow:colors:yellow": "postcss src/shadow.props.yellow.css -o yellow.shadow.min.css",
288 "shadow:colors:yellow-hsl": "postcss src/shadow.props.yellow-hsl.css -o yellow-hsl.shadow.min.css",
289 "shadow:colors:orange": "postcss src/shadow.props.orange.css -o orange.shadow.min.css",
290 "shadow:colors:orange-hsl": "postcss src/shadow.props.orange-hsl.css -o orange-hsl.shadow.min.css",
291 "shadow:colors:choco": "postcss src/shadow.props.choco.css -o choco.shadow.min.css",
292 "shadow:colors:choco-hsl": "postcss src/shadow.props.choco-hsl.css -o choco-hsl.shadow.min.css",
293 "shadow:colors:brown": "postcss src/shadow.props.brown.css -o brown.shadow.min.css",
294 "shadow:colors:brown-hsl": "postcss src/shadow.props.brown-hsl.css -o brown-hsl.shadow.min.css",
295 "shadow:colors:sand": "postcss src/shadow.props.sand.css -o sand.shadow.min.css",
296 "shadow:colors:sand-hsl": "postcss src/shadow.props.sand-hsl.css -o sand-hsl.shadow.min.css",
297 "shadow:colors:camo": "postcss src/shadow.props.camo.css -o camo.shadow.min.css",
298 "shadow:colors:camo-hsl": "postcss src/shadow.props.camo-hsl.css -o camo-hsl.shadow.min.css",
299 "shadow:colors:jungle": "postcss src/shadow.props.jungle.css -o jungle.shadow.min.css",
300 "shadow:colors:jungle-hsl": "postcss src/shadow.props.jungle-hsl.css -o jungle-hsl.shadow.min.css"
301 },
302 "devDependencies": {
303 "ava": "^3.15.0",
304 "colorjs.io": "^0.4.1-patch.1",
305 "concurrently": "^7.2.2",
306 "cssnano": "^5.1.10",
307 "json": "^11.0.0",
308 "open-color": "^1.9.1",
309 "postcss": "^8.3.9",
310 "postcss-cli": "^8.3.1",
311 "postcss-combine-duplicated-selectors": "^10.0.3",
312 "postcss-import": "^14.0.2",
313 "postcss-preset-env": "6.7.x",
314 "typescript": "^4.9.4"
315 }
316}