-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
249 lines (249 loc) · 10.6 KB
/
package.json
File metadata and controls
249 lines (249 loc) · 10.6 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
{
"name": "eclair_commerce",
"version": "1.0.0",
"private": true,
"description": "Cross-platform e-commerce solution",
"author": "Mahmoud ElGharably",
"license": "MIT",
"scripts": {
"build:api2": "nx build api",
"build:web2": "nx build eclair_demo",
"build:ionic2": "nx build mobile-app",
"start:api2": "npx nx serve api",
"start:web2": "npx nx serve eclair_demo",
"start:ionic2": "npx nx serve mobile-app",
"build:core": "nx build core",
"start_": "npm run start:backend:prod",
"start:web": "nx serve angular-web-app",
"build:web": "nx build angular-web-app",
"build:web:pwa": "nx build angular-web-app --configuration=production,pwa",
"test:web": "nx test angular-web-app",
"start:electron": "nx serve electron-app",
"build:electron": "nx build electron-app",
"package:electron": "nx package electron-app",
"test:electron": "nx test electron-app",
"start:ionic": "nx serve ionic-mobile-app",
"build:ionic": "nx build ionic-mobile-app",
"test:ionic": "nx test ionic-mobile-app",
"cap:ios": "nx cap add ionic-mobile-app ios",
"cap:android": "nx cap add ionic-mobile-app android",
"g:ionic": "nx g @ionic/angular-toolkit:page home --project=ionic-mobile-app --standalone",
"g:ionic2": "nx g @ionic/angular-toolkit:component components/cart-item --project=ionic-mobile-app --standalone",
"g:ionic3": "nx g @ionic/angular-toolkit:service services/token --project=ionic-mobile-app",
"g:ionic4": "nx g @ionic/angular-toolkit:page pages/orders --project=ionic-mobile-app --standalone",
"g:ionic5": "nx g @ionic/angular-toolkit:page pages/auth/forgot-password --project=ionic-mobile-app --standalone",
"g:ionic6": "nx g @ionic/angular-toolkit:guard guards/auth --project=ionic-mobile-app",
"g:ionic7": "mkdir -p apps/ionic-mobile-app/src/app/core/environment && touch apps/ionic-mobile-app/src/app/core/environment/environment.module.ts",
"g:ionic8": "nx generate pipe pipes/truncate --project=ionic-mobile-app",
"g:ionic9": "nx g @ionic/angular-toolkit:page pages/test1 --project=ionic-mobile-app --standalone",
"g:ionic10": "nx g @ionic/angular-toolkit:page pages/auth/reset-password --project=ionic-mobile-app --standalone",
"g:ionic11": "nx g @ionic/angular-toolkit:page pages/start --project=ionic-mobile-app --standalone",
"g:ionic12": "nx g @ionic/angular-toolkit:page pages/test2 --project=ionic-mobile-app --standalone",
"start:react-native": "nx start react-native-app",
"android": "nx run-android react-native-app",
"ios": "nx run-ios react-native-app",
"test:react-native": "nx test react-native-app",
"start:backend": "npm run migrate && nx serve backend --configuration=development",
"start:backend:prod": "npm run migrate:prod && nx serve backend --configuration=production",
"build:backend": "nx build backend",
"test:backend": "nx test backend",
"migrate": "cd apps/backend && npx sequelize-cli db:migrate --env development",
"migrate:prod": "cd apps/backend && npx sequelize-cli db:migrate --env production",
"migrate:undo": "cd apps/backend && npx sequelize-cli db:migrate:undo",
"migrate:create": "cd apps/backend && npx sequelize-cli migration:generate --name",
"migrate:create2": "cd apps/backend && npx sequelize-cli migration:generate --name create-product",
"seed": "cd apps/backend && npx sequelize-cli db:seed:all",
"postinstall_": "nx run-many --target=install",
"test": "nx run-many --target=test --all",
"build:all": "npm run build:core && npm run build:backend && npm run build:web && npm run build:web:pwa && npm run build:electron && npm run build:ionic && nx run react-native-app:build",
"build": "nx run-many --target=build --all",
"lint": "nx run-many --target=lint --all",
"format": "nx format:write",
"rm": "npm cache clean --force && rm -rf package-lock.json node_modules",
"install:legacy": "npm install --legacy-peer-deps",
"sync": "rm -rf apps/backend/src/db/models/shared && ln -s ../../../../../libs/core/src/lib/models apps/backend/src/db/models/shared",
"Clear Nx Cache": "nx reset",
"Update Nx and Plugins": "npm install --save-dev nx@latest @nx/angular@latest @nx/js@latest",
"Check for Circular Dependencies": "nx graph",
"clear the npm cache": "npm cache clean",
"force clear the npm cache": "npm cache clean --force",
"verify the npm cache": "npm cache verify",
"legacy": "npm install --legacy-peer-deps",
"conflict_": "npm uninstall @nestjs/serve-static && npm uninstall @nestjs/platform-express",
"conflict_:add": "npm install @nestjs/serve-static --legacy-peer-deps && npm install @nestjs/platform-express --legacy-peer-deps",
"conflict": "npm uninstall verdaccio",
"conflict:add": "npm install -D verdaccio@6.1.4",
"install:test": "npm install --loglevel verbose --no-optional",
"install:log": "npm install --loglevel silly 2>&1 | tee install.log",
"install:log:win": "npm install --loglevel silly > install.log 2>&1",
"step:by:step": "npm install --no-optional --ignore-scripts && npm rebuild",
"outdated": "npm outdated",
"update": "npm update rimraf glob npmlog gauge are-we-there-yet",
"zip2": "dir-archiver --src . --des ../proj.zip --exclude .git .angular .github .vscode dist node_modules",
"zip3": "zip -r ../my_documents.zip ./libs",
"zip": "7z a ../eclair_commerce_files/eclair_commerce-backup2.7z . -xr!.angular -xr!vscode -xr!dist -xr!node_modules",
"test1": "echo test1",
"test2": "npm run test1"
},
"dependencies": {
"@angular/animations": "~20.3.4",
"@angular/common": "~20.3.4",
"@angular/compiler": "~20.3.4",
"@angular/core": "~20.3.4",
"@angular/forms": "~20.3.4",
"@angular/platform-browser": "~20.3.4",
"@angular/platform-browser-dynamic": "~20.3.4",
"@angular/router": "~20.3.4",
"@angular/service-worker": "~20.3.4",
"@auth0/angular-jwt": "^5.2.0",
"@capacitor/android": "^7.4.3",
"@capacitor/app": "^7.1.0",
"@capacitor/core": "^7.4.3",
"@capacitor/haptics": "^7.0.2",
"@capacitor/ios": "^7.4.3",
"@capacitor/keyboard": "^7.0.3",
"@capacitor/status-bar": "^7.0.3",
"@ionic/angular": "^8.7.6",
"@ionic/angular-server": "^8.7.6",
"@ionic/core": "^8.7.6",
"@ionic/storage-angular": "^4.0.0",
"@nestjs/common": "^11.1.6",
"@nestjs/core": "^11.1.6",
"@nestjs/jwt": "^11.0.0",
"@nestjs/platform-express": "^11.1.6",
"@nestjs/sequelize": "^11.0.0",
"@nestjs/serve-static": "^5.0.3",
"@nestjs/swagger": "^11.2.0",
"axios": "^1.12.2",
"bcrypt": "^6.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.2",
"dotenv": "^17.2.3",
"express": "^5.1.0",
"ionicons": "^8.0.13",
"jest-preset-angular": "^14.6.1",
"jwt-decode": "^4.0.0",
"pg": "^8.16.3",
"pg-hstore": "^2.3.4",
"prop-types": "^15.8.1",
"rate-limiter-flexible": "^8.0.1",
"react": "~19.2.0",
"react-dom": "~19.2.0",
"react-native": "~0.79.3",
"reflect-metadata": "^0.1.13",
"rxjs": "~7.8.0",
"sequelize": "^6.37.7",
"sequelize-typescript": "^2.1.6",
"swagger-ui-express": "^5.0.1",
"swiper": "^12.0.2",
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~20.3.4",
"@angular-devkit/core": "~20.3.4",
"@angular-devkit/schematics": "~20.3.4",
"@angular/cli": "~20.3.4",
"@angular/compiler-cli": "~20.3.4",
"@angular/language-service": "~20.3.4",
"@angular/pwa": "~20.3.4",
"@babel/core": "^7.28.4",
"@babel/preset-env": "^7.27.1",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@capacitor/cli": "^7.4.3",
"@eslint/js": "^9.8.0",
"@ionic/angular-toolkit": "^12.3.0",
"@nestjs/schematics": "^11.0.8",
"@nestjs/testing": "^11.1.6",
"@nx/angular": "21.6.3",
"@nx/cypress": "21.6.3",
"@nx/esbuild": "21.6.3",
"@nx/eslint": "21.6.3",
"@nx/eslint-plugin": "21.6.3",
"@nx/jest": "21.6.3",
"@nx/js": "21.6.3",
"@nx/nest": "21.6.3",
"@nx/node": "21.6.3",
"@nx/react-native": "21.6.3",
"@nx/web": "21.6.3",
"@nx/webpack": "21.6.3",
"@nx/workspace": "21.6.3",
"@nxext/capacitor": "^21.0.0",
"@nxext/ionic-angular": "^21.0.0",
"@react-native-community/cli": "^20.0.2",
"@react-native-community/cli-platform-android": "^20.0.2",
"@react-native-community/cli-platform-ios": "^20.0.2",
"@react-native/babel-preset": "^0.82.0",
"@react-native/metro-config": "^0.82.0",
"@schematics/angular": "~20.3.4",
"@swc-node/register": "^1.11.1",
"@swc/core": "^1.13.5",
"@swc/helpers": "~0.5.11",
"@testing-library/jest-native": "~5.4.3",
"@testing-library/react-native": "~12.9.0",
"@types/bcrypt": "^6.0.0",
"@types/express": "^4.17.23",
"@types/jasmine": "^5.1.9",
"@types/jest": "^30.0.0",
"@types/node": "^20.19.9",
"@types/pg": "^8.15.5",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@types/react-native": "^0.72.8",
"@types/react-test-renderer": "^19.1.0",
"@types/sequelize": "^4.28.20",
"@types/supertest": "^6.0.3",
"@typescript-eslint/utils": "^8.40.0",
"angular-eslint": "~20.3.0",
"autoprefixer": "^10.4.21",
"babel-jest": "^30.2.0",
"cypress": "^14.5.4",
"electron": "^38.2.2",
"esbuild": "^0.25.10",
"eslint": "^9.8.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-cypress": "^5.2.0",
"jasmine-core": "^5.12.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-environment-node": "^30.2.0",
"jest-react-native": "^18.0.0",
"jsonc-eslint-parser": "^2.1.0",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"metro-config": "~0.82.4",
"metro-resolver": "~0.82.4",
"ng-packagr": "^20.3.0",
"nx": "21.6.3",
"nx-electron": "^21.0.1",
"prettier": "^2.8.8",
"react-native-svg": "^15.14.0",
"react-native-svg-transformer": "^1.5.1",
"react-native-svg-web": "^1.0.9",
"react-native-web": "^0.21.1",
"react-test-renderer": "~19.2.0",
"sequelize-cli": "^6.6.3",
"supertest": "^7.1.4",
"ts-jest": "^29.4.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.3.0",
"typescript": "~5.9.2",
"typescript-eslint": "^8.40.0",
"webpack-cli": "^5.1.4"
},
"overrides_": {
"fast-redact": "^3.5.0",
"on-headers": "1.1.0",
"removed_@nx/express": "^20.8.2",
"removed_verdaccio": "^6.0.5"
},
"engines_": {
"node": ">=22.20.0",
"npm": ">=10.9.3"
},
"nx": {}
}