forked from cssnano/cssnano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
230 lines (230 loc) · 9.31 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
{
"name": "cssnano",
"private": true,
"scripts": {
"docs": "remark docs/content/**/*.md -o && cd docs && npm run build && cd .. && gh-pages -d docs/dist",
"lint": "eslint --ignore-path .gitignore packages/**/src util",
"fixlint": "eslint --fix --ignore-path .gitignore packages/**/src util",
"postinstall": "lerna bootstrap --npm-client=\"yarn\"",
"pretest": "npm run lint",
"test-only": "cross-env BABEL_ENV=test ava",
"test-only:coverage": "nyc --reporter=lcov --reporter=text npm run test-only",
"test": "npm run test-only"
},
"engines": {
"node": ">=4"
},
"devDependencies": {
"all-contributors-cli": "4.8.1",
"ava": "^0.25.0",
"babel-cli": "^6.0.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-module-resolver": "^2.5.0",
"babel-preset-env": "^1.0.0",
"babel-register": "^6.0.0",
"browserslist": "^3.2.8",
"camelcase": "^4.0.0",
"coveralls": "^2.0.0",
"cross-env": "^5.1.6",
"dox": "^0.9.0",
"eslint": "^3.0.0",
"eslint-config-cssnano": "^3.0.0",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-import": "^2.0.0",
"get-pkg-repo": "^2.0.0",
"gh-pages": "^0.11.0",
"glob": "^7.0.0",
"lerna": "^2.5.1",
"mdast-util-heading-range": "^2.0.1",
"mz": "^2.6.0",
"nyc": "^11.9.0",
"postcss": "^6.0.0",
"remark": "^7.0.0",
"remark-behead": "^2.0.1",
"remark-bookmarks": "^1.0.0",
"remark-cli": "^3.0.1",
"remark-github": "^7.0.0",
"remark-heading-gap": "^3.0.0",
"remark-html": "^6.0.0",
"remark-license": "^4.0.0",
"remark-toc": "^4.0.0",
"stringify-object": "^3.1.0",
"toml": "^2.3.2",
"tomlify-j0.4": "^2.0.0",
"unist-builder": "^1.0.2",
"unist-util-remove": "^0.2.1"
},
"ava": {
"files": [
"packages/**/src/__tests__/**/*.js"
],
"require": "babel-register"
},
"nyc": {
"exclude": [
"node_modules",
"**/__tests__",
"**/dist",
"util"
]
},
"babel": {
"env": {
"publish": {
"plugins": [
"add-module-exports",
[
"module-resolver",
{
"root": [
"./packages"
],
"alias": {
"lerna:css-size": "css-size",
"lerna:cssnano": "cssnano",
"lerna:cssnano-preset-advanced": "cssnano-preset-advanced",
"lerna:cssnano-preset-default": "cssnano-preset-default",
"lerna:cssnano-util-get-arguments": "cssnano-util-get-arguments",
"lerna:cssnano-util-get-match": "cssnano-util-get-match",
"lerna:cssnano-util-same-parent": "cssnano-util-same-parent",
"lerna:postcss-colormin": "postcss-colormin",
"lerna:postcss-convert-values": "postcss-convert-values",
"lerna:postcss-discard-comments": "postcss-discard-comments",
"lerna:postcss-discard-duplicates": "postcss-discard-duplicates",
"lerna:postcss-discard-empty": "postcss-discard-empty",
"lerna:postcss-discard-overridden": "postcss-discard-overridden",
"lerna:postcss-discard-unused": "postcss-discard-unused",
"lerna:postcss-merge-idents": "postcss-merge-idents",
"lerna:postcss-merge-longhand": "postcss-merge-longhand",
"lerna:postcss-merge-rules": "postcss-merge-rules",
"lerna:postcss-minify-font-values": "postcss-minify-font-values",
"lerna:postcss-minify-gradients": "postcss-minify-gradients",
"lerna:postcss-minify-params": "postcss-minify-params",
"lerna:postcss-minify-selectors": "postcss-minify-selectors",
"lerna:postcss-normalize-charset": "postcss-normalize-charset",
"lerna:postcss-normalize-display-values": "postcss-normalize-display-values",
"lerna:postcss-normalize-positions": "postcss-normalize-positions",
"lerna:postcss-normalize-repeat-style": "postcss-normalize-repeat-style",
"lerna:postcss-normalize-string": "postcss-normalize-string",
"lerna:postcss-normalize-timing-functions": "postcss-normalize-timing-functions",
"lerna:postcss-normalize-unicode": "postcss-normalize-unicode",
"lerna:postcss-normalize-url": "postcss-normalize-url",
"lerna:postcss-normalize-whitespace": "postcss-normalize-whitespace",
"lerna:postcss-ordered-values": "postcss-ordered-values",
"lerna:postcss-reduce-idents": "postcss-reduce-idents",
"lerna:postcss-reduce-initial": "postcss-reduce-initial",
"lerna:postcss-reduce-transforms": "postcss-reduce-transforms",
"lerna:postcss-svgo": "postcss-svgo",
"lerna:postcss-unique-selectors": "postcss-unique-selectors",
"lerna:postcss-zindex": "postcss-zindex",
"lerna:stylehacks": "stylehacks",
"lerna:cssnano-util-raw-cache": "cssnano-util-raw-cache"
}
}
]
]
},
"test": {
"plugins": [
"add-module-exports",
[
"module-resolver",
{
"root": [
"./packages"
],
"alias": {
"lerna:css-size": "css-size/src/index.js",
"lerna:cssnano": "cssnano/src/index.js",
"lerna:cssnano-preset-advanced": "cssnano-preset-advanced/src/index.js",
"lerna:cssnano-preset-default": "cssnano-preset-default/src/index.js",
"lerna:cssnano-util-get-arguments": "cssnano-util-get-arguments/src/index.js",
"lerna:cssnano-util-get-match": "cssnano-util-get-match/src/index.js",
"lerna:cssnano-util-same-parent": "cssnano-util-same-parent/src/index.js",
"lerna:postcss-colormin": "postcss-colormin/src/index.js",
"lerna:postcss-convert-values": "postcss-convert-values/src/index.js",
"lerna:postcss-discard-comments": "postcss-discard-comments/src/index.js",
"lerna:postcss-discard-duplicates": "postcss-discard-duplicates/src/index.js",
"lerna:postcss-discard-empty": "postcss-discard-empty/src/index.js",
"lerna:postcss-discard-overridden": "postcss-discard-overridden/src/index.js",
"lerna:postcss-discard-unused": "postcss-discard-unused/src/index.js",
"lerna:postcss-merge-idents": "postcss-merge-idents/src/index.js",
"lerna:postcss-merge-longhand": "postcss-merge-longhand/src/index.js",
"lerna:postcss-merge-rules": "postcss-merge-rules/src/index.js",
"lerna:postcss-minify-font-values": "postcss-minify-font-values/src/index.js",
"lerna:postcss-minify-gradients": "postcss-minify-gradients/src/index.js",
"lerna:postcss-minify-params": "postcss-minify-params/src/index.js",
"lerna:postcss-minify-selectors": "postcss-minify-selectors/src/index.js",
"lerna:postcss-normalize-charset": "postcss-normalize-charset/src/index.js",
"lerna:postcss-normalize-display-values": "postcss-normalize-display-values/src/index.js",
"lerna:postcss-normalize-positions": "postcss-normalize-positions/src/index.js",
"lerna:postcss-normalize-repeat-style": "postcss-normalize-repeat-style/src/index.js",
"lerna:postcss-normalize-string": "postcss-normalize-string/src/index.js",
"lerna:postcss-normalize-timing-functions": "postcss-normalize-timing-functions/src/index.js",
"lerna:postcss-normalize-unicode": "postcss-normalize-unicode/src/index.js",
"lerna:postcss-normalize-url": "postcss-normalize-url/src/index.js",
"lerna:postcss-normalize-whitespace": "postcss-normalize-whitespace/src/index.js",
"lerna:postcss-ordered-values": "postcss-ordered-values/src/index.js",
"lerna:postcss-reduce-idents": "postcss-reduce-idents/src/index.js",
"lerna:postcss-reduce-initial": "postcss-reduce-initial/src/index.js",
"lerna:postcss-reduce-transforms": "postcss-reduce-transforms/src/index.js",
"lerna:postcss-svgo": "postcss-svgo/src/index.js",
"lerna:postcss-unique-selectors": "postcss-unique-selectors/src/index.js",
"lerna:postcss-zindex": "postcss-zindex/src/index.js",
"lerna:stylehacks": "stylehacks/src/index.js",
"lerna:cssnano-util-raw-cache": "cssnano-util-raw-cache/src/index.js"
}
}
]
]
}
},
"presets": [
[
"env",
{
"targets": {
"node": 4
}
}
]
]
},
"eslintConfig": {
"extends": "cssnano",
"rules": {
"import/no-unresolved": [
0
]
}
},
"browserslist": {
"chrome58": [
"Chrome 58"
],
"edge15": [
"Edge 15"
],
"ie6": [
"IE 6"
],
"ie7": [
"IE 7"
],
"ie8": [
"IE 8"
],
"ie9": [
"IE 9"
],
"opera9": [
"Opera 9"
],
"firefox2": [
"Firefox 2"
],
"safari5": [
"Safari < 5"
]
}
}