forked from argyleink/open-props
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 4.58 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
112
113
114
115
{
"type": "module",
"name": "open-props",
"author": "Adam Argyle",
"license": "MIT",
"version": "1.1.5",
"repository": {
"type": "git",
"url": "https://github.com/argyleink/open-props"
},
"keywords": [
"css",
"utilities",
"variables",
"custom properties",
"gradients"
],
"style": "open-props.min.css",
"source": "src/index.js",
"main": "dist/open-props.cjs",
"unpkg": "open-props.min.css",
"module": "dist/open-props.module.js",
"exports": {
".": {
"import": "./dist/open-props.module.js",
"require": "./dist/open-props.cjs",
"default": "./dist/open-props.cjs"
},
"./style": "./open-props.min.css",
"./postcss/style": "./src/index.css",
"./normalize": "./normalize.min.css",
"./postcss/normalize": "./src/extra/normalize.css",
"./animations": "./animations.min.css",
"./aspects": "./aspects.min.css",
"./blue": "./blue.min.css",
"./borders": "./borders.min.css",
"./colors": "./colors.min.css",
"./cyan": "./cyan.min.css",
"./easings": "./easings.min.css",
"./fonts": "./fonts.min.css",
"./gradients": "./gradients.min.css",
"./grape": "./grape.min.css",
"./gray": "./gray.min.css",
"./green": "./green.min.css",
"./indigo": "./indigo.min.css",
"./lime": "./lime.min.css",
"./media": "./media.min.css",
"./orange": "./orange.min.css",
"./pink": "./pink.min.css",
"./red": "./red.min.css",
"./shadows": "./shadows.min.css",
"./sizes": "./sizes.min.css",
"./teal": "./teal.min.css",
"./violet": "./violet.min.css",
"./yellow": "./yellow.min.css",
"./zindex": "./zindex.min.css",
"./json": "./open-props.tokens.json",
"./tokens": "./open-props.tokens.json",
"./design-tokens": "./open-props.tokens.json"
},
"browserslist": [
"defaults"
],
"scripts": {
"build": "npm run gen:op",
"test": "ava test/basic.test.cjs",
"bundle": "concurrently npm:lib:*",
"bundle:pre-edit": "json -I -f package.json -e \"this.unpkg=''\"",
"bundle:post-edit": "json -I -f package.json -e \"this.unpkg='open-props.min.css'\"",
"gen:op": "cd src && node _create-props.js '' true",
"gen:nowhere": "cd src && node _create-props.js '' false",
"gen:prefixed": "cd src && node _create-props.js 'op'",
"lib:js": "npm run bundle:pre-edit && microbundle --no-sourcemap && npm run bundle:post-edit",
"lib:all": "postcss src/index.css -o open-props.min.css",
"lib:normalize": "postcss src/extra/normalize.css -o normalize.min.css",
"lib:animations": "postcss src/props.animations.css -o animations.min.css",
"lib:aspects": "postcss src/props.aspects.css -o aspects.min.css",
"lib:borders": "postcss src/props.borders.css -o borders.min.css",
"lib:easing": "postcss src/props.easing.css -o easings.min.css",
"lib:fonts": "postcss src/props.fonts.css -o fonts.min.css",
"lib:gradients": "postcss src/props.gradients.css -o gradients.min.css",
"lib:media": "postcss src/props.media.css -o media.min.css",
"lib:shadows": "postcss src/props.shadows.css -o shadows.min.css",
"lib:sizes": "postcss src/props.sizes.css -o sizes.min.css",
"lib:supports": "postcss src/props.supports.css -o supports.min.css",
"lib:zindex": "postcss src/props.zindex.css -o zindex.min.css",
"lib:colors": "postcss src/props.colors.css -o colors.min.css",
"lib:colors:gray": "postcss src/props.gray.css -o gray.min.css",
"lib:colors:red": "postcss src/props.red.css -o red.min.css",
"lib:colors:pink": "postcss src/props.pink.css -o pink.min.css",
"lib:colors:grape": "postcss src/props.grape.css -o grape.min.css",
"lib:colors:violet": "postcss src/props.violet.css -o violet.min.css",
"lib:colors:indigo": "postcss src/props.indigo.css -o indigo.min.css",
"lib:colors:blue": "postcss src/props.blue.css -o blue.min.css",
"lib:colors:cyan": "postcss src/props.cyan.css -o cyan.min.css",
"lib:colors:teal": "postcss src/props.teal.css -o teal.min.css",
"lib:colors:green": "postcss src/props.green.css -o green.min.css",
"lib:colors:lime": "postcss src/props.lime.css -o lime.min.css",
"lib:colors:yellow": "postcss src/props.yellow.css -o yellow.min.css",
"lib:colors:orange": "postcss src/props.orange.css -o orange.min.css"
},
"devDependencies": {
"ava": "^3.15.0",
"concurrently": "^6.2.1",
"cssnano": "^5.0.8",
"json": "^11.0.0",
"microbundle": "^0.13.3",
"open-color": "^1.9.1",
"postcss": "^8.3.9",
"postcss-cli": "^8.3.1",
"postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-import": "^14.0.2",
"postcss-preset-env": "6.7.x"
}
}