forked from JulianLee123/RDB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 4.04 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 4.04 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
{
"name": "rdb",
"version": "1.0.0",
"main": "index.js",
"repository": "git@github.com:JulianLee123/RDB.git",
"author": "lee-julian",
"license": "MIT",
"scripts": {
"build": "corepack enable && yarn install:all && yarn build:server && yarn build:client",
"build:client": "cd client && yarn build",
"build:server": "cd server && yarn build",
"clean:all": "rm -rf node_modules && cd server && rm -rf node_modules && cd ../client && rm -rf node_modules",
"install:all": "yarn && cd server && yarn && cd ../client && yarn",
"install:all:immutable": "yarn install --immutable && cd server && yarn install --immutable && cd ../client && yarn install --immutable",
"install:client": "cd client && yarn",
"install:server": "cd server && yarn",
"dev:client": "cd client && yarn dev",
"dev:server": "cd server && yarn dev",
"meili:up": "docker compose up -d meilisearch",
"meili:down": "docker compose down",
"meili:logs": "docker compose logs -f meilisearch",
"meili:health": "curl http://localhost:7700/health",
"meili:seed": "yarn --cwd server meili:seed",
"migrate:mongo-naming": "yarn --cwd server migrate:mongo-naming",
"scrape": "yarn --cwd server scrape",
"scrape:seed-sources": "yarn --cwd server scrape:seed-sources",
"playwright:run": "bash scripts/with-playwright-libs.sh npx playwright",
"audit:unified-research": "bash scripts/with-playwright-libs.sh node scripts/unified-research-search-audit.mjs",
"audit:research-detail-professors": "bash scripts/with-playwright-libs.sh node scripts/research-detail-professor-audit.mjs",
"start": "concurrently \"yarn start:client\" \"yarn start:server\"",
"start:client": "cd client && yarn dev",
"start:server": "cd server && yarn start",
"test": "yarn install:all && yarn build && yarn start",
"test:ci": "yarn --cwd client test:ci",
"security:policy": "node --test scripts/security-preflight.test.mjs",
"security:secrets": "node scripts/check-no-secrets.mjs",
"security:audit:production": "yarn npm audit --severity moderate --environment production && yarn --cwd server npm audit --severity moderate --environment production && yarn --cwd client npm audit --severity moderate --environment production",
"security:preflight": "yarn security:policy && yarn security:secrets && yarn security:audit:production",
"security:smoke:production": "node client/scripts/productionPromotionSmoke.mjs --api-base ${SMOKE_API_BASE:-https://yalelabs.io/api} --app-base ${SMOKE_APP_BASE:-https://yalelabs.io} --ui=false",
"lint": "eslint \"client/src/**/*.{ts,tsx}\" \"server/src/**/*.ts\"",
"lint:fix": "eslint --fix \"client/src/**/*.{ts,tsx}\" \"server/src/**/*.ts\"",
"format": "prettier --write \"client/src/**/*.{ts,tsx,css}\" \"server/src/**/*.ts\"",
"format:check": "prettier --check \"client/src/**/*.{ts,tsx,css}\" \"server/src/**/*.ts\""
},
"dependencies": {
"axios": "^1.17.0",
"concurrently": "^9.2.1",
"cookie-session": "^2.1.0",
"cors": "^2.8.5",
"cross": "^1.0.0",
"cross-env": "^10.1.0",
"dotenv": "^16.3.1",
"env": "^0.0.2",
"express": "^4.22.2",
"express-session": "^1.17.2",
"mongoose": "^8.24.0",
"openai": "^6.41.0",
"passport": "^0.7.0",
"passport-cas": "git+https://github.com/coursetable/passport-cas#79612f1fb25fea7d62a7c38701494411cf560201",
"passport-strategy": "^1.0.0"
},
"resolutions": {
"form-data": "4.0.6",
"undici": "6.27.0",
"axios": "1.17.0",
"underscore": "1.13.8",
"path-to-regexp": "0.1.13",
"uuid": "11.1.1",
"xml2js": "0.6.2",
"shell-quote": "1.8.4",
"brace-expansion": "5.0.6"
},
"devDependencies": {
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"globals": "^15.14.0",
"playwright": "^1.60.0",
"prettier": "^3.4.2",
"typescript": "^5.3.0",
"typescript-eslint": "^8.20.0"
},
"packageManager": "yarn@4.15.0"
}