-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.95 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
{
"name": "glace-xvfb",
"version": "1.1.4",
"description": "GlaceJS Xvfb plugin",
"main": "lib/index.js",
"scripts": {
"ci": "npm run lint && npm run test:unit",
"release": "VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git add -u && git commit -m \"release $VERSION\" && git tag $VERSION && git push origin $VERSION && npm run docs:publish && npm publish",
"docs": "rm -rf docs && jsdoc -c jsdoc.json -d docs && npm run allure:report",
"docs:publish": "npm run docs && git add docs && git commit -m \"update docs\" && git push origin master",
"allure:report": "npm run test:cover && allure generate report/allure --report-dir ./docs/allure-report",
"lint": "eslint lib tests",
"lint:fix": "npm run lint -- --fix",
"test": "npm run lint && npm run test:unit && npm run test:e2e",
"test:unit": "nyc ./tests/run tests/unit",
"test:cover": "nyc --reporter=lcov --report-dir ./docs/tests-cover ./tests/run tests/unit tests/e2e --allure",
"test:commit": "./tests/run tests/unit",
"test:e2e": "./tests/run tests/e2e"
},
"nyc": {
"exclude": [
"tests"
]
},
"pre-commit": [
"lint",
"test:commit"
],
"repository": {
"type": "git",
"url": "git+https://github.com/glacejs/glace-xvfb.git"
},
"author": "Sergei Chipiga <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/glacejs/glace-xvfb/issues"
},
"homepage": "https://glacejs.github.io/glace-xvfb",
"dependencies": {
"chai": "4.2.0",
"glace-utils": "1.3.4",
"screen-resolution": "1.0.0",
"xvfb": "0.2.3"
},
"devDependencies": {
"eslint": "^5.14.1",
"glace-core": "^1.9.8",
"ink-docstrap": "^1.3.0",
"jsdoc": "^3.5.5",
"jsdoc-strip-async-await": "^0.1.0",
"nyc": "^13.3.0",
"pre-commit": "^1.2.2"
},
"engines": {
"node": ">=8.9",
"npm": ">=5.5"
},
"files": [
"lib"
]
}