-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
66 lines (66 loc) · 2.82 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
{
"name": "glace-js",
"version": "2.5.9",
"description": "GlaceJS is functional testing framework based on mochajs",
"main": "lib/index.js",
"scripts": {
"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",
"docs:publish": "npm run docs && git add docs && git commit -m \"update docs\" && git push origin master",
"allure:report": "npm run test:gen && allure generate report/allure --report-dir ./docs/allure-report",
"lint": "eslint lib tests",
"lint:fix": "npm run lint -- --fix",
"test:bugs": "./bin/glace tests/e2e/testBugs.js --global-proxy --http-proxy --web-url https://ya.ru",
"test:xvfb": "./bin/glace tests/e2e/testXvfb.js --web --video --xvfb",
"test:fixtures": "./bin/glace tests/e2e/testFixtures.js --web --web-url https://ya.ru",
"test:image": "./bin/glace tests/e2e/testImage.js --web --web-url https://ya.ru",
"test:web": "./bin/glace tests/e2e/testWeb.js --web",
"test:video": "./bin/glace tests/e2e/testVideo.js --web --video",
"test:page": "./bin/glace tests/e2e/testPageObject.js --web --web-url https://ya.ru",
"test:proxy": "./bin/glace tests/e2e/testProxy.js --web --global-proxy --http-proxy --web-url https://ya.ru",
"test:gen": "./bin/glace --kill-procs \"Xvfb, chrome, selenium, ffmpeg, avconv\" --chrome-headless --root-conftest ./tests/e2e.conftest.js --gen-steps-files ./tests/e2e.steps.yaml --gen-steps-uniq 2 --gen-tests-limit 300 --gen-tests-shuffle --gen-tests-only",
"test": "npm run lint && npm run test:bugs && npm run test:xvfb && npm run test:fixtures && npm run test:image && npm run test:web && npm run test:video && npm run test:page && npm run test:proxy && npm run test:gen"
},
"pre-commit": [
"lint"
],
"repository": {
"type": "git",
"url": "git+https://github.com/glacejs/glace-js.git"
},
"author": "Sergei Chipiga <[email protected]>",
"license": "MIT",
"bin": {
"glace": "./bin/glace"
},
"bugs": {
"url": "https://github.com/glacejs/glace-js/issues"
},
"homepage": "https://glacejs.github.io/glace-js",
"dependencies": {
"glace-core": "2.0.3",
"glace-image": "1.3.0",
"glace-proxy": "1.4.0",
"glace-testgen": "1.1.8",
"glace-video": "1.2.3",
"glace-web": "1.4.0",
"glace-xvfb": "1.1.4",
"lodash": "4.17.11"
},
"devDependencies": {
"eslint": "^5.15.1",
"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": [
"bin",
"lib"
]
}