forked from tsherif/glcheck
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
47 lines (47 loc) · 2.61 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
{
"name": "glcheck",
"version": "0.3.5",
"description": "A testing framework for WebGL 1 and 2 applications",
"bin": "glcheck",
"repository": {
"type": "git",
"url": "https://github.com/tsherif/glcheck"
},
"scripts": {
"lint": "eslint glcheck unit-test-page/glcheck.js",
"test": "npm run lint && ./glcheck --coverage=false && npm run test-full-config && npm run test-cli-args && npm run test-cli-equal-args",
"with-full-config": "./glcheck --config test/test-configs/full-config.json",
"test-full-config": "npm run with-full-config && test -d full-config-test/unit-tests && test -d .nyc_output && npm run with-full-config && test -e full-config-test/reference-images/test-render-render-test.html.png && rimraf full-config-test",
"with-cli-args": "./glcheck --clear-config --unit-test-dir cli-args-test/unit-tests --reference-image-dir cli-args-test/reference-images --reference-image-dir cli-args-test/reference-images --render-failure-dir cli-args-test/render-failures --save-render-failures=true --render-test-threshold 0.75 --server-port 5151 --asset-dir test/assets/ --coverage true --headless old --render-timeout 10000",
"test-cli-args": "npm run with-cli-args && test -d cli-args-test/unit-tests && test -d .nyc_output && npm run with-cli-args && test -e cli-args-test/reference-images/test-render-render-test.html.png && rimraf cli-args-test",
"with-cli-equal-args": "./glcheck --clear-config --unit-test-dir=cli-equal-args-test/unit-tests --reference-image-dir=cli-equal-args-test/reference-images --render-failure-dir=cli-equal-args-test/render-failures --save-render-failures=true --server-port=5151 --render-test-threshold=0.75 --asset-dir=test/assets/ --coverage=true --headless=old --render-timeout=10000",
"test-cli-equal-args": "npm run with-cli-equal-args && test -d cli-equal-args-test/unit-tests && test -d .nyc_output && npm run with-cli-equal-args && test -e cli-equal-args-test/reference-images/test-render-render-test.html.png && rimraf cli-equal-args-test",
"coverage": "rimraf coverage/ && ./glcheck --self-test && nyc report --reporter=lcov"
},
"keywords": [
"webgl",
"webgl2",
"test",
"puppeteer"
],
"author": {
"name": "Tarek Sherif",
"email": "[email protected]",
"url": "http://tareksherif.net/"
},
"license": "MIT",
"dependencies": {
"copy-dir": "^1.3.0",
"node-glob": "^1.2.0",
"pixelmatch": "^5.3.0",
"pngjs": "^7.0.0",
"puppeteer": "^19.11.1",
"puppeteer-to-istanbul": "^1.4.0",
"rimraf": "^5.0.1"
},
"devDependencies": {
"coveralls": "^3.1.1",
"eslint": "^7.27.0",
"nyc": "^15.1.0"
}
}