-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
96 lines (96 loc) · 3.37 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": "dddperth-website",
"version": "1.0.0",
"description": "The website for DDD Perth.",
"main": "index.js",
"author": "DDD WA Inc.",
"license": "N/A",
"private": true,
"scripts": {
"clean": "rimraf build .next public/_next",
"build:standalone": "npm run clean && dotenv -v STANDALONE_BUILD=true next build && copyfiles package-lock.json public/**/*.* .next/standalone && cd deploy && copyfiles *.* ../.next/standalone && cd ../.next && copyfiles \"static/**/*\" standalone/public/_next && cd standalone && npm ci --production --ignore-scripts && rimraf node_modules/@next/swc-*",
"dev": "cross-env NODE_OPTIONS='--inspect' next dev",
"build": "next build",
"start": "next start",
"analyze": "cross-env ANALYZE=true npm run build",
"format-code": "prettier \"pages/**/*.*\" \"components/**/*.*\" \"layouts/**/*.*\" \"config/**/*.*\" --write",
"lint": "eslint --ext .ts,.tsx .",
"check-types": "tsc",
"validate": "npm run lint && npm test && npm run check-types && npm run build",
"prepare": "husky install",
"test": "jest",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch",
"cypress:open": "npx cypress open",
"cypress:run": "npx cypress run"
},
"dependencies": {
"@emotion/eslint-plugin": "^11.7.0",
"@emotion/is-prop-valid": "^1.1.2",
"@emotion/react": "^11.8.2",
"@emotion/styled": "^11.8.1",
"@reach/alert": "^0.16.0",
"@reach/dialog": "^0.16.2",
"@testing-library/cypress": "^8.0.2",
"applicationinsights": "^1.2.0",
"cross-env": "^7.0.3",
"cypress": "^9.4.1",
"date-fns": "^2.28.0",
"date-fns-tz": "^1.3.0",
"eslint-plugin-cypress": "^2.12.1",
"express": "^4.16.4",
"font-awesome": "^4.7.0",
"js-cookie": "^3.0.1",
"leaflet": "^1.8.0",
"leaflet-easybutton": "^2.4.0",
"leaflet.locatecontrol": "^0.76.1",
"next": "^12.1.0",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.0",
"react-dom": "^17.0.2",
"react-ga": "^3.3.0",
"react-leaflet": "^3.2.5",
"uuid": "^8.3.2"
},
"devDependencies": {
"@emotion/jest": "^11.8.0",
"@next/bundle-analyzer": "^12.1.0",
"@next/eslint-plugin-next": "^12.1.0",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@types/jest-axe": "^3.5.3",
"@types/js-cookie": "^3.0.1",
"@types/leaflet": "^1.7.11",
"@types/node": "^17.0.21",
"@types/react": "17.0.40",
"@types/react-beautiful-dnd": "^13.1.2",
"@types/react-leaflet": "^2.8.2",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"copyfiles": "^2.4.1",
"dotenv-cli": "^5.0.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest-dom": "^4.0.1",
"eslint-plugin-react": "^7.29.3",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-testing-library": "^5.1.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"jest-axe": "^6.0.0",
"lint-staged": "^12.3.5",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"typescript": "^4.6.2"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --cache --fix",
"**/*.+(js|json|ts|tsx)": [
"npm run format-code",
"jest --findRelatedTests"
]
}
}