-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 4.25 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 4.25 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
{
"type": "module",
"name": "simple-comment",
"version": "1.0.0",
"description": "A simple comment system built with Svelte, Netlify Functions, and MongoDB.",
"main": "dist/js/index.js",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@shelf/jest-mongodb": "^6.0.2",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/svelte": "^5.3.1",
"@types/bcryptjs": "^2.4.2",
"@types/jest": "^29.5.3",
"@types/jsonwebtoken": "^8.5.0",
"@types/picomatch": "^2.3.0",
"cross-env": "^7.0.3",
"globals": "^17.4.0",
"knip": "^6.0.3",
"vite": "^6.4.2",
"vitest": "^3.2.4"
},
"optionalDependencies": {
"cypress": "^12.17.4",
"netlify-cli": "^24.0.1"
},
"scripts": {
"build": "yarn run build:backend && yarn run build:frontend",
"build:backend": "yarn run build:netlify",
"build:frontend": "vite build --config ./vite.config.ts",
"build:netlify": "webpack --config ./webpack.netlify.functions.cjs",
"ci:local": "bash ./scripts/ci-local.sh",
"fix": "eslint . --fix && prettier . --write",
"lint": "eslint .",
"posttest": "rimraf ./globalConfig.json",
"prebuild": "rimraf ./functions && rimraf ./dist/js && mkdir -p ./dist/js",
"start:db": "sudo systemctl start mongod",
"start:backend": "yarn run build:backend && netlify functions:serve --functions functions --port 9999",
"start:frontend": "yarn run build:frontend && vite preview --config ./vite.config.ts --host 0.0.0.0 --port 5000",
"start": "concurrently \"yarn run start:backend\" \"yarn run start:frontend\" --kill-others",
"dev:frontend": "vite dev --config ./vite.config.ts --host 0.0.0.0 --port 5173",
"dev": "concurrently \"yarn run watch:backend\" \"NODE_ENV=development NODE_OPTIONS=\\\"--max-old-space-size=4096\\\" netlify dev\" --kill-others",
"test": "yarn test:backend && yarn test:frontend",
"test:backend": "jest --config jest.backend.config.ts",
"test:cypress": "cypress run",
"test:frontend": "yarn test:frontend:unit && yarn test:frontend:components",
"test:frontend:components": "cross-env TZ=UTC vitest --config vitest.components.config.ts run",
"test:frontend:unit": "cross-env TZ=UTC jest --config jest.frontend.config.ts",
"typecheck": "tsc --noEmit -p tsconfig.frontend.json && tsc --noEmit -p tsconfig.netlify.functions.json",
"watch:backend": "webpack --config ./webpack.netlify.functions.cjs --watch",
"watch:frontend": "vite build --config ./vite.config.ts --watch",
"watch:lint": "esw -w ./src/**/*.ts --color --clear --changed",
"watch:test": "jest --watch --noStackTrace",
"knip": "knip"
},
"dependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@sendgrid/mail": "^8.1.6",
"@tsconfig/svelte": "^5.0.8",
"@types/aws-lambda": "^8.10.95",
"@types/node": "^25.5.0",
"@typescript-eslint/eslint-plugin": "^8.57.2",
"@typescript-eslint/parser": "^8.57.2",
"@xstate/svelte": "^2.1.0",
"babel-jest": "^29.6.1",
"bcryptjs": "^2.4.3",
"carbon-icons-svelte": "^13.10.0",
"concurrently": "^7.1.0",
"dotenv": "^16.0.0",
"eslint": "^10.1.0",
"eslint-plugin-svelte": "^3.16.0",
"eslint-watch": "^8.0.0",
"http-server": "^14.1.0",
"jest": "29.6.1",
"jest-environment-jsdom": "^29.6.1",
"jest-environment-node": "^29.7.0",
"jsdom": "^20.0.0",
"jsonwebtoken": "^9.0.3",
"merge": "^2.1.1",
"mongodb": "^5.8.0",
"normalize-url": "^8.0.0",
"picomatch": "^2.3.2",
"prando": "^6.0.1",
"prettier": "3.8.1",
"prettier-plugin-svelte": "^3.5.1",
"rimraf": "^3.0.2",
"sass": "^1.63.6",
"svelte": "^5.55.0",
"svelte-eslint-parser": "^1.6.0",
"svelte-preprocess": "^6.0.3",
"ts-jest": "^29.4.6",
"ts-loader": "^9.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.2",
"xstate": "^4.38.1"
},
"resolutions": {
"@cypress/request": "^3.0.0",
"async": ">2.6.4 || ^2.6.4",
"glob-parent": ">6.0.2 || ^6.0.2",
"vite": "6.4.2"
},
"documentation": {
"resolutions": {
"@cypress/request": "Resolved to version 3.0.0 to address security vulnerability. q.v. https://github.com/advisories/GHSA-p8p7-x288-28g6"
}
}
}