-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
25 lines (25 loc) · 1.13 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
{
"name": "run-backstopjs-regression-tests",
"version": "1.0.0",
"description": "HEE backstopjs regression testing implementation.",
"scripts": {
"serve": "npx http-server /app/src/public -s -p 8080",
"test": "npm run backstop:generate-config && npm run backstop:test",
"backstop:ref": "npm run backstop:generate-config && start-server-and-test serve http://127.0.0.1:8080 'npx backstop --config=/app/src/backstop/config/backstop.json reference'",
"backstop:test": "npm run backstop:generate-config && start-server-and-test serve http://127.0.0.1:8080 'npx backstop --config=/app/src/backstop/config/backstop.json test'",
"backstop:approve": "npx backstop --config=/app/src/backstop/config/backstop.json approve",
"backstop:generate-config": "node scripts/generateConfig.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Health-Education-England/run-backstopjs-regression-tests.git"
},
"author": "https://github.com/nhsuk/",
"license": "MIT",
"devDependencies": {
"backstopjs": "^6.2.1",
"glob": "^10.2.6",
"http-server": "^14.1.1",
"start-server-and-test": "^2.0.0"
}
}