-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.63 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.63 KB
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
{
"name": "ui",
"private": true,
"version": "0.0.0",
"type": "module",
"author": {
"email": "pingarvindforquestions@gmail.com",
"name": "Arvind .A",
"url": "https://arvind11.vercel.app"
},
"categories": [
"Other"
],
"description": "A simple UI for the Django backend",
"license": "MIT",
"displayName": "UI",
"homepage": "",
"keywords": [
"react",
"vite",
"typescript",
"django",
"ui"
],
"readme": "A simple UI for the Django backend",
"repository": {
"type": "git",
"url": "git+",
"directory": "ui"
},
"licenses": [
{
"type": "MIT",
"url": "https://opensource.org/licenses/MIT"
}
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:standlone": "cross-env NODE_ENV=production cross-env DJANGO=true tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write .",
"preview": "vite preview",
"collect": "npm run build && npm run build-rename && npm run copy-buildfiles",
"build-rename": "npm run build-rename-js && npm run build-rename-css",
"build-rename-js": "renamer --regex --find 'index\\-[^\\.]+\\.js' --replace 'index.min.js' dist/assets/*.js",
"build-rename-css": "renamer --regex --find 'index\\-[^\\.]+\\.css' --replace 'index.min.css' dist/assets/*.css",
"copy-buildfiles": "npm run copy-build-js && npm run copy-build-css && npm run copy-build-images",
"copy-build-js": "copyfiles -f 'dist/assets/*.js' '../staticfiles/js/'",
"copy-build-css": "copyfiles -f 'dist/assets/*.css' '../staticfiles/css/'",
"copy-build-images": "copyfiles -f 'dist/*.{svg,png,jpeg}' '../staticfiles/'",
"collectstatic": "npm run collect && python ../manage.py collectstatic --no-input --clear"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.2"
},
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.0.0",
"npm": ">=8.0.0"
},
"devDependencies": {
"@types/node": "^22.2.0",
"@types/react": "^18.2.56",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitejs/plugin-react": "latest",
"autoprefixer": "^10.4.18",
"copyfiles": "^2.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.5",
"postcss": "^8.4.35",
"prettier": "^3.2.5",
"renamer": "^0.7.0",
"tailwindcss": "^3.4.1",
"typescript": "^5.2.2",
"vite": "^5.1.4",
"vite-plugin-react": "^4.0.1"
}
}