-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
61 lines (61 loc) · 4.34 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": "openactive-test-suite",
"version": "1.0.0",
"description": "OpenActive Test Suite",
"private": true,
"main": "start.js",
"scripts": {
"start": "node start.js",
"debug": "node --inspect start.js -- --runInBand",
"start-broker": "cd packages/openactive-broker-microservice && npm start",
"start-broker-with-auto-restart": "cd packages/openactive-broker-microservice && npm run auto-restart",
"validate-feeds": "cd packages/openactive-broker-microservice && npm run validate-feeds",
"start-tests": "cd packages/openactive-integration-tests && npm start",
"install-broker": "cd packages/openactive-broker-microservice && npm install",
"install-interface-criteria": "cd packages/test-interface-criteria && npm install",
"install-openid-client": "cd packages/openactive-openid-client && npm install",
"install-openid-browser-automation": "cd packages/openactive-openid-browser-automation && npm install",
"install-openid-test-cli": "cd packages/openactive-openid-test-cli && npm install",
"install-tests": "cd packages/openactive-integration-tests && npm install",
"install": "npm run install-interface-criteria && npm run install-openid-client && npm run install-openid-browser-automation && npm run install-openid-test-cli && npm run install-broker && npm run install-tests",
"test-broker": "cd packages/openactive-broker-microservice && npm test",
"test-interface-criteria": "cd packages/test-interface-criteria && npm test",
"test-tests": "cd packages/openactive-integration-tests && npm test",
"test-openid-client": "(cd packages/openactive-openid-client && npm test) && (cd packages/openactive-openid-browser-automation && npm test) && (cd packages/openactive-openid-test-cli && npm test)",
"test": "npm run test-broker && npm run test-interface-criteria && npm run test-openid-client && npm run test-tests",
"lint-fix-broker": "cd packages/openactive-broker-microservice && npm run lint-fix",
"lint-fix-interface-criteria": "cd packages/test-interface-criteria && npm run lint-fix",
"lint-fix-tests": "cd packages/openactive-integration-tests && npm run lint-fix",
"lint-fix": "npm run lint-fix-broker && npm run lint-fix-interface-criteria && npm run lint-fix-tests",
"debug-broker": "cd packages/openactive-broker-microservice && npm run debug",
"debug-tests": "cd packages/openactive-integration-tests && npm run debug",
"certificate-validator": "cd packages/openactive-integration-tests && npm run certificate-validator",
"doc-gen": "cd packages/openactive-integration-tests && npm run doc-gen",
"git-add-newly-generated-integration-test-docs": "git add \"packages/openactive-integration-tests/test/**/README.md\" packages/openactive-integration-tests/test/features/feature-requirements.json",
"gen-interface-criteria-types": "cd packages/test-interface-criteria && npm run gen-types",
"git-add-newly-generated-interface-criteria-types": "git add packages/test-interface-criteria/built-types",
"test-data-generator": "cd packages/openactive-integration-tests && npm run test-data-generator",
"gen-openid-client-types": "(cd packages/openactive-openid-client && npm run gen-types) && (cd packages/openactive-openid-browser-automation && npm run gen-types) && (cd packages/openactive-openid-test-cli && npm run gen-types)",
"git-add-newly-generated-openid-client-types": "git add packages/openactive-openid-client/built-types && git add packages/openactive-openid-browser-automation/built-types && git add packages/openactive-openid-test-cli/built-types",
"gen-and-git-add-everything": "npm run gen-interface-criteria-types && npm run git-add-newly-generated-interface-criteria-types && npm run gen-openid-client-types && npm run git-add-newly-generated-openid-client-types && npm run doc-gen && npm run git-add-newly-generated-integration-test-docs",
"clean-install": "npx rimraf -g ./**/node_modules",
"update-test-suite": "npm run clean-install && git fetch --all && git reset --hard origin/master && git clean -f -d && npm install"
},
"dependencies": {
"@openactive/dataset-utils": "^1.0.1",
"config": "^3.3.6",
"inquirer": "^8.0.0",
"node-cleanup": "^2.1.2"
},
"engines": {
"node": "18.17.1"
},
"devDependencies": {
"husky": "^4.2.5"
},
"husky": {
"hooks": {
"pre-commit": "npm run gen-and-git-add-everything"
}
}
}