package.json
5.63 KB
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
{
"_args": [
[
{
"raw": "postcss-merge-rules@^2.0.3",
"scope": null,
"escapedName": "postcss-merge-rules",
"name": "postcss-merge-rules",
"rawSpec": "^2.0.3",
"spec": ">=2.0.3 <3.0.0",
"type": "range"
},
"D:\\100-Projects\\100-AIAHTML5\\400-SOURCECODE\\AIAHTML5.Admin\\node_modules\\cssnano"
]
],
"_from": "postcss-merge-rules@>=2.0.3 <3.0.0",
"_id": "postcss-merge-rules@2.1.2",
"_inCache": true,
"_location": "/postcss-merge-rules",
"_nodeVersion": "6.9.1",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/postcss-merge-rules-2.1.2.tgz_1487589040949_0.7047087182290852"
},
"_npmUser": {
"name": "beneb",
"email": "beneb.info@gmail.com"
},
"_npmVersion": "3.10.8",
"_phantomChildren": {},
"_requested": {
"raw": "postcss-merge-rules@^2.0.3",
"scope": null,
"escapedName": "postcss-merge-rules",
"name": "postcss-merge-rules",
"rawSpec": "^2.0.3",
"spec": ">=2.0.3 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/cssnano"
],
"_resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz",
"_shasum": "d1df5dfaa7b1acc3be553f0e9e10e87c61b5f721",
"_shrinkwrap": null,
"_spec": "postcss-merge-rules@^2.0.3",
"_where": "D:\\100-Projects\\100-AIAHTML5\\400-SOURCECODE\\AIAHTML5.Admin\\node_modules\\cssnano",
"author": {
"name": "Ben Briggs",
"email": "beneb.info@gmail.com",
"url": "http://beneb.info"
},
"ava": {
"require": "babel-register"
},
"browserslist": {
"chrome58": [
"Chrome 58"
],
"edge15": [
"Edge 15"
],
"ie6": [
"IE 6"
],
"ie7": [
"IE 7"
]
},
"bugs": {
"url": "https://github.com/ben-eb/postcss-merge-rules/issues"
},
"dependencies": {
"browserslist": "^1.5.2",
"caniuse-api": "^1.5.2",
"postcss": "^5.0.4",
"postcss-selector-parser": "^2.2.2",
"vendors": "^1.0.0"
},
"description": "Merge CSS rules with PostCSS.",
"devDependencies": {
"ava": "^0.17.0",
"babel-cli": "^6.3.17",
"babel-core": "^6.3.26",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-istanbul": "^2.0.0",
"babel-preset-es2015": "^6.3.13",
"babel-preset-es2015-loose": "^7.0.0",
"babel-preset-stage-0": "^6.3.13",
"babel-register": "^6.9.0",
"cross-env": "^2.0.1",
"del-cli": "^0.2.0",
"eslint": "^3.0.0",
"eslint-config-cssnano": "^3.0.0",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-import": "^2.0.1",
"nyc": "^10.0.0",
"postcss-discard-comments": "^2.0.4",
"postcss-simple-vars": "^3.0.0"
},
"directories": {},
"dist": {
"shasum": "d1df5dfaa7b1acc3be553f0e9e10e87c61b5f721",
"tarball": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz"
},
"eslintConfig": {
"extends": "cssnano"
},
"files": [
"LICENSE-MIT",
"dist"
],
"gitHead": "967992471f8e1f40a7361482b6bc5cfc488293d8",
"homepage": "https://github.com/ben-eb/postcss-merge-rules",
"keywords": [
"css",
"optimise",
"postcss",
"postcss-plugin"
],
"license": "MIT",
"main": "dist/index.js",
"maintainers": [
{
"name": "beneb",
"email": "beneb.info@gmail.com"
},
{
"name": "trysound",
"email": "trysound@yandex.ru"
}
],
"name": "postcss-merge-rules",
"nyc": {
"sourceMap": false,
"instrument": false
},
"optionalDependencies": {},
"readme": "# [postcss][postcss]-merge-rules [][ci] [][npm] [][deps]\n\n> Merge CSS rules with PostCSS.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-merge-rules) do:\n\n```\nnpm install postcss-merge-rules --save\n```\n\n## Examples\n\nThis module will attempt to merge *adjacent* CSS rules:\n\n### By declarations\n\n#### Input\n\n```css\na {\n color: blue;\n font-weight: bold\n}\n\np {\n color: blue;\n font-weight: bold\n}\n```\n\n#### Output\n\n```css\na,p {\n color: blue;\n font-weight: bold\n}\n```\n\n### By selectors\n\n#### Input\n\n```css\na {\n color: blue\n}\n\na {\n font-weight: bold\n}\n```\n\n#### Output\n\n```css\na {\n color: blue;\n font-weight: bold\n}\n```\n\n### By partial declarations\n\n#### Input\n\n```css\na {\n font-weight: bold\n}\n\np {\n color: blue;\n font-weight: bold\n}\n```\n\n#### Output\n\n```css\na,p {\n font-weight: bold\n}\n\np {\n color: blue\n}\n```\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n## Contributing\n\nPull requests are welcome. If you add functionality, then please add unit tests\nto cover it.\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n[ci]: https://travis-ci.org/ben-eb/postcss-merge-rules\n[deps]: https://gemnasium.com/ben-eb/postcss-merge-rules\n[npm]: http://badge.fury.io/js/postcss-merge-rules\n[postcss]: https://github.com/postcss/postcss\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/ben-eb/postcss-merge-rules.git"
},
"scripts": {
"prepublish": "del-cli dist && cross-env BABEL_ENV=publish babel src --out-dir dist --ignore /__tests__/",
"pretest": "eslint src",
"report": "nyc report --reporter=html",
"test": "cross-env BABEL_ENV=test nyc ava src/__tests__",
"test-012": "cross-env BABEL_ENV=test nyc ava src/__tests__"
},
"version": "2.1.2"
}