forked from quadratichq/quadratic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 3.42 KB
/
package.json
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
{
"name": "quadratic",
"version": "0.3.0",
"author": {
"name": "David Kircos",
"email": "[email protected]",
"url": "https://quadratichq.com"
},
"repository": "https://github.com/quadratichq/quadratic.git",
"private": true,
"workspaces": [
"quadratic-api",
"quadratic-shared",
"quadratic-client",
"quadratic-files",
"quadratic-multiplayer"
],
"type": "module",
"scripts": {
"start": "node dev",
"api:start": "npm start --workspace=quadratic-api",
"clean": "npm exec --workspaces -- npx rimraf node_modules && npx rimraf node_modules",
"lint:client": "cd quadratic-client && npm run lint:ts && npm run lint:eslint && lint:prettier && lint:clippy",
"build:wasm:types": "cd quadratic-core && cargo run --bin export_types",
"watch:wasm:javascript": "cd quadratic-core && cargo watch -s 'wasm-pack build --dev --target web --out-dir ../quadratic-client/src/quadratic-core --weak-refs'",
"build:wasm:javascript": "cd quadratic-core && wasm-pack build --dev --target web --out-dir ../quadratic-client/src/quadratic-core --weak-refs",
"watch:wasm:perf:javascript": "cd quadratic-core && cargo watch -s 'wasm-pack build --target web --out-dir ../quadratic-client/src/quadratic-core --weak-refs'",
"build:wasm:perf:javascript": "cd quadratic-core && wasm-pack build --target web --out-dir ../quadratic-client/src/quadratic-core --weak-refs",
"watch:python": "cd quadratic-kernels/python-wasm && npm run dev",
"build:python": "./quadratic-kernels/python-wasm/package.sh",
"coverage:wasm:gen": "cd quadratic-core && cd quadratic-core && CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='coverage/cargo-test-%p-%m.profraw' cargo test",
"coverage:wasm:html": "cd quadratic-core && cd quadratic-core && grcov . --binary-path ./target/debug/deps/ -s . -t html --branch --ignore-not-existing --ignore 'src/wasm_bindings/*' --ignore 'src/bin/*' --ignore '../*' --ignore '/*' -o coverage/html",
"coverage:wasm:view": "open quadratic-core/coverage/html/index.html",
"test:wasm": "cd quadratic-core && cargo test",
"test:ts": "cd quadratic-client && vitest",
"test:api": "npm run docker:test:dev --workspace=quadratic-api",
"test:multiplayer": "npm run test --workspace=quadratic-multiplayer",
"benchmark:rust": "cd quadratic-core && cargo bench",
"lint:rust": "cargo clippy --all-targets --all-features -- -D warnings",
"lint:clippy": "cd quadratic-core && cargo clippy --all-targets --all-features -- -D warnings",
"lint:clippy:fix": "cd quadratic-core && cargo clippy --all-targets --all-features --fix -- -D warnings",
"heroku-postbuild": "npm run build --workspace=quadratic-api",
"kill": "kill-port 3000 && kill-port 3001 && kill-port 8001 && kill-port 8000",
"prisma:migrate": "cd quadratic-api && npm run prisma:migrate",
"docker:up": "docker compose up -d --wait && npm run prisma:migrate --workspace=quadratic-api",
"docker:down": "docker compose down",
"docker:down:kill-volumes": "docker compose down -v"
},
"dependencies": {
"zod": "^3.22.4"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"chalk": "^5.3.0",
"commander": "^11.1.0",
"concurrently": "^6.5.1",
"eslint": "^8.54.0",
"jest": "^29.6.1",
"kill-port": "^2.0.1",
"prettier": "2.8.3",
"tree-kill": "^1.2.2",
"ts-jest": "^29.1.1",
"typescript": "^5.3.2"
},
"engines": {
"node": "18.x"
}
}