forked from ministryofjustice/bichard7-next-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
144 lines (144 loc) · 5.52 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "bichard7-next-ui",
"version": "0.1.0",
"private": true,
"scripts": {
"install:assets": "./scripts/copy-govuk-frontend-assets.sh && ./scripts/copy-moj-frontend-assets.sh",
"dev": "next dev -p 4080",
"build": "next build",
"start": "next start -p 4080",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"cypress:open": "cypress open",
"cypress:open:docker": "cypress open --config baseUrl='https://localhost:4443'",
"cypress:run": "cypress run",
"cypress:run:docker": "cypress run --config baseUrl='https://localhost:4443'",
"cypress:run:component": "cypress run --component",
"cypress:run:component:docker": "cypress run --component --config baseUrl='https://localhost:4443'",
"cypress:run:file": "cypress run --spec",
"cypress:run:docker:file": "cypress run --config baseUrl='https://localhost:4443' --spec",
"test": "npm run test:unit && npm run test:integration && npm run test:ui:unit:dev && npm run test:ui:e2e",
"test:unit": "jest --testPathIgnorePatterns=\"integration\" \"e2e\" --runInBand",
"test:unit:update": "npm run test:unit -- -u",
"test:integration": "jest --testPathPattern=\"integration\" --runInBand --testNamePattern=",
"test:integration:update": "npm run test:integration -- -u",
"test:file": "jest --runInBand --testPathPattern",
"test:ui:unit:dev": "npm run test-storybook",
"test:ui:unit:ci": "concurrently -k -s first -n \"STORYBOOK,TEST\" -c \"magenta,blue\" \"http-server storybook-static --port 6006 --silent\" \"wait-on tcp:6006 && npm run test-storybook\"",
"test:ui:e2e": "concurrently --kill-others --success first \"npm run start\" \"npm run cypress:run\"",
"install:hooks": "./scripts/install-git-hooks.sh",
"update-deps": "ncu -u && npm install",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-storybook": "test-storybook",
"seed-data": "ts-node ./scripts/seed-data.ts",
"prepare": "husky install"
},
"dependencies": {
"@govuk-react/select": "^0.10.5",
"@ministryofjustice/frontend": "^1.8.0",
"@moj-bichard7-developers/bichard7-next-core": "^1.1.7",
"@moj-bichard7-developers/bichard7-next-data": "^2.0.85",
"@storybook/addon-styling": "^1.3.0",
"@types/lodash.clonedeep": "^4.5.7",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"cookies-next": "^2.1.2",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"date-time-format-timezone": "^1.0.22",
"govuk-frontend": "^4.6.0",
"govuk-react": "^0.10.5",
"lodash": "^4.17.21",
"lodash.clonedeep": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.isobject": "^3.0.2",
"next": "13.4.5",
"pg": "^8.11.0",
"qs": "^6.11.2",
"raw-body": "^2.5.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-jss": "^10.10.0",
"reflect-metadata": "^0.1.13",
"sass-loader": "^13.3.2",
"stompit": "^1.0.0",
"styled-components": "^5.3.11",
"typeorm": "^0.3.16"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/plugin-proposal-decorators": "^7.22.5",
"@faker-js/faker": "^8.0.2",
"@jest/globals": "^29.5.0",
"@next/eslint-plugin-next": "^13.4.5",
"@stdlib/random-base-exponential": "^0.0.6",
"@stdlib/random-sample": "^0.0.7",
"@storybook/addon-actions": "^7.0.20",
"@storybook/addon-essentials": "^7.0.20",
"@storybook/addon-interactions": "^7.0.20",
"@storybook/addon-links": "^7.0.20",
"@storybook/jest": "^0.1.0",
"@storybook/nextjs": "^7.0.20",
"@storybook/react": "^7.0.20",
"@storybook/test-runner": "^0.10.0",
"@storybook/testing-library": "^0.1.0",
"@testing-library/cypress": "^9.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@types/jest": "^29.5.2",
"@types/jest-axe": "^3.5.5",
"@types/jsonwebtoken": "^9.0.2",
"@types/lodash.frompairs": "^4.0.7",
"@types/lodash.get": "^4.4.7",
"@types/lodash.isobject": "^3.0.7",
"@types/lodash.sample": "^4.2.7",
"@types/node": "20.3.0",
"@types/react": "18.2.11",
"@types/react-dom": "18.2.4",
"@types/stompit": "^0.26.3",
"@types/styled-components": "^5.1.26",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"axe-core": "^4.7.2",
"babel-loader": "^9.1.2",
"babel-plugin-styled-components": "^2.1.3",
"concurrently": "^8.2.0",
"cypress": "^12.14.0",
"cypress-axe": "^1.4.0",
"eslint": "^8.42.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-next": "^13.4.5",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-cypress": "^2.13.3",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-storybook": "^0.6.12",
"http-server": "^14.1.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-axe": "^7.0.1",
"jsonwebtoken": "^9.0.0",
"lint-staged": "^13.2.2",
"lodash.frompairs": "^4.0.1",
"lodash.sample": "^4.2.1",
"mockdate": "^3.0.5",
"npm-check-updates": "^16.10.12",
"pg-promise": "^11.5.0",
"prettier": "^2.8.8",
"sass": "^1.63.3",
"storybook": "^7.0.20",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tsconfig-paths-webpack-plugin": "^4.0.1",
"typescript": "5.1.3",
"uuid": "^9.0.0",
"wait-on": "^7.0.1"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix --max-warnings 0"
}
}