-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
96 lines (96 loc) · 3.89 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@uk-export-finance/exip",
"version": "2.36.3",
"description": "Export Insurance Policies",
"homepage": "https://github.com/UK-Export-Finance/exip#readme",
"bugs": {
"url": "https://github.com/UK-Export-Finance/exip/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/UK-Export-Finance/exip.git"
},
"license": "MIT",
"author": "UK Export Finance",
"scripts": {
"audit:all": "npm audit && cd src/ui && npm audit && cd ../api && npm audit && cd ../../generate-exip-pricing-grid && npm audit",
"ci:all": "npm ci && cd src/ui && npm ci && cd ../api && npm ci && cd ../../generate-exip-pricing-grid && npm ci",
"housekeeping": "npm run update:all && npm run install:all && npm run lint:fix:all && npm run audit:all",
"install:all": "npm i && cd ./generate-exip-pricing-grid && npm i && cd .. && cd ./src/ui && npm i && cd .. && cd ./api && npm i",
"lint:all": "npm i && cd ./src/ui && npm i && eslint --ext .ts ./ && cd ../api && npm i && eslint --ext .ts ./ && cd ../../e2e-tests && eslint --ext .js ./",
"lint:fix": "prettier --write src/ui && eslint --ext .ts src/api --fix && eslint --ext .ts src/ui --fix && eslint --ext .js e2e-tests --fix",
"lint:fix:all": "prettier --write src/ui && eslint --ext .ts src/api --fix && eslint --ext .ts src/ui --fix && eslint --ext .js e2e-tests --fix",
"prepare": "husky",
"prettier:all": "prettier --no-error-on-unmatched-pattern --check **/*.{ts,js} --ignore-path ./prettierignore",
"spellcheck": "cspell lint --gitignore --no-must-find-files --quiet --unique --no-progress --show-suggestions --color '**/*'",
"type-check:all": "cd src/ui && tsc --noEmit --pretty && cd ../api && tsc --noEmit --pretty && cd ../../e2e-tests && tsc --noEmit --pretty",
"update:all": "npm update --save && cd src/ui && npm update --save && cd ../api && npm update --save && cd ../../generate-exip-pricing-grid && npm update --save",
"validate:yml": "npx yaml-lint **/*.yml --ignore=**/node_modules"
},
"lint-staged": {
"**/package.json": "sort-package-json",
"**/*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"**/*.md": [
"prettier --write"
],
"**/*.yml": [
"npm run validate:yml"
],
"**/*": [
"cspell lint --gitignore --no-must-find-files --unique --no-progress --show-suggestions --color"
]
},
"dependencies": {
"@cypress-audit/lighthouse": "^1.4.2",
"@cypress-audit/pa11y": "^1.4.2",
"@keystone-6/auth": "^7.0.3",
"@keystone-6/core": "^5.8.0",
"@keystone-6/fields-document": "^8.0.2",
"apollo-cache-inmemory": "^1.6.6",
"apollo-client": "^2.6.10",
"apollo-link-http": "^1.5.17",
"cypress": "^13.16.1",
"date-fns": "^4.1.0",
"dotenv": "^16.4.7",
"graphql": "^15.9.0",
"graphql-tag": "^2.12.6",
"node-notifier": "^10.0.1",
"typescript": "5.6.3"
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "19.6.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"commitlint": "^19.6.0",
"cspell": "^8.16.1",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-airbnb-typescript-prettier": "^5.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-cypress": "^3.6.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.11",
"prettier": "^2.8.0",
"sort-package-json": "^2.12.0",
"ts-jest": "^29.2.5",
"typescript": "5.7.2",
"yaml-lint": "^1.7.0"
},
"engines": {
"node": ">=21",
"npm": ">=9.5.0"
},
"engineStrict": true
}