UNPKG

bem-xjst

Version:

Declarative Template Engine for the browser and server

86 lines (85 loc) 2.81 kB
{ "name": "bem-xjst", "version": "8.10.0", "description": "Declarative Template Engine for the browser and server", "keywords": [ "template", "templates", "templating", "views", "bem-xjst", "html", "bem", "template engine", "BEMHTML", "BEMTREE" ], "bin": { "bem-xjst": "bin/bem-xjst" }, "scripts": { "prepare": "npm run make", "preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true", "make": "npm run make:bemhtml && npm run make:bemtree", "make:bemhtml": "browserify --standalone bemhtml lib/bemhtml/index.js -o lib/bemhtml/bundle.js", "make:bemtree": "browserify --standalone bemtree lib/bemtree/index.js -o lib/bemtree/bundle.js", "clean": "rm -f lib/bem{html,tree}/bundle.js", "test": "npm run make && npm run test:lint && npm run test:coverage && npm run size", "test:lint": "jscs `ls lib/*.js lib/**/*.js test/*.js | grep -v bundle` && jshint `ls lib/*.js lib/**/*.js test/*.js | grep -v bundle`", "test:mocha": "mocha --reporter=spec test/*-test.js", "test:watch": "mocha -w -b --check-leaks --globals BEMXJSTError,_something --throw-deprecation", "test:coverage": "./node_modules/.bin/istanbul cover -x '**/runtime-lint/**' ./node_modules/mocha/bin/_mocha -- -u bdd -R spec test/*-test.js", "size": "npm run size:bemhtml && npm run size:bemtree", "size:bemhtml": "uglifyjs ./lib/bemhtml/bundle.js | gzip > ./bemhtml.gz && ls -ola ./bemhtml.gz | awk '{print \"BEMHTML Bundle Size:\", $4\" B\"}' && rm ./bemhtml.gz", "size:bemtree": "uglifyjs ./lib/bemtree/bundle.js | gzip > ./bemtree.gz && ls -ola ./bemtree.gz | awk '{print \"BEMTREE Bundle Size:\", $4\" B\"}' && rm ./bemtree.gz" }, "repository": { "type": "git", "url": "git://github.com/bem/bem-xjst.git" }, "bugs": { "url": "https://github.com/bem/bem-xjst/issues" }, "homepage": "https://github.com/bem/bem-xjst", "license": "MPL-2.0", "dependencies": { "coa": "^1.0.1", "enb-source-map": "1.12.1", "inherits": "^2.0.4" }, "devDependencies": { "browserify": "^13.0.1", "istanbul": "^0.4.4", "chai": "^3.5.0", "chai-as-promised": "^6.0.0", "sinon": "^2.4.1", "jscs": "^3.0.3", "jshint": "^2.7.0", "mocha": "^3.0.2", "uglify-js": "^3.0.14", "ym": "^0.1.2" }, "author": "Fedor Indutny <fedor@indutny.com>", "maintainers": [ "Vyacheslav Oliyanchuk <miripiruni@gmail.com>" ], "directories": { "bin": "./bin", "doc": "./docs", "lib": "./lib", "migration": "./migration" }, "files": [ "bin/", "lib/", "migration/", "runtime-lint/", "index.js", "CHANGELOG.md", "README.md", "README.ru.md" ], "engines": { "node": ">=8" } }