-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
159 lines (159 loc) · 5.56 KB
/
package.json
File metadata and controls
159 lines (159 loc) · 5.56 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "universal-react",
"version": "1.0.0",
"description": "A universal react app boilerplate with SSR and database support",
"main": "build/server/index.js",
"engines": {
"node": ">= 22",
"npm": ">= 10"
},
"scripts": {
"migration:create": "db-migrate --config migrations/db-migrate.json create",
"migration:apply": "db-migrate --config migrations/db-migrate.json up",
"migration:apply:stage": "db-migrate --config migrations/db-migrate.json -e stage up",
"migration:apply:prod": "db-migrate --config migrations/db-migrate.json -e prod up",
"migration:undo": "db-migrate --config migrations/db-migrate.json down",
"build:server": "babel ./src --out-dir build --ignore '**/*.test.js','**/*.test.jsx','**/*.stories.js','**/*.stories.jsx'",
"build:client": "vite build",
"build:ssr": "vite build --ssr src/server/app.jsx --outDir build/server",
"build": "yarn build:client && yarn build:ssr && yarn build:server",
"clean": "rimraf build && rimraf build-static",
"start": "NODE_ENV=production node ./build/server/index.js",
"start-dev": "babel-node ./src/server/index.js",
"start:watch": "yarn clean && yarn build && NODE_ENV=production node --watch ./build/server/index.js",
"lint:js": "eslint src/**/*.js && eslint src/**/*.jsx",
"lint:css": "stylelint \"./src/**/*.css\"",
"lint": "yarn lint:js && yarn lint:css",
"prettier:format": "prettier --write .",
"prettier:verify": "prettier --check .",
"test": "vitest run",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"ci:test": "vitest run --coverage",
"storybook": "storybook dev -p 3001",
"build-storybook": "storybook build",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dhruv-m-patel/universal-react.git"
},
"keywords": [
"react",
"ssr",
"express",
"vite",
"vitest"
],
"author": "Dhruv Patel",
"bugs": {
"url": "https://github.com/dhruv-m-patel/universal-react/issues"
},
"homepage": "https://github.com/dhruv-m-patel/universal-react#readme",
"license": "ISC",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-brands-svg-icons": "^5.15.3",
"@fortawesome/free-regular-svg-icons": "^5.15.3",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"bluebird": "^3.7.2",
"body-parser": "^1.19.0",
"classnames": "^2.3.1",
"compression": "^1.7.4",
"confit": "^2.3.0",
"cookie-parser": "^1.4.5",
"db-migrate": "^0.11.12",
"db-migrate-mysql": "^2.1.2",
"db-migrate-pg": "^1.2.2",
"dotenv": "^16.4.5",
"express": "^4.21.0",
"express-enrouten": "^1.3.0",
"fast-deep-equal": "^2.0.1",
"meddleware": "^3.0.4",
"morgan": "^1.10.0",
"mysql2": "^3.6.0",
"pg": "^8.16.3",
"prop-types": "^15.7.2",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react-helmet": "^5.2.1",
"react-redux": "^7.2.9",
"react-router-dom": "^6.20.0",
"redux": "^4.1.0",
"redux-api-middleware": "^3.2.1",
"shortstop-handlers": "^1.0.1",
"shortstop-regex": "0.0.1",
"store": "^2.0.12"
},
"devDependencies": {
"@babel/cli": "^7.26.0",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.28.5",
"@babel/node": "^7.26.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
"@babel/plugin-transform-react-inline-elements": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.0",
"@eslint/compat": "^2.0.0",
"@eslint/js": "^9.39.1",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-tooltip": "^1.2.8",
"@storybook/addon-a11y": "^8.4.7",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/addon-themes": "^8.0.0",
"@storybook/react-vite": "^8.4.7",
"@storybook/test": "^8.6.14",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@vitejs/plugin-react": "^4.3.0",
"@vitest/ui": "^4.0.14",
"autoprefixer": "^10.4.0",
"babel-plugin-css-modules-transform": "^1.6.2",
"babel-plugin-macros": "^3.1.0",
"cssnano": "^4.1.11",
"eslint": "^9.19.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^7.2.0",
"eslint-plugin-react": "^7.37.0",
"globals": "^16.5.0",
"happy-dom": "^20.0.11",
"husky": "^9.1.7",
"lint-staged": "^11.0.0",
"msw": "^2.12.3",
"msw-storybook-addon": "^2.0.6",
"postcss": "^8.4.0",
"postcss-import": "^16.0.0",
"postcss-preset-env": "^10.0.0",
"prettier": "^3.4.0",
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "^5.12.0",
"storybook": "^8.4.7",
"stylelint": "^11.1.1",
"stylelint-config-recommended": "^3.0.0",
"supertest": "^7.1.4",
"tailwindcss": "^3.4.0",
"vite": "^5.4.0",
"vitest": "^4.0.14"
},
"lint-staged": {
"**/*": [
"prettier --write --ignore-unknown"
]
},
"packageManager": "yarn@3.2.3"
}