166 lines
13 KiB
JSON
166 lines
13 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "handlebars@^4.0.3",
|
||
|
"scope": null,
|
||
|
"escapedName": "handlebars",
|
||
|
"name": "handlebars",
|
||
|
"rawSpec": "^4.0.3",
|
||
|
"spec": ">=4.0.3 <5.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/istanbul-reports"
|
||
|
]
|
||
|
],
|
||
|
"_from": "handlebars@>=4.0.3 <5.0.0",
|
||
|
"_id": "handlebars@4.0.11",
|
||
|
"_inCache": true,
|
||
|
"_location": "/handlebars",
|
||
|
"_nodeVersion": "6.9.2",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "s3://npm-registry-packages",
|
||
|
"tmp": "tmp/handlebars-4.0.11.tgz_1508273580720_0.6075705960392952"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "knappi",
|
||
|
"email": "npm@knappi.org"
|
||
|
},
|
||
|
"_npmVersion": "3.10.9",
|
||
|
"_phantomChildren": {
|
||
|
"amdefine": "1.0.1",
|
||
|
"center-align": "0.1.3",
|
||
|
"decamelize": "1.2.0",
|
||
|
"right-align": "0.1.3",
|
||
|
"uglify-to-browserify": "1.0.2",
|
||
|
"window-size": "0.1.0"
|
||
|
},
|
||
|
"_requested": {
|
||
|
"raw": "handlebars@^4.0.3",
|
||
|
"scope": null,
|
||
|
"escapedName": "handlebars",
|
||
|
"name": "handlebars",
|
||
|
"rawSpec": "^4.0.3",
|
||
|
"spec": ">=4.0.3 <5.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/istanbul-reports"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.11.tgz",
|
||
|
"_shasum": "630a35dfe0294bc281edae6ffc5d329fc7982dcc",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "handlebars@^4.0.3",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/istanbul-reports",
|
||
|
"author": {
|
||
|
"name": "Yehuda Katz"
|
||
|
},
|
||
|
"barename": "handlebars",
|
||
|
"bin": {
|
||
|
"handlebars": "bin/handlebars"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/wycats/handlebars.js/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"async": "^1.4.0",
|
||
|
"optimist": "^0.6.1",
|
||
|
"source-map": "^0.4.4",
|
||
|
"uglify-js": "^2.6"
|
||
|
},
|
||
|
"description": "Handlebars provides the power necessary to let you build semantic templates effectively with no frustration",
|
||
|
"devDependencies": {
|
||
|
"aws-sdk": "^2.1.49",
|
||
|
"babel-loader": "^5.0.0",
|
||
|
"babel-runtime": "^5.1.10",
|
||
|
"benchmark": "~1.0",
|
||
|
"dustjs-linkedin": "^2.0.2",
|
||
|
"eco": "~1.1.0-rc-3",
|
||
|
"grunt": "~0.4.1",
|
||
|
"grunt-babel": "^5.0.0",
|
||
|
"grunt-cli": "~0.1.10",
|
||
|
"grunt-contrib-clean": "0.x",
|
||
|
"grunt-contrib-concat": "0.x",
|
||
|
"grunt-contrib-connect": "0.x",
|
||
|
"grunt-contrib-copy": "0.x",
|
||
|
"grunt-contrib-requirejs": "0.x",
|
||
|
"grunt-contrib-uglify": "0.x",
|
||
|
"grunt-contrib-watch": "0.x",
|
||
|
"grunt-eslint": "^17.1.0",
|
||
|
"grunt-saucelabs": "8.x",
|
||
|
"grunt-webpack": "^1.0.8",
|
||
|
"istanbul": "^0.3.0",
|
||
|
"jison": "~0.3.0",
|
||
|
"mocha": "~1.20.0",
|
||
|
"mock-stdin": "^0.3.0",
|
||
|
"mustache": "^2.1.3",
|
||
|
"semver": "^5.0.1",
|
||
|
"underscore": "^1.5.1",
|
||
|
"webpack": "^1.12.6",
|
||
|
"webpack-dev-server": "^1.12.1"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "630a35dfe0294bc281edae6ffc5d329fc7982dcc",
|
||
|
"tarball": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.11.tgz"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=0.4.7"
|
||
|
},
|
||
|
"gitHead": "1e954ddf3c3ec6d2318e1fadc5e03aaf065b2fbd",
|
||
|
"homepage": "http://www.handlebarsjs.com/",
|
||
|
"jspm": {
|
||
|
"main": "handlebars",
|
||
|
"directories": {
|
||
|
"lib": "dist/amd"
|
||
|
},
|
||
|
"buildConfig": {
|
||
|
"minify": true
|
||
|
}
|
||
|
},
|
||
|
"keywords": [
|
||
|
"handlebars",
|
||
|
"mustache",
|
||
|
"template",
|
||
|
"html"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "lib/index.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "erisds",
|
||
|
"email": "erisds@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "knappi",
|
||
|
"email": "npm@knappi.org"
|
||
|
},
|
||
|
{
|
||
|
"name": "kpdecker",
|
||
|
"email": "kpdecker@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "lawnsea",
|
||
|
"email": "lawnsea@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "wycats",
|
||
|
"email": "wycats@gmail.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "handlebars",
|
||
|
"optionalDependencies": {
|
||
|
"uglify-js": "^2.6"
|
||
|
},
|
||
|
"readme": "[![Travis Build Status](https://img.shields.io/travis/wycats/handlebars.js/master.svg)](https://travis-ci.org/wycats/handlebars.js)\n[![Appveyor Build Status](https://ci.appveyor.com/api/projects/status/github/wycats/handlebars.js?branch=master&svg=true)](https://ci.appveyor.com/project/wycats/handlebars-js)\n[![Selenium Test Status](https://saucelabs.com/buildstatus/handlebars)](https://saucelabs.com/u/handlebars)\n\nHandlebars.js\n=============\n\nHandlebars.js is an extension to the [Mustache templating\nlanguage](http://mustache.github.com/) created by Chris Wanstrath.\nHandlebars.js and Mustache are both logicless templating languages that\nkeep the view and the code separated like we all know they should be.\n\nCheckout the official Handlebars docs site at\n[http://www.handlebarsjs.com](http://www.handlebarsjs.com) and the live demo at [http://tryhandlebarsjs.com/](http://tryhandlebarsjs.com/).\n\nInstalling\n----------\n\nSee our [installation documentation](http://handlebarsjs.com/installation.html).\n\nUsage\n-----\nIn general, the syntax of Handlebars.js templates is a superset\nof Mustache templates. For basic syntax, check out the [Mustache\nmanpage](http://mustache.github.com/mustache.5.html).\n\nOnce you have a template, use the `Handlebars.compile` method to compile\nthe template into a function. The generated function takes a context\nargument, which will be used to render the template.\n\n```js\nvar source = \"<p>Hello, my name is {{name}}. I am from {{hometown}}. I have \" +\n \"{{kids.length}} kids:</p>\" +\n \"<ul>{{#kids}}<li>{{name}} is {{age}}</li>{{/kids}}</ul>\";\nvar template = Handlebars.compile(source);\n\nvar data = { \"name\": \"Alan\", \"hometown\": \"Somewhere, TX\",\n \"kids\": [{\"name\": \"Jimmy\", \"age\": \"12\"}, {\"name\": \"Sally\", \"age\": \"4\"}]};\nvar result = template(data);\n\n// Would render:\n// <p>Hello, my name is Alan. I am from Somewhere, TX. I have 2 kids:</p>\n// <ul>\n// <li>Jimmy is 12</li>\n// <li>Sally is 4</li>\n// </ul>\n```\n\nFull documentation and more examples are at [handlebarsjs.com](http://handlebarsjs.com/).\n\nPrecompiling Templates\n----------------------\n\nHandlebars allows templates to be precompiled and included as javascript code rather than the handlebars template allowing for faster startup time. Full details are located [here](http://handlebarsjs.com/precompilation.html).\n\nDifferences Between Handlebars.js and Mustache\n----------------------------------------------\nHandlebars.js adds a couple of additional features to make writing\ntemplates easier and also changes a tiny detail of how partials work.\n\n- [Nested Paths](http://handlebarsjs.com/#paths)\n- [Helpers](http://handlebarsjs.com/#helpers)\n- [Block Expressions](http://handlebarsjs.com/#block-expressions)\n- [Literal Values](http://handlebarsjs.com/#literals)\n- [Delimited Comments](http://handlebarsjs.com/#comments)\n\nBlock expressions have the same syntax as mustache sections but should not be confused with one another. Sections are akin to an implicit `each` or `with` statement depending on the input data and helpers are explicit pieces of code that are free to implement whatever behavior they like. The [mustache spec](http://mustache.github.io/mustache.5.html) defines the exact behavior of sections. In the case of name conflicts, helpers are given priority.\n\n### Compatibility\n\nThere are a few Mustache behaviors that Handlebars does not implement.\n- Handlebars deviates from Mustache slightly in that it does not perform recursive lookup by default. The compile time `compat` flag must be set to enable this functionality. Users should note that there is a performance cost for enabling this flag. The exact cost varies by template, but it's recommended that performance sensitive operations should avoid this mode and instead opt for explicit path references.\n- The optional Mustache-style lambdas are not supported. Instead Handlebars provides its own lambda resolution that follows the behaviors of helpers.\n- Alternative deli
|
||
|
"readmeFilename": "README.markdown",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/wycats/handlebars.js.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "grunt"
|
||
|
},
|
||
|
"version": "4.0.11"
|
||
|
}
|