You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
6.8 KiB
65 lines
6.8 KiB
{ |
|
"name": "stylus", |
|
"description": "Robust, expressive, and feature-rich CSS superset", |
|
"version": "0.53.0", |
|
"author": { |
|
"name": "TJ Holowaychuk", |
|
"email": "tj@vision-media.ca" |
|
}, |
|
"keywords": [ |
|
"css", |
|
"parser", |
|
"style", |
|
"stylesheets", |
|
"jade", |
|
"language" |
|
], |
|
"repository": { |
|
"type": "git", |
|
"url": "git://github.com/stylus/stylus" |
|
}, |
|
"main": "./index.js", |
|
"browserify": "./lib/browserify.js", |
|
"engines": { |
|
"node": "*" |
|
}, |
|
"bin": { |
|
"stylus": "./bin/stylus" |
|
}, |
|
"scripts": { |
|
"prepublish": "npm prune", |
|
"test": "mocha test/ test/middleware/ --require should --bail --reporter dot", |
|
"test-cov": "mocha test/ test/middleware/ --require should --bail --reporter html-cov > coverage.html" |
|
}, |
|
"dependencies": { |
|
"css-parse": "1.7.x", |
|
"mkdirp": "0.5.x", |
|
"debug": "*", |
|
"sax": "0.5.x", |
|
"glob": "3.2.x", |
|
"source-map": "0.1.x" |
|
}, |
|
"devDependencies": { |
|
"should": "2.x", |
|
"mocha": "*", |
|
"jscoverage": "0.3.8" |
|
}, |
|
"bugs": { |
|
"url": "https://github.com/stylus/stylus/issues" |
|
}, |
|
"homepage": "https://github.com/stylus/stylus", |
|
"directories": { |
|
"doc": "docs", |
|
"example": "examples", |
|
"test": "test" |
|
}, |
|
"license": "MIT", |
|
"readme": "# Stylus [![Build Status](https://travis-ci.org/stylus/stylus.svg?branch=master)](https://travis-ci.org/stylus/stylus)\n\n Stylus is a revolutionary new language, providing an efficient, dynamic, and expressive way to generate CSS. Supporting both an indented syntax and regular CSS style.\n\n## Installation\n\n```bash\n$ npm install stylus -g\n```\n\n### Example\n\n```stylus\nborder-radius()\n -webkit-border-radius: arguments\n -moz-border-radius: arguments\n border-radius: arguments\n\nbody a\n font: 12px/1.4 \"Lucida Grande\", Arial, sans-serif\n background: black\n color: #ccc\n\nform input\n padding: 5px\n border: 1px solid\n border-radius: 5px\n```\n\ncompiles to:\n\n```css\nbody a {\n font: 12px/1.4 \"Lucida Grande\", Arial, sans-serif;\n background: #000;\n color: #ccc;\n}\nform input {\n padding: 5px;\n border: 1px solid;\n -webkit-border-radius: 5px;\n -moz-border-radius: 5px;\n border-radius: 5px;\n}\n```\n\nthe following is equivalent to the indented version of Stylus source, using the CSS syntax instead:\n\n```stylus\nborder-radius() {\n -webkit-border-radius: arguments\n -moz-border-radius: arguments\n border-radius: arguments\n}\n\nbody a {\n font: 12px/1.4 \"Lucida Grande\", Arial, sans-serif;\n background: black;\n color: #ccc;\n}\n\nform input {\n padding: 5px;\n border: 1px solid;\n border-radius: 5px;\n}\n```\n\n### Features\n\n Stylus has _many_ features. Detailed documentation links follow:\n\n - [css syntax](docs/css-style.md) support\n - [mixins](docs/mixins.md)\n - [keyword arguments](docs/kwargs.md)\n - [variables](docs/variables.md)\n - [interpolation](docs/interpolation.md)\n - arithmetic, logical, and equality [operators](docs/operators.md)\n - [importing](docs/import.md) of other stylus sheets\n - [introspection api](docs/introspection.md)\n - type coercion\n - [@extend](docs/extend.md)\n - [conditionals](docs/conditionals.md)\n - [iteration](docs/iteration.md)\n - nested [selectors](docs/selectors.md)\n - parent reference\n - in-language [functions](docs/functions.md)\n - [variable arguments](docs/vargs.md)\n - built-in [functions](docs/bifs.md) (over 60)\n - optional [image inlining](docs/functions.url.md)\n - optional compression\n - JavaScript [API](docs/js.md)\n - extremely terse syntax\n - stylus [executable](docs/executable.md)\n - [error reporting](docs/error-reporting.md)\n - single-line and multi-line [comments](docs/comments.md)\n - css [literal](docs/literal.md)\n - character [escaping](docs/escape.md)\n - [@keyframes](docs/keyframes.md) support & expansion\n - [@font-face](docs/font-face.md) support\n - [@media](docs/media.md) support\n - Connect [Middleware](docs/middleware.md)\n - TextMate [bundle](docs/textmate.md)\n - Coda/SubEtha Edit [Syntax mode](https://github.com/atljeremy/Stylus.mode)\n - gedit [language-spec](docs/gedit.md)\n - VIM [Syntax](https://github.com/wavded/vim-stylus)\n - Espresso [Sugar](https://github.com/aljs/Stylus.sugar)\n - [Firebug extension](docs/firebug.md)\n - heroku [web service](http://styl.herokuapp.com/) for compiling stylus\n - [style guide](https://github.com/lepture/ganam) parser and generator\n - transparent vendor-specific function expansion\n\n### Community modules\n\n - https://github.com/stylus/stylus/wiki\n\n### Framework Support\n\n - [Connect](docs/middleware.md)\n - [Play! 2.0](https://github.com/patiencelabs/play-stylus)\n - [Ruby On Rails](https://github.com/forgecrafted/ruby-stylus-source)\n - [Meteor](http://docs.meteor.com/#stylus)\n - [Grails](http://grails.org/plugin/stylus-asset-pipeline)\n - [Derby](https://github.com/derbyjs/derby-stylus)\n\n### CMS Support\n\n - [DocPad](https://github.com/docpad/docpad)\n - [Punch](https://github.com/laktek/punch-stylus-compiler)\n\n### Screencasts\n\n - [Stylus Intro](http://www.screenr.com/bNY)\n - [CSS Syntax & Postfix Conditionals](http://www.screenr.com/A8v)\n\n### Authors\n\n - [TJ Holowaychuk (tj)](https://github.com/tj)\n\n### More Information\n\n - Language [comparisons](docs/compare.md)\n\n## Code of Conduct\n\nPlease note that this project is released with a [Contributor Code of Conduct](Code_of_Conduct.md). By participating in this project you agree to abide by its terms.\n\n## License \n\n(The MIT License)\n\nCopyright (c) Automattic <developer.wordpress.com>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n", |
|
"readmeFilename": "Readme.md", |
|
"_id": "stylus@0.53.0", |
|
"dist": { |
|
"shasum": "6b5fb986787b4d9bbaf7aa730c7f9a1ce7ddc019" |
|
}, |
|
"_from": "stylus@>= 0.0.1", |
|
"_resolved": "https://registry.npmjs.org/stylus/-/stylus-0.53.0.tgz" |
|
}
|
|
|