react-node-app 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend-project/.env.example +3 -0
- package/backend-project/package-lock.json +1540 -0
- package/frontend-project/package-lock.json +3030 -0
- package/package.json +7 -4
- package/.gitignore +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-node-app",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Business Web Solution (BWS) for DAB Enterprise Ltd - Full-stack inventory, sales, and stock management system with React frontend and Express/MongoDB backend",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bws",
|
|
@@ -22,9 +22,12 @@
|
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18.0.0"
|
|
24
24
|
},
|
|
25
|
+
"main": "backend-project/server.js",
|
|
25
26
|
"files": [
|
|
26
27
|
"backend-project/server.js",
|
|
27
28
|
"backend-project/package.json",
|
|
29
|
+
"backend-project/package-lock.json",
|
|
30
|
+
"backend-project/.env.example",
|
|
28
31
|
"backend-project/config/",
|
|
29
32
|
"backend-project/controllers/",
|
|
30
33
|
"backend-project/middleware/",
|
|
@@ -35,16 +38,16 @@
|
|
|
35
38
|
"frontend-project/public/",
|
|
36
39
|
"frontend-project/index.html",
|
|
37
40
|
"frontend-project/package.json",
|
|
41
|
+
"frontend-project/package-lock.json",
|
|
38
42
|
"frontend-project/vite.config.js",
|
|
39
43
|
"frontend-project/postcss.config.js",
|
|
40
44
|
"frontend-project/tailwind.config.js",
|
|
41
|
-
"README.md"
|
|
42
|
-
".gitignore"
|
|
45
|
+
"README.md"
|
|
43
46
|
],
|
|
44
47
|
"scripts": {
|
|
45
48
|
"install:backend": "cd backend-project && npm install",
|
|
46
49
|
"install:frontend": "cd frontend-project && npm install",
|
|
47
|
-
"postinstall": "",
|
|
50
|
+
"postinstall": "npm run install:backend && npm run install:frontend",
|
|
48
51
|
"dev:backend": "cd backend-project && npm run dev",
|
|
49
52
|
"dev:frontend": "cd frontend-project && npm run dev",
|
|
50
53
|
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
|