-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
96 lines (96 loc) · 3.83 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": "covid-letter-web",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "cross-env NEXT_PUBLIC_ENV=local next dev",
"build": "next build",
"build:local": "cross-env NEXT_PUBLIC_ENV=local next build",
"build:dev": "cross-env NEXT_PUBLIC_ENV=dev next build",
"build:production": "cross-env NEXT_PUBLIC_ENV=production next build",
"start:local": "cross-env NEXT_PUBLIC_ENV=local next start",
"start:dev": "cross-env NEXT_PUBLIC_ENV=dev next start",
"start:production": "cross-env NEXT_PUBLIC_ENV=production next start",
"pm2:local": "pm2 list && cross-env NEXT_PUBLIC_ENV=local pm2-runtime start pm2.config.js",
"pm2:dev": "pm2 list && cross-env NEXT_PUBLIC_ENV=dev pm2-runtime start pm2.config.js",
"pm2:production": "pm2 list && cross-env NEXT_PUBLIC_ENV=production pm2-runtime start pm2.config.js",
"docker:build:dev": "NEXT_PUBLIC_ENV=dev NGINX_CONF_NAME=dev.nginx docker-compose up -d --build",
"docker:build:production": "NEXT_PUBLIC_ENV=production NGINX_CONF_NAME=nginx docker-compose up -d --build",
"lint": "cross-env NEXT_PUBLIC_ENV=local next lint",
"prettier:fix": "prettier '**/*.{json,yaml}' --write",
"test": "cross-env NEXT_PUBLIC_ENV=local jest --config=jest.config.js",
"test:watch": "cross-env NEXT_PUBLIC_ENV=local jest --config=jest.config.js --watch",
"style": "tailwindcss -i src/styles/index.css -o public/assets/styles/index.css"
},
"dependencies": {
"@emotion/css": "^11.1.3",
"@emotion/react": "^11.4.0",
"@emotion/server": "^11.4.0",
"@emotion/styled": "^11.3.0",
"@juggle/resize-observer": "^3.3.1",
"axios": "^0.21.1",
"bezier-easing": "^2.1.0",
"core-js": "^3.15.2",
"cross-env": "^7.0.3",
"date-fns": "^2.23.0",
"http": "0.0.1-security",
"mobx": "^6.3.2",
"mobx-react-lite": "^3.2.0",
"next": "11.0.1",
"next-cookies": "^2.0.3",
"prettier": "^2.3.2",
"randomstring": "^1.2.1",
"react": "17.0.2",
"react-device-detect": "^1.17.0",
"react-dom": "17.0.2",
"react-google-login": "^5.2.2",
"react-spring": "^9.2.4",
"swr": "^0.5.6"
},
"devDependencies": {
"@emotion/babel-plugin": "^11.3.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^13.1.9",
"@types/jest": "^26.0.24",
"@types/node": "^16.3.1",
"@types/randomstring": "^1.1.7",
"@types/react": "17.0.14",
"@types/react-dom": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"autoprefixer": "^10.3.1",
"babel-plugin-import": "^1.13.3",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^7.30.0",
"eslint-config-next": "11.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.24.0",
"husky": "^4.2.5",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"postcss": "^8.3.5",
"resize-observer-polyfill": "^1.5.1",
"tailwindcss": "^2.2.4",
"ts-jest": "^27.0.3",
"twin.macro": "^2.6.2",
"typescript": "^4.3.5"
},
"lint-staged": {
"**/*.{json,yaml,md}": "prettier --check",
"**/*.{js,jsx,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"prepare-commit-msg": "scripts/add-issue-to-commit.sh $HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
}
}