-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
65 lines (65 loc) · 5.57 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
{
"name": "dtfs",
"version": "1.0.0",
"description": "DTFS",
"homepage": "https://github.com/UK-Export-Finance/dtfs2#readme",
"bugs": {
"url": "https://github.com/UK-Export-Finance/dtfs2/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/UK-Export-Finance/dtfs2.git"
},
"license": "MIT",
"author": "",
"scripts": {
"audit:all": "(npm audit); (cd azure-functions/acbs-function && npm audit); (cd azure-functions/number-generator-function && npm audit); (cd dtfs-central-api && npm audit); (cd gef-ui && npm audit); (cd portal && npm audit); (cd portal-api && npm audit); (cd external-api && npm audit); (cd trade-finance-manager-api && npm audit); (cd trade-finance-manager-ui && npm audit); (cd utils/mock-data-loader && npm audit); (cd utils/data-migration && npm audit)",
"audit:fix:all": "(npm audit --fix); (cd azure-functions/acbs-function && npm audit --fix); (cd azure-functions/number-generator-function && npm audit --fix); (cd dtfs-central-api && npm audit --fix); (cd gef-ui && npm audit --fix); (cd portal && npm audit --fix); (cd portal-api && npm audit --fix); (cd external-api && npm audit --fix); (cd trade-finance-manager-api && npm audit --fix); (cd trade-finance-manager-ui && npm audit --fix); (cd utils/mock-data-loader && npm audit --fix); (cd utils/data-migration && npm audit --fix)",
"ci:all": "npm ci --legacy-peer-deps && npm ci --legacy-peer-deps --prefix azure-functions/acbs-function && npm ci --legacy-peer-deps --prefix azure-functions/number-generator-function && npm ci --legacy-peer-deps --prefix dtfs-central-api && npm ci --prefix gef-ui && npm ci --legacy-peer-deps --prefix portal && npm ci --legacy-peer-deps --prefix portal-api && npm ci --legacy-peer-deps --prefix external-api && npm ci --legacy-peer-deps --prefix trade-finance-manager-api && npm ci --legacy-peer-deps --prefix trade-finance-manager-ui && npm ci --legacy-peer-deps --prefix utils/mock-data-loader && npm ci --legacy-peer-deps --prefix utils/data-migration",
"housekeeping": "npm run update:all && npm run install:all && npm run lint:fix:all && npm run audit:fix:all",
"install:all": "npm i --legacy-peer-deps && npm i --legacy-peer-deps --prefix azure-functions/acbs-function && npm i --legacy-peer-deps --prefix azure-functions/number-generator-function && npm i --legacy-peer-deps --prefix dtfs-central-api && npm i --legacy-peer-deps --prefix gef-ui && npm i --legacy-peer-deps --prefix portal && npm i --legacy-peer-deps --prefix portal-api && npm i --legacy-peer-deps --prefix external-api && npm i --legacy-peer-deps --prefix trade-finance-manager-api && npm i --legacy-peer-deps --prefix trade-finance-manager-ui && npm i --legacy-peer-deps --prefix utils/mock-data-loader && npm i --legacy-peer-deps --prefix utils/data-migration",
"lint:all": "npx eslint ./azure-functions/acbs-function && npx eslint ./azure-functions/number-generator-function && npx eslint ./dtfs-central-api && npx eslint ./e2e-tests && npx eslint ./gef-ui && npx eslint ./portal && npx eslint ./portal-api && npx eslint ./external-api && npx eslint ./trade-finance-manager-api && npx eslint ./trade-finance-manager-ui && npx eslint ./utils/mock-data-loader && npx eslint ./utils/data-migration",
"lint:fix:all": "npx eslint --fix ./azure-functions/acbs-function && npx eslint --fix ./azure-functions/number-generator-function && npx eslint --fix ./dtfs-central-api && npx eslint --fix ./e2e-tests && npx eslint --fix ./gef-ui && npx eslint --fix ./portal && npx eslint --fix ./portal-api && npx eslint --fix ./external-api && npx eslint --fix ./trade-finance-manager-api && npx eslint --fix ./trade-finance-manager-ui && npx eslint --fix ./utils/mock-data-loader && npx eslint --fix ./utils/data-migration",
"prepare": "husky install",
"update:all": "npm update --save && npm update --save --legacy-peer-deps --prefix azure-functions/acbs-function && npm update --save --legacy-peer-deps --prefix azure-functions/number-generator-function && npm update --save --legacy-peer-deps --prefix dtfs-central-api && npm update --save --legacy-peer-deps --prefix gef-ui && npm update --save --legacy-peer-deps --prefix portal && npm update --save --legacy-peer-deps --prefix portal-api && npm update --save --legacy-peer-deps --prefix external-api && npm update --save --legacy-peer-deps --prefix trade-finance-manager-api && npm update --save --legacy-peer-deps --prefix trade-finance-manager-ui && npm update --save --legacy-peer-deps --prefix utils/mock-data-loader && npm update --save --legacy-peer-deps --prefix utils/data-migration"
},
"lint-staged": {
"package.json": "sort-package-json",
"*.js": "eslint --fix",
"*.ts": "eslint --fix",
"*": [
"cspell lint --gitignore --no-summary --fail-fast --no-must-find-files --color"
]
},
"dependencies": {
"bson": "^4.7.2",
"chance": "^1.1.11",
"cypress": "^12.17.4",
"cypress-file-upload": "^5.0.8",
"cypress-plugin-tab": "^1.0.5",
"cypress-v10-preserve-cookie": "^1.2.1",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"moment": "^2.29.4",
"npm-check-updates": "^16.14.4"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"cspell": "^6.31.3",
"eslint": "^8.50.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.28.1",
"husky": "^8.0.3",
"lint-staged": "^13.3.0",
"prettier": "2.8.8",
"sort-package-json": "^2.5.1"
},
"engines": {
"node": ">=18",
"npm": ">=9.5.0"
},
"engineStrict": true
}