This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.98 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
{
"name": "discretionary-business-grants",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"deploy": "yarn && next build && yarn --production=true && sls deploy --aws-profile hnserverless -s staging && yarn",
"sls-debug": "export SLS_DEBUG=* && node --inspect ./node_modules/serverless/bin/serverless offline -s staging --noAuth --noPrependStageInUrl",
"cypress-open": "npx cypress open --env AWS_SECRET_ACCESS_KEY=bar,AWS_REGION=localhost,AWS_ACCESS_KEY_ID=foo",
"cypress-run": "cypress run",
"preint-test": "yarn build",
"int-test": "start-server-and-test start http://localhost:3000 cypress-run",
"unit-test": "jest",
"unit-test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"lint": "eslint . --ext .js,.jsx && echo 'Lint complete.'",
"format": "prettier '**/*.{js,jsx,css,scss,md}' --write --list-different",
"dbmigrate": "db-migrate --migrations-dir 'db/migrations/'",
"dbmigratetest": "db-migrate --migrations-dir 'db/migrations/' -e test",
"dbmigratedry": "db-migrate --dry-run --migrations-dir 'db/migrations/'"
},
"dependencies": {
"axios": "^0.19.2",
"classnames": "^2.2.6",
"cookie": "^0.4.1",
"date-fns": "^2.14.0",
"govuk-frontend": "^3.6.0",
"http-status-codes": "^1.4.0",
"jsonwebtoken": "^8.5.1",
"mockdate": "^3.0.2",
"nanoid": "^3.1.5",
"next": "^9.4.0",
"node-lambda-authorizer": "LBHackney-IT/node-lambda-authorizer.git#0fe9e7514882c8ffb4182fa984ee10b99bfd886c",
"notifications-node-client": "^4.7.3",
"objects-to-csv": "^1.3.6",
"pg-promise": "^10.5.6",
"react": "16.13.1",
"react-beforeunload": "^2.2.1",
"react-dom": "16.13.1",
"react-hook-form": "^5.7.2",
"react-table": "^7.2.0",
"restana": "^4.3.4",
"serve-static": "^1.14.1",
"serverless-http": "^2.4.1",
"uk-postcode-validator": "^1.1.0",
"yup": "^0.29.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^10.0.4",
"aws-sdk": "^2.669.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.5.1",
"cypress": "^4.5.0",
"cypress-axe": "^0.8.1",
"db-migrate": "^0.11.11",
"db-migrate-pg": "^1.2.2",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-jest": "^23.13.2",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.20.0",
"faker": "^4.1.0",
"husky": ">=4",
"jest": "^25.5.4",
"lint-staged": ">=10",
"prettier": "^1.18.2",
"prop-types": "^15.7.2",
"sass": "^1.26.8",
"start-server-and-test": "^1.11.0"
},
"optionalDependencies": {
"@babel/core": "7.x",
"typescript": "^3.9.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn unit-test"
}
},
"lint-staged": {
"**/*.{js,jsx}": "eslint --fix",
"**/*.{js,jsx,css,scss,md}": "prettier --write --list-different"
}
}