mirror of https://github.com/jkjoy/sunpeiwen.git
127 lines
3.3 KiB
JSON
127 lines
3.3 KiB
JSON
{
|
|
"name": "swig-templates",
|
|
"version": "2.0.3",
|
|
"description": "A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.",
|
|
"keywords": [
|
|
"template",
|
|
"templating",
|
|
"html",
|
|
"django",
|
|
"jinja",
|
|
"twig",
|
|
"express",
|
|
"block"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/node-swig/swig-templates.git"
|
|
},
|
|
"dependencies": {
|
|
"optimist": "~0.6",
|
|
"uglify-js": "2.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^7.0.0",
|
|
"@commitlint/config-conventional": "^7.0.1",
|
|
"@commitlint/travis-cli": "^7.0.0",
|
|
"blanket": "~1.1",
|
|
"browserify": "~2",
|
|
"copyfiles": "^1.0.0",
|
|
"expect.js": "~0.2",
|
|
"express": "~3",
|
|
"file": "~0.2",
|
|
"git-validate": "^2.1.4",
|
|
"husky": "^0.14.3",
|
|
"jsdoc": "3.4.0",
|
|
"less": "~1.4",
|
|
"lint-staged": "^7.2.2",
|
|
"live-server": "^1.1.0",
|
|
"lodash": "~1.3.1",
|
|
"mocha": "^5.2.0",
|
|
"mocha-chrome": "^1.1.0",
|
|
"npm-run-all": "^4.1.3",
|
|
"parallelshell": "^2.0.0",
|
|
"prettier-standard": "^8.0.1",
|
|
"rerun-script": "^0.6.0",
|
|
"rimraf": "^2.5.2",
|
|
"semantic-release": "^15.9.8",
|
|
"standard": "^11.0.1",
|
|
"static-site": "^1.3.1",
|
|
"travis-cov": "~0.2"
|
|
},
|
|
"license": "MIT",
|
|
"main": "index",
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"bin": {
|
|
"swig": "./bin/swig.js"
|
|
},
|
|
"scripts": {
|
|
"commitmsg": "commitlint -E GIT_PARAMS",
|
|
"copy": "copyfiles -u 1 'docs/**/*.{ico,css,js}' build/",
|
|
"docs": "parallelshell 'live-server build/' 'rerun-script'",
|
|
"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": "run-s jsdoc:swig jsdoc:filters jsdoc:tags jsdoc:loaders jsdoc:parser",
|
|
"lint": "standard 'lib/**/*.js' 'tests/**/*.js' 'scripts/**/*.js'",
|
|
"predocs": "run-s jsdoc copy html",
|
|
"test": "make test reporter=spec && make test-browser && make coverage cov-reporter=travis-cov",
|
|
"semantic-release": "semantic-release",
|
|
"format": "prettier-standard 'lib/**/*.js' 'tests/**/*.js' 'scripts/**/*.js'",
|
|
"precommit": "lint-staged"
|
|
},
|
|
"watches": {
|
|
"copy": "docs/**/*.{ico,css,js}",
|
|
"html": [
|
|
"docs/**/*.{html,json}",
|
|
"source/_helpers/**"
|
|
],
|
|
"jsdoc": "lib/**/*.js"
|
|
},
|
|
"config": {
|
|
"blanket": {
|
|
"pattern": [
|
|
"swig-templates/lib"
|
|
]
|
|
},
|
|
"travis-cov": {
|
|
"threshold": 95
|
|
}
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/node-swig/swig-templates/issues"
|
|
},
|
|
"standard": {
|
|
"env": [
|
|
"mocha"
|
|
],
|
|
"ignore": [
|
|
"docs",
|
|
"dist",
|
|
"tmp",
|
|
"examples"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"linters": {
|
|
"lib/**/*.js": [
|
|
"prettier-standard",
|
|
"git add"
|
|
],
|
|
"tests/**/*.js": [
|
|
"prettier-standard",
|
|
"git add"
|
|
],
|
|
"scripts/**/*.js": [
|
|
"prettier-standard",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|
|
}
|