mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
66 lines
35 KiB
JSON
66 lines
35 KiB
JSON
![]() |
{
|
||
|
"name": "jade",
|
||
|
"description": "Jade template engine",
|
||
|
"version": "0.33.0",
|
||
|
"author": {
|
||
|
"name": "TJ Holowaychuk",
|
||
|
"email": "tj@vision-media.ca"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/visionmedia/jade"
|
||
|
},
|
||
|
"main": "./index.js",
|
||
|
"bin": {
|
||
|
"jade": "./bin/jade"
|
||
|
},
|
||
|
"man": [
|
||
|
"./jade.1"
|
||
|
],
|
||
|
"dependencies": {
|
||
|
"commander": "1.2.0",
|
||
|
"mkdirp": "0.3.x",
|
||
|
"transformers": "2.0.1",
|
||
|
"character-parser": "1.0.2",
|
||
|
"monocle": "0.1.48",
|
||
|
"with": "~1.1.0",
|
||
|
"constantinople": "~1.0.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"coffee-script": "*",
|
||
|
"mocha": "*",
|
||
|
"markdown": "*",
|
||
|
"stylus": "*",
|
||
|
"uubench": "*",
|
||
|
"should": "*",
|
||
|
"less": "*",
|
||
|
"uglify-js": "*",
|
||
|
"browserify": "*",
|
||
|
"linify": "*"
|
||
|
},
|
||
|
"component": {
|
||
|
"scripts": {
|
||
|
"jade": "runtime.js"
|
||
|
}
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "mocha -R spec",
|
||
|
"prepublish": "npm prune && linify transform bin && npm run build",
|
||
|
"build": "npm run compile",
|
||
|
"compile": "npm run compile-full && npm run compile-runtime",
|
||
|
"compile-full": "browserify ./lib/jade.js --standalone jade -x ./node_modules/transformers > jade.js",
|
||
|
"compile-runtime": "browserify ./lib/runtime.js --standalone jade > runtime.js"
|
||
|
},
|
||
|
"browser": {
|
||
|
"./lib/filters.js": "./lib/filters-client.js"
|
||
|
},
|
||
|
"readme": "# Jade - template engine \r\n[](https://travis-ci.org/visionmedia/jade)\r\n[](https://gemnasium.com/visionmedia/jade)\r\n[](http://badge.fury.io/js/jade)\r\n\r\n Jade is a high performance template engine heavily influenced by [Haml](http://haml-lang.com)\r\n and implemented with JavaScript for [node](http://nodejs.org). For discussion join the [Google Group](http://groups.google.com/group/jadejs).\r\n\r\n## Announcement\r\n\r\nJade version 0.31.0 deprecated implicit text only support for scripts and styles. To fix this all you need to do is add a `.` character after the script or style tag.\r\n\r\nIt is hoped that this change will make Jade easier for newcomers to learn without affecting the power of the language or leading to excessive verboseness.\r\n\r\nIf you have a lot of Jade files that need fixing you can use [fix-jade](https://github.com/ForbesLindesay/fix-jade) to attempt to automate the process.\r\n\r\n## Test drive\r\n\r\n You can test drive Jade online [here](http://naltatis.github.com/jade-syntax-docs).\r\n\r\n## README Contents\r\n\r\n- [Features](#a1)\r\n- [Implementations](#a2)\r\n- [Installation](#a3)\r\n- [Browser Support](#a4)\r\n- [Public API](#a5)\r\n- [Syntax](#a6)\r\n - [Line Endings](#a6-1)\r\n - [Tags](#a6-2)\r\n - [Tag Text](#a6-3)\r\n - [Comments](#a6-4)\r\n - [Block Comments](#a6-5)\r\n - [Nesting](#a6-6)\r\n - [Block Expansion](#a6-7)\r\n - [Case](#a6-8)\r\n - [Attributes](#a6-9)\r\n - [HTML](#a6-10)\r\n - [Doctypes](#a6-11)\r\n- [Filters](#a7)\r\n- [Code](#a8)\r\n- [Iteration](#a9)\r\n- [Conditionals](#a10)\r\n- [Template inheritance](#a11)\r\n- [Block append / prepend](#a12)\r\n- [Includes](#a13)\r\n- [Mixins](#a14)\r\n- [Generated Output](#a15)\r\n- [Example Makefile](#a16)\r\n- [jade(1)](#a17)\r\n- [Tutorials](#a18)\r\n- [License](#a19)\r\n\r\n<a name=\"a1\"/>\r\n## Features\r\n\r\n - client-side support\r\n - great readability\r\n - flexible indentation\r\n - block-expansion\r\n - mixins\r\n - static includes\r\n - attribute interpolation\r\n - code is escaped by default for security\r\n - contextual error reporting at compile & run time\r\n - executable for compiling jade templates via the command line\r\n - html 5 mode (the default doctype)\r\n - optional memory caching\r\n - combine dynamic and static tag classes\r\n - parse tree manipulation via _filters_\r\n - template inheritance\r\n - block append / prepend\r\n - supports [Express JS](http://expressjs.com) out of the box\r\n - transparent iteration over objects, arrays, and even non-enumerables via `each`\r\n - block comments\r\n - no tag prefix\r\n - filters\r\n - :stylus must have [stylus](http://github.com/LearnBoost/stylus) installed\r\n - :less must have [less.js](http://github.com/cloudhead/less.js) installed\r\n - :markdown must have [markdown-js](http://github.com/evilstreak/markdown-js), [node-discount](http://github.com/visionmedia/node-discount), or [marked](http://github.com/chjj/marked) installed\r\n - :cdata\r\n - :coffeescript must have [coffee-script](http://jashkenas.github.com/coffee-script/) installed\r\n - [Emacs Mode](https://github.com/brianc/jade-mode)\r\n - [Vim Syntax](https://github.com/digitaltoad/vim-jade)\r\n - [TextMate Bundle](http://github.com/miksago/jade-tmbundle)\r\n - [Coda/SubEtha syntax Mode](https://github.com/aaronmccall/jade.mode)\r\n - [Screencasts](http://tjholowaychuk.com/post/1004255394/jade-screencast-template-engine-for-nodejs)\r\n - [html2jade](https://github.com/donpark/html2jade) converter\r\n\r\n<a name=\"a2\"/>\r\n## Implementations\r\n\r\n - [php](http://github.com/everzet/jade.php)\r\n - [scala](http://scalate.fusesource.org/versions/snapshot/documentation/scaml-reference.html)\r\n - [ruby](https://github.com/slim-template/slim)\r\n - [python](https://github.com/SyrusAkbary/pyjade)\r\n - [java](h
|
||
|
"readmeFilename": "Readme.md",
|
||
|
"_id": "jade@0.33.0",
|
||
|
"dist": {
|
||
|
"shasum": "1dfe7f9f3bfb1bff30c0a7e9da9b7b76acb60bee"
|
||
|
},
|
||
|
"_from": "jade@",
|
||
|
"_resolved": "https://registry.npmjs.org/jade/-/jade-0.33.0.tgz"
|
||
|
}
|