-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.37 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 2.37 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
{
"name": "@equal-vote/star-vote",
"version": "1.0.0",
"description": "bettervoting is built using Express (For now) for the back end server and React for the front end user interface",
"main": "index.js",
"workspaces": [
"./packages/shared",
"./packages/backend",
"./packages/frontend"
],
"scripts": {
"prepare": "husky || true # https://typicode.github.io/husky/how-to.html#ci-server-and-docker",
"clean": "npx rimraf node_modules",
"clean:ws": "npm run clean -ws && npm run clean",
"test": "cd packages/backend && npm install && npm test",
"makedevelections": "tsx ./packages/backend/src/DevElections/makeDevElections.ts",
"start": "./replace.sh && node ./packages/backend/build/src/Migrators/migrate-to-latest.js && node ./packages/backend/build/src/index.js",
"heroku-postbuild": "cd packages/frontend && npm install && npm run build && cd ../backend && npm install && npm run-script build",
"sandcastle": "npx tsx .sandcastle/main.mts",
"sandcastle:merge": "npx tsx .sandcastle/main.mts --merge",
"lint:staged": "lint-staged",
"lint:diff": "node scripts/lint-diff.mjs"
},
"lint-staged": {
"packages/frontend/**/*.{js,jsx,ts,tsx}": "eslint --config packages/frontend/eslint.config.js --fix",
"packages/backend/**/*.{js,ts}": "eslint --config packages/backend/eslint.config.mjs --fix",
"packages/shared/**/*.{js,ts}": "eslint --config packages/shared/eslint.config.mjs --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Equal-Vote/bettervoting.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Equal-Vote/bettervoting/issues"
},
"homepage": "https://github.com/Equal-Vote/bettervoting#readme",
"devDependencies": {
"@ai-hero/sandcastle": "^0.12.0",
"@playwright/test": "^1.60.0",
"husky": "^9.1.7",
"lint-staged": "^17.1.1",
"rimraf": "^5.0.5"
},
"dependencies": {
"ts-node": "^10.9.2",
"typescript": "^5.9.0",
"zod": "^4.4.3"
},
"optionalDependencies": {
"@rspack/binding-darwin-arm64": "latest",
"@rspack/binding-darwin-x64": "latest",
"@rspack/binding-linux-arm64-gnu": "latest",
"@rspack/binding-linux-x64-gnu": "latest",
"@rspack/binding-linux-x64-musl": "latest"
},
"overrides": {
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"qs": "^6.15.0"
}
}