package.json
5.6 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
{
"_args": [
[
{
"raw": "postcss-modules-local-by-default@^1.0.1",
"scope": null,
"escapedName": "postcss-modules-local-by-default",
"name": "postcss-modules-local-by-default",
"rawSpec": "^1.0.1",
"spec": ">=1.0.1 <2.0.0",
"type": "range"
},
"D:\\100-Projects\\100-AIAHTML5\\400-SOURCECODE\\AIAHTML5.Admin\\node_modules\\css-loader"
]
],
"_from": "postcss-modules-local-by-default@>=1.0.1 <2.0.0",
"_id": "postcss-modules-local-by-default@1.2.0",
"_inCache": true,
"_location": "/postcss-modules-local-by-default",
"_nodeVersion": "7.6.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/postcss-modules-local-by-default-1.2.0.tgz_1495407266237_0.4570582681335509"
},
"_npmUser": {
"name": "geelen",
"email": "hi@glenmaddern.com"
},
"_npmVersion": "4.1.2",
"_phantomChildren": {
"escape-string-regexp": "1.0.5",
"has-flag": "1.0.0",
"source-map": "0.5.6"
},
"_requested": {
"raw": "postcss-modules-local-by-default@^1.0.1",
"scope": null,
"escapedName": "postcss-modules-local-by-default",
"name": "postcss-modules-local-by-default",
"rawSpec": "^1.0.1",
"spec": ">=1.0.1 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/css-loader"
],
"_resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz",
"_shasum": "f7d80c398c5a393fa7964466bd19500a7d61c069",
"_shrinkwrap": null,
"_spec": "postcss-modules-local-by-default@^1.0.1",
"_where": "D:\\100-Projects\\100-AIAHTML5\\400-SOURCECODE\\AIAHTML5.Admin\\node_modules\\css-loader",
"author": {
"name": "Mark Dalgleish"
},
"bugs": {
"url": "https://github.com/css-modules/postcss-modules-local-by-default/issues"
},
"dependencies": {
"css-selector-tokenizer": "^0.7.0",
"postcss": "^6.0.1"
},
"description": "A CSS Modules transform to make local scope the default",
"devDependencies": {
"chokidar-cli": "^1.0.1",
"codecov.io": "^0.1.2",
"coveralls": "^2.11.2",
"eslint": "^3.19.0",
"istanbul": "^0.4.5",
"tape": "^4.0.0"
},
"directories": {},
"dist": {
"shasum": "f7d80c398c5a393fa7964466bd19500a7d61c069",
"tarball": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz"
},
"files": [
"index.js"
],
"gitHead": "8c7f208f12d32d65a4233ffaf10253f538d85e9e",
"homepage": "https://github.com/css-modules/postcss-modules-local-by-default#readme",
"keywords": [
"css-modules",
"postcss",
"css",
"postcss-plugin"
],
"license": "MIT",
"maintainers": [
{
"name": "geelen",
"email": "hi@glenmaddern.com"
},
{
"name": "markdalgleish",
"email": "mark.john.dalgleish@gmail.com"
},
{
"name": "sokra",
"email": "tobias.koppers@googlemail.com"
}
],
"name": "postcss-modules-local-by-default",
"optionalDependencies": {},
"readme": "[![Build Status][ci-img]][ci] [![codecov][codecov-img]][codecov] [![npm][npm-img]][npm]\n\n# CSS Modules: Local by Default\n\nTransformation examples:\n\n```css\n.foo { ... } /* => */ :local(.foo) { ... }\n\n.foo .bar { ... } /* => */ :local(.foo) :local(.bar) { ... }\n\n/* Shorthand global selector */\n\n:global .foo .bar { ... } /* => */ .foo .bar { ... }\n\n.foo :global .bar { ... } /* => */ :local(.foo) .bar { ... }\n\n/* Targeted global selector */\n\n:global(.foo) .bar { ... } /* => */ .foo :local(.bar) { ... }\n\n.foo:global(.bar) { ... } /* => */ :local(.foo).bar { ... }\n\n.foo :global(.bar) .baz { ... } /* => */ :local(.foo) .bar :local(.baz) { ... }\n\n.foo:global(.bar) .baz { ... } /* => */ :local(.foo).bar :local(.baz) { ... }\n```\n\n## Building\n\n```bash\n$ npm install\n$ npm test\n```\n\n - Build: [![Build Status][ci-img]][ci]\n - Lines: [![coveralls][coveralls-img]][coveralls]\n - Statements: [![codecov][codecov-img]][codecov]\n\n## Development\n\n```bash\n$ npm run autotest\n```\n\n## License\n\nMIT\n\n## With thanks\n\n - [Tobias Koppers](https://github.com/sokra)\n - [Glen Maddern](https://github.com/geelen)\n\n---\nMark Dalgleish, 2015.\n\n[ci-img]: https://img.shields.io/travis/css-modules/postcss-modules-local-by-default/master.svg?style=flat-square\n[ci]: https://travis-ci.org/css-modules/postcss-modules-local-by-default\n[npm-img]: https://img.shields.io/npm/v/postcss-modules-local-by-default.svg?style=flat-square\n[npm]: https://www.npmjs.com/package/postcss-modules-local-by-default\n[coveralls-img]: https://img.shields.io/coveralls/css-modules/postcss-modules-local-by-default/master.svg?style=flat-square\n[coveralls]: https://coveralls.io/r/css-modules/postcss-modules-local-by-default?branch=master\n[codecov-img]: https://img.shields.io/codecov/c/github/css-modules/postcss-modules-local-by-default/master.svg?style=flat-square\n[codecov]: https://codecov.io/github/css-modules/postcss-modules-local-by-default?branch=master\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/css-modules/postcss-modules-local-by-default.git"
},
"scripts": {
"autotest": "chokidar index.js test.js -c 'npm test'",
"cover": "istanbul cover test.js",
"lint": "eslint index.js test.js",
"precover": "npm run lint",
"prepublish": "npm prune && npm test",
"pretest": "npm run lint",
"publish-patch": "npm prune && npm test && npm version patch && git push && git push --tags && npm publish",
"test": "tape test.js",
"travis": "npm run cover -- --report lcovonly"
},
"version": "1.2.0"
}