-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
105 lines (105 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
97
98
99
100
101
102
103
104
105
{
"name": "eodiro-next",
"version": "3.7.4",
"author": "PAYW",
"license": "MIT",
"repository": "https://github.com/payw-org/eodiro.git",
"main": "src/server/index.js",
"scripts": {
"update:server-types": "npm update @payw/eodiro-server-types",
"ts-node": "ts-node --project ./tsconfig.node.json -r tsconfig-paths/register",
"typecheck": "tsc --noEmit",
"dev": "next --port 3020",
"lint": "eslint . --ext .ts,.tsx",
"build": "rm -rf .next && next build",
"start": "next start --port 3000",
"pm2:start": "if pm2 show eodiro ; then npm run pm2:stop && npm run pm2:delete && npm run pm2:start ; else pm2 start npm --name 'eodiro' -- run start ; fi",
"pm2:restart": "if pm2 show eodiro ; then pm2 restart eodiro ; else echo 'No pm2 instance for eodiro client' ; fi",
"pm2:stop": "if pm2 show eodiro ; then pm2 stop eodiro ; else echo 'No pm2 instance for eodiro client' ; fi",
"pm2:delete": "if pm2 show eodiro ; then pm2 delete eodiro ; else echo 'No pm2 instance for eodiro client' ; fi",
"pm2:reboot": "rm -rf node_modules && npm install && npm run typecheck && next build && npm run pm2:start",
"checkout-latest": "git reset --hard && git checkout $(git describe --tags `git rev-list --tags --max-count=1`)",
"update": "git reset --hard && git fetch --prune && npm run checkout-latest && npm install && npm run pm2:reboot"
},
"dependencies": {
"@juggle/resize-observer": "^3.3.1",
"@types/body-scroll-lock": "^2.6.2",
"autoprefixer": "^10.4.2",
"axios": "^0.25.0",
"bcrypt": "^5.0.1",
"body-scroll-lock": "^3.1.5",
"chalk": "^4.1.1",
"change-case": "^4.1.2",
"classnames": "^2.3.1",
"cookie": "^0.4.1",
"css-element-queries": "^1.2.3",
"dayjs": "^1.10.7",
"escape-html": "^1.0.3",
"immer": "^9.0.12",
"intersection-observer": "^0.12.0",
"js-cookie": "^2.2.1",
"lodash": "^4.17.21",
"mustache": "^4.2.0",
"next": "^10.0.1",
"pluralize": "^8.0.0",
"query-string": "^7.1.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-if": "^4.0.1",
"recoil": "0.5.2",
"socket.io-client": "^4.4.1",
"superjson": "^1.8.0",
"swiper": "^6.7.5",
"swr": "^0.5.6",
"tailwindcss": "^2.2.4"
},
"devDependencies": {
"@babel/core": "^7.16.12",
"@payw/cau-cafeteria-menus-scraper-types": "^2.1.3",
"@payw/cau-timetable-scraper-types": "^2.4.0",
"@payw/eodiro-server-types": "^1.0.38",
"@types/app-root-path": "^1.2.4",
"@types/bcrypt": "^5.0.0",
"@types/classnames": "^2.3.0",
"@types/cookie": "^0.4.1",
"@types/escape-html": "^1.0.1",
"@types/js-cookie": "^2.2.7",
"@types/lodash": "^4.14.178",
"@types/mustache": "^4.1.2",
"@types/node": "^16.3.1",
"@types/react": "^17.0.38",
"@types/socket.io-client": "^1.4.36",
"@types/swiper": "^5.4.3",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-plugin-superjson-next": "^0.4.2",
"cross-env": "^7.0.3",
"eslint": "^7.30.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.5",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-preset-env": "^7.2.3",
"postcss-pxtorem": "^6.0.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"sass": "^1.49.0",
"tsconfig-paths": "^3.12.0",
"ttypescript": "^1.5.13",
"typescript": "^4.5.5",
"webpack-filter-warnings-plugin": "^1.2.1"
},
"browserslist": [
"last 2 versions",
"> 1%"
]
}