GT2/GT2-iOS/node_modules/cssom/package.json

102 lines
4.5 KiB
JSON
Raw Normal View History

2018-02-12 17:26:06 +00:00
{
"_args": [
[
{
"raw": "cssom@>= 0.3.2 < 0.4.0",
"scope": null,
"escapedName": "cssom",
"name": "cssom",
"rawSpec": ">= 0.3.2 < 0.4.0",
"spec": ">=0.3.2 <0.4.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jsdom"
]
],
"_from": "cssom@>=0.3.2 <0.4.0",
"_id": "cssom@0.3.2",
"_inCache": true,
"_location": "/cssom",
"_nodeVersion": "4.4.3",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/cssom-0.3.2.tgz_1484956361462_0.48309571552090347"
},
"_npmUser": {
"name": "nv",
"email": "me@elv1s.ru"
},
"_npmVersion": "2.15.1",
"_phantomChildren": {},
"_requested": {
"raw": "cssom@>= 0.3.2 < 0.4.0",
"scope": null,
"escapedName": "cssom",
"name": "cssom",
"rawSpec": ">= 0.3.2 < 0.4.0",
"spec": ">=0.3.2 <0.4.0",
"type": "range"
},
"_requiredBy": [
"/cssstyle",
"/jsdom"
],
"_resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.2.tgz",
"_shasum": "b8036170c79f07a90ff2f16e22284027a243848b",
"_shrinkwrap": null,
"_spec": "cssom@>= 0.3.2 < 0.4.0",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jsdom",
"author": {
"name": "Nikita Vasilyev",
"email": "me@elv1s.ru"
},
"bugs": {
"url": "https://github.com/NV/CSSOM/issues"
},
"dependencies": {},
"description": "CSS Object Model implementation and CSS parser",
"devDependencies": {
"jake": "~0.7.3"
},
"directories": {},
"dist": {
"shasum": "b8036170c79f07a90ff2f16e22284027a243848b",
"tarball": "https://registry.npmjs.org/cssom/-/cssom-0.3.2.tgz"
},
"files": [
"lib/"
],
"gitHead": "d600816ea9442c5e33f27ff59de536d7b7ccd239",
"homepage": "https://github.com/NV/CSSOM#readme",
"keywords": [
"CSS",
"CSSOM",
"parser",
"styleSheet"
],
"license": "MIT",
"main": "./lib/index.js",
"maintainers": [
{
"name": "nv",
"email": "me@elv1s.ru"
},
{
"name": "domenic",
"email": "domenic@domenicdenicola.com"
}
],
"name": "cssom",
"optionalDependencies": {},
"readme": "# CSSOM\n\nCSSOM.js is a CSS parser written in pure JavaScript. It also a partial implementation of [CSS Object Model](http://dev.w3.org/csswg/cssom/). \n\n CSSOM.parse(\"body {color: black}\")\n -> {\n cssRules: [\n {\n selectorText: \"body\",\n style: {\n 0: \"color\",\n color: \"black\",\n length: 1\n }\n }\n ]\n }\n\n\n## [Parser demo](http://nv.github.com/CSSOM/docs/parse.html)\n\nWorks well in Google Chrome 6+, Safari 5+, Firefox 3.6+, Opera 10.63+.\nDoesn't work in IE < 9 because of unsupported getters/setters.\n\nTo use CSSOM.js in the browser you might want to build a one-file version that exposes CSSOM global variable:\n\n ➤ git clone https://github.com/NV/CSSOM.git\n ➤ cd CSSOM\n ➤ npm install -d\n ➤ ./node_modules/.bin/jake\n build/CSSOM.js is done\n\nTo use it with Node.js or any other CommonJS loader:\n\n ➤ npm install cssom\n\n## Dont use it if...\n\nYou parse CSS to mungle, minify or reformat the following code:\n\n```css\ndiv {\n background: gray;\n background: linear-gradient(to bottom, white 0%, black 100%);\n}\n```\n\nThis pattern is often used to give browsers that dont understand linear gradients a fallback solution (e.g. gray color in the example).\nIn CSSOM, `background: gray` [gets overwritten](http://nv.github.io/CSSOM/docs/parse.html#css=div%20%7B%0A%20%20%20%20%20%20background%3A%20gray%3B%0A%20%20%20%20background%3A%20linear-gradient(to%20bottom%2C%20white%200%25%2C%20black%20100%25)%3B%0A%7D).\nThe last same-name property always overwrites all the previous ones.\n\n\nIf you do CSS mungling, minification, image inlining, and such, CSSOM.js is no good for you, considere using one of the following:\n\n * [postcss](https://github.com/postcss/postcss)\n * [reworkcss/css](https://github.com/reworkcss/css)\n * [csso](https://github.com/css/csso)\n * [mensch](https://github.com/brettstimmerman/mensch)\n\n\n## [Specs](http://nv.github.com/CSSOM/spec/)\n\nTo run specs locally:\n\n ➤ git submodule init\n ➤ git submodule update\n\n\n## [Who uses CSSOM.js](https://github.com/NV/CSSOM/wiki/Who-uses-CSSOM.js)\n",
"readmeFilename": "README.mdown",
"repository": {
"type": "git",
"url": "git+https://github.com/NV/CSSOM.git"
},
"scripts": {
"prepublish": "jake lib/index.js"
},
"version": "0.3.2"
}