free-swig
Version:
A simple, powerful, and extendable templating engine for node.js, similar to Django, Jinja2, and Twig.
78 lines (77 loc) • 2.05 kB
JSON
{
"name": "free-swig",
"version": "1.5.5",
"description": "A simple, powerful, and extendable templating engine for node.js, similar to Django, Jinja2, and Twig.",
"keywords": [
"template",
"templating",
"html",
"django",
"jinja",
"twig",
"block"
],
"repository": {
"type": "git",
"url": "https://github.com/freecycle/swig-templates.git"
},
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"uglify-js": "3.15.5",
"yargs": "^17.5.0"
},
"devDependencies": {
"copyfiles": "^2.4.1",
"expect.js": "~0.3.1",
"file": "~0.2.2",
"jsdoc": "4.0.0",
"less": "~4.2.0",
"lodash": "~4.17.21",
"mocha": "^10.2.0",
"rimraf": "^3.0.2",
"semistandard": "^17.0.0"
},
"license": "MIT",
"main": "index",
"bin": {
"swig": "./bin/swig.js"
},
"scripts": {
"copy": "copyfiles -u 1 'docs/**/*.{ico,css,js}' build/",
"html": "static-site -s docs -b build",
"jsdoc:swig": "jsdoc lib/swig.js -X > docs/data/api.json",
"jsdoc:filters": "jsdoc lib/filters.js -X > docs/data/filters.json",
"jsdoc:tags": "jsdoc lib/tags/ -X > docs/data/tags.json",
"jsdoc:loaders": "jsdoc lib/loaders/ -X > docs/data/loaders.json",
"jsdoc:parser": "jsdoc lib/parser.js lib/lexer.js -X > docs/data/extending.json",
"jsdoc": "npm run jsdoc:swig && npm run jsdoc:filters && npm run jsdoc:tags && npm run jsdoc:loaders && npm run jsdoc:parser",
"lint": "semistandard 'lib/**/*.js' 'tests/**/*.js'",
"predocs": "npm run jsdoc && npm run copy && npm run html",
"test": "mocha --exclude test/bin/* tests",
"semantic-release": "semantic-release"
},
"watches": {
"copy": "docs/**/*.{ico,css,js}",
"html": [
"docs/**/*.{html,json}",
"source/_helpers/**"
],
"jsdoc": "lib/**/*.js"
},
"bugs": {
"url": "https://github.com/node-swig/swig-templates/issues"
},
"semistandard": {
"env": [
"mocha"
],
"ignore": [
"docs",
"dist",
"tmp",
"examples"
]
}
}