-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 9.15 KB
/
Copy pathpackage.json
File metadata and controls
135 lines (135 loc) · 9.15 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
{
"name": "mockazon",
"version": "1.0.0",
"description": "Educational mock/clone of Amazon.com",
"author": "Lukas Teixeira Doepcke <lteixeir@ucsc.edu>, Evan Metcalf <evmetcal@ucsc.edu>, Eesha Krishnamagaru <elkrishn@ucsc.edu>, Hunter Tratar <htratar@ucsc.edu>, Trevor Ryles <tryles@ucsc.edu>",
"license": "none",
"repository": "https://github.com/ekrishnamagaru/Mockazon",
"scripts": {
"docker-account-up": "cd AccountService && docker compose up -d",
"docker-product-up": "cd ProductService && docker compose up -d",
"docker-order-up": "cd OrderService && docker compose up -d",
"docker-key-up": "cd KeyService && docker compose up -d",
"docker-up": "npm run docker-account-up && npm run docker-order-up && npm run docker-product-up && npm run docker-key-up",
"docker-account-down": "cd AccountService && docker compose down",
"docker-product-down": "cd ProductService && docker compose down",
"docker-order-down": "cd OrderService && docker compose down",
"docker-key-down": "cd KeyService && docker compose down",
"docker-down": "npm run docker-account-down && npm run docker-order-down && npm run docker-product-down && npm run docker-key-down",
"docker-reset-account": "npm run docker-account-down && npm run docker-account-up",
"docker-reset-product": "npm run docker-product-down && npm run docker-product-up",
"docker-reset-order": "npm run docker-order-down && npm run docker-order-up",
"docker-reset-key": "npm run docker-key-down && npm run docker-key-up",
"docker-reset": "npm run docker-down && npm run docker-up",
"install-admin": "cd Admin && npm install",
"install-account": "cd AccountService && npm install",
"install-order": "cd OrderService && npm install",
"install-shopper": "cd Shopper && npm install",
"install-product": "cd ProductService && npm install",
"install-vendor-app": "cd VendorApp && npm install",
"install-vendor-api": "cd VendorAPI && npm install",
"install-key": "cd KeyService && npm install",
"installs": "npm install && npm run install-admin && npm run install-account && npm run install-order && npm run install-shopper && npm run install-product && npm run install-vendor-app && npm run install-vendor-api && npm run install-key",
"dev-admin": "cd Admin && npm run dev",
"dev-account": "cd AccountService && npm run dev",
"dev-order": "cd OrderService && npm run dev",
"dev-shopper": "cd Shopper && npm run dev",
"dev-product": "cd ProductService && npm run dev",
"dev-vendor-app": "cd VendorApp && npm run dev",
"dev-vendor-api": "cd VendorAPI && npm run dev",
"dev-key": "cd KeyService && npm run dev",
"devs": "npm run docker-up && concurrently --kill-others \"npm run dev-admin\" \"npm run dev-account\" \"npm run dev-order\" \"npm run dev-shopper\" \"npm run dev-product\" \"npm run dev-vendor-app\" \"npm run dev-vendor-api\" \"npm run dev-key\"",
"lint-admin": "cd Admin && npm run lint",
"lint-account": "cd AccountService && npm run lint",
"lint-key": "cd KeyService && npm run lint",
"lint-order": "cd OrderService && npm run lint",
"lint-product": "cd ProductService && npm run lint",
"lint-shopper": "cd Shopper && npm run lint",
"lint-vendorapp": "cd VendorApp && npm run lint",
"lint-vendorapi": "cd VendorAPI && npm run lint",
"lints": "npm run lint-admin && npm run lint-account && npm run lint-key && npm run lint-order && npm run lint-product && npm run lint-shopper && npm run lint-vendorapp && npm run lint-vendorapi",
"containerized": "npm run installs && dotenv -- npm run builds && docker compose up -d --build",
"containerise": "dotenv -- npm run builds && docker compose up -d --build",
"build-admin": "cd Admin && npm run build",
"build-account": "cd AccountService && npm run build",
"build-key": "cd KeyService && npm run build",
"build-order": "cd OrderService && npm run build",
"build-product": "cd ProductService && npm run build",
"build-shopper": "cd Shopper && npm run build",
"build-vendorapi": "cd VendorAPI && npm run build",
"build-vendorapp": "cd VendorApp && npm run build",
"builds": "npm run build-admin && npm run build-account && npm run build-key && npm run build-order && npm run build-product && npm run build-shopper && npm run build-vendorapi && npm run build-vendorapp",
"build": "npm run build-admin && npm run build-account && npm run build-key && npm run build-order && npm run build-product && npm run build-shopper && npm run build-vendorapi && npm run build-vendorapp",
"ci-admin": "cd Admin && npm ci --ignore-scripts",
"ci-account": "cd AccountService && npm ci --ignore-scripts",
"ci-key": "cd KeyService && npm ci --ignore-scripts",
"ci-order": "cd OrderService && npm ci --ignore-scripts",
"ci-product": "cd ProductService && npm ci --ignore-scripts",
"ci-shopper": "cd Shopper && npm ci --ignore-scripts",
"ci-vendorapi": "cd VendorAPI && npm ci --ignore-scripts",
"ci-vendorapp": "cd VendorApp && npm ci --ignore-scripts",
"cis": "npm ci --ignore-scripts && npm run ci-admin && npm run ci-account && npm run ci-key && npm run ci-order && npm run ci-product && npm run ci-shopper && npm run ci-vendorapi && npm run ci-vendorapp",
"ms-cis": "npm ci --ignore-scripts && npm run ci-account && npm run ci-order && npm run ci-product && npm run ci-key",
"start-admin": "cd Admin && npm start",
"start-account": "cd AccountService && npm start",
"start-key": "cd KeyService && npm start",
"start-order": "cd OrderService && npm start",
"start-product": "cd ProductService && npm start",
"start-shopper": "cd Shopper && npm start",
"start-vendorapi": "cd VendorAPI && npm start",
"start-vendorapp": "cd VendorApp && npm start",
"starts": "concurrently --kill-others \"npm run start-admin\" \"npm run start-account\" \"npm run start-key\" \"npm run start-order\" \"npm run start-product\" \"npm run start-shopper\" \"npm run start-vendorapi\" \"npm run start-vendorapp\"",
"ms-starts": "concurrently --kill-others \"npm run start-account\" \"npm run start-order\" \"npm run start-product\" \"npm run start-key\"",
"test-admin": "cd Admin && npm test",
"test-admin:silent": "cd Admin && npm test -- --silent",
"test-account": "cd AccountService && npm test",
"test-account:silent": "cd AccountService && npm test -- --silent",
"test-key": "cd KeyService && npm test",
"test-key:silent": "cd KeyService && npm test -- --silent",
"test-order": "cd OrderService && npm test",
"test-order:silent": "cd OrderService && npm test -- --silent",
"test-product": "cd ProductService && npm test",
"test-product:silent": "cd ProductService && npm test -- --silent",
"test-shopper": "cd Shopper && npm test",
"test-shopper:silent": "cd Shopper && npm test -- --silent",
"test-vendorapi": "cd VendorAPI && npm test",
"test-vendorapi:silent": "cd VendorAPI && npm test -- --silent",
"test-vendorapp": "cd VendorApp && npm test",
"test-vendorapp:silent": "cd VendorApp && npm test -- --silent",
"tests": "npm run test-account && npm run test-admin && npm run test-key && npm run test-order && npm run test-product && npm run test-shopper && npm run test-vendorapi && npm run test-vendorapp && npm run merge-coverage && npm run display-coverage",
"test": "npm run test-account && npm run test-admin && npm run test-key && npm run test-order && npm run test-product && npm run test-shopper && npm run test-vendorapi && npm run test-vendorapp && npm run merge-coverage && npm run display-coverage",
"tests:silent": "npm run test-account:silent && npm run test-admin:silent && npm run test-key:silent && npm run test-order:silent && npm run test-product:silent && npm run test-shopper:silent && npm run test-vendorapi:silent && npm run test-vendorapp:silent && npm run merge-coverage && npm run display-coverage",
"test-e2es": "cd VendorApp && npm run test-e2e && cd .. && cd Shopper && npm run test-e2e && cd .. && cd Admin && npm run test-e2e",
"e2e": "cd VendorApp && npm run test-e2e && cd .. && cd Shopper && npm run test-e2e && cd .. && cd Admin && npm run test-e2e",
"merge-coverage": "ts-node merge-coverage.ts",
"display-coverage": "ts-node display-coverage.ts",
"postinstall": "npm run install-admin && npm run install-account && npm run install-order && npm run install-shopper && npm run install-product && npm run install-vendor-app && npm run install-vendor-api && npm run install-key",
"zip": "zip -r Mockazon.Submission.zip . -x '*node_modules*/*' -x '*.next*/*' -x '*.swc*/*' -x '*.git*/*' -x '*.github*/*'"
},
"devDependencies": {
"@types/cheerio": "^0.22.35",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.12",
"concurrently": "*",
"fs-extra": "^10.0.0",
"jest": "^29.7.0",
"jest-html-reporter": "^3.10.2",
"nyc": "^15.1.0",
"prettier": "*",
"ts-jest": "^29.1.3",
"ts-node": "^10.9.1",
"typescript": "^4.5.4"
},
"dependencies": {
"bestzip": "^2.2.1",
"cheerio": "^1.0.0-rc.12",
"cli-table3": "^0.6.5",
"dotenv": "^16.4.5",
"dotenv-cli": "^7.4.2",
"email": "^0.2.6",
"istanbul": "^0.4.5",
"node-fetch": "^2.7.0",
"random": "^4.1.0",
"random-email": "^1.0.3"
}
}