-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
85 lines (85 loc) · 2.74 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"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 <[email protected]>",
"maintainers": [
"Vyacheslav Oliyanchuk <[email protected]>"
],
"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"
}
}