-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 3.89 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
{
"name": "vittel",
"version": "1.0.2",
"private": true,
"description": "Full stack javascript framework built with Vite.js and Express. Supports Typescript and React.",
"type": "module",
"scripts": {
"list": "npx tsc --listFilesOnly | sort",
"typecheck": "npx tsc && echo 'type checking was successful'",
"lint": "npx eslint .",
"dev": "NODE_ENV=development nodemon src/server/server.ts",
"build": "npx vite build && npx esbuild src/server/server.ts --bundle --platform=node --packages=external --format=esm --analyze --outfile=dist/server.js",
"prod": "NODE_ENV=production node dist/server.js",
"test:unit": "NODE_ENV=development npx jest --testPathIgnorePatterns 'dist.test/.*.test.ts'",
"test:cover": "NODE_ENV=development npx jest --testPathIgnorePatterns 'dist.test/.*.test.ts' --coverage",
"test:e2e": "NODE_ENV=production npx jest dist.test/*.test.ts",
"docker:build": "buildimg=$(basename \"$(pwd)\"):latest && docker build -t \"$buildimg\" .",
"docker:up": "buildimg=$(basename \"$(pwd)\"):latest && port=$(grep -E ^APP_PORT=.+$ \"$(pwd)\"/.env.files/.env.production | sed -E \"s/^APP_PORT=([0-9]+)$/\\1/\") && docker container run --rm -p \"$port:$port\" \"$buildimg\"",
"docker:down": "buildimg=$(basename \"$(pwd)\"):latest && docker container stop $(docker ps --filter ancestor=$buildimg --format \"{{.Names}}\")"
},
"dependencies": {
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"formidable": "^3.5.2",
"helmet": "^8.0.0",
"jose": "^5.9.6",
"morgan": "^1.10.0"
},
"devDependencies": {
"@babel/preset-react": "^7.25.7",
"@babel/preset-typescript": "^7.25.7",
"@fortawesome/fontawesome-free": "^6.6.0",
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/free-regular-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"@jest/globals": "^29.7.0",
"@mulekick/eslint-config-muleslint": "^2.0.6",
"@mulekick/pepe-ascii": "^1.0.2",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/formidable": "^3.4.5",
"@types/jest": "^29.5.13",
"@types/morgan": "^1.9.9",
"@types/node": "^22.7.8",
"@types/puppeteer": "^7.0.4",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"@vitejs/plugin-legacy": "^5.4.2",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"babel-plugin-transform-import-meta": "^2.2.1",
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^5.0.0",
"globals": "^13.24.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-puppeteer": "^10.1.2",
"nodemon": "^3.1.7",
"postcss": "^8.4.47",
"puppeteer": "^23.6.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sass": "^1.80.3",
"terser": "^5.36.0",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"vite": "^5.4.9",
"vite-plugin-webfont-dl": "^3.9.5"
},
"engines": {
"node": ">=18.18.2",
"npm": ">=10.2.3"
},
"os": [
"linux"
],
"author": "mulekick <[email protected]> (https://github.com/mulekick)",
"license": "MIT",
"repository": {},
"bugs": {},
"homepage": "https://github.com/mulekick/vittel"
}