-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 3.08 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 3.08 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
{
"name": "phaset-api",
"description": "Phaset API back-end",
"version": "1.5.0",
"author": "Phaset",
"license": "MIT",
"type": "module",
"scripts": {
"start": "npx tsx src/index.ts",
"start:docker": "docker run -d -v $(pwd)/phaset.config.json:/app/phaset.config.json:ro -p 3000:3000 --name phaset ghcr.io/phasetdev/phaset-api:latest",
"build": "npm run clean && node esbuild.config.mjs --esm",
"build:docker": "npm run build && docker build -t ghcr.io/phasetdev/phaset-api:$(node -p \"require('./package.json').version\") -t ghcr.io/phasetdev/phaset-api:latest .",
"push:docker": "docker push ghcr.io/phasetdev/phaset-api:$(node -p \"require('./package.json').version\") && docker push ghcr.io/phasetdev/phaset-api:latest",
"build:docs": "npm run docs && cp dependency-graph.svg docs",
"test": "npm run test:types && npm run test:unit",
"test:dependencies": "npx depcruise --config .dependency-cruiser.cjs src",
"test:types": "npx tsc --noEmit && npx type-coverage --at-least 80 --strict --ignore-files \"tests/**/*.ts\" --ignore-files \"*.ts\" --ignore-files \"src/application/errors/*.ts\" --ignore-files \"testdata/*.ts\"",
"test:unit": "npx vitest run --coverage",
"test:unit:watch": "npx vitest --watch",
"typecheck": "npx tsc --noEmit",
"lint": "npx @biomejs/biome check ./src ./tests",
"lint:fix": "npx @biomejs/biome check --write ./src ./tests",
"verify": "npm run lint && npm test && npm run build",
"docs": "rm -rf docs && mkdir docs && npm run docs:typedoc && npm run docs:diagrams",
"docs:diagrams": "npx depcruise --config .dependency-cruiser.cjs src --include-only '^src' --output-type dot | dot -T svg > dependency-graph.svg",
"docs:typedoc": "npx typedoc --entryPoints './src' --entryPointStrategy 'expand' --exclude '**/*+(test).ts' --externalPattern '**/node_modules/**/*' --excludeExternals --out 'docs'",
"docs:licenses": "npx license-checker-rseidelsohn --production --plainVertical --excludePackagesStartingWith \"phaset;esbuild;@esbuild\" --out oss-licenses.txt",
"demo:assurance": "node scripts/generate-assurance-demo.mjs",
"sbom": "syft file:package-lock.json --output spdx-json > ./sbom.json",
"scan": "grype ./sbom.json -o json",
"licenses": "grant check sbom.json --config .grant.yaml",
"release": "bash release.sh",
"clean": "rm -rf lib",
"prepare": "husky",
"tunnel": "cloudflared tunnel --url http://localhost:3000"
},
"dependencies": {
"@hono/node-server": "1",
"chrono-utils": "1",
"hono": "4",
"mikroauth": "1",
"mikroconf": "1",
"mikrodb": "1",
"mikroevent": "1",
"mikroid": "1",
"mikropermit": "1",
"mikrovalid": "1",
"pikodb": "1"
},
"devDependencies": {
"@biomejs/biome": "2",
"@types/node": "24",
"@vitest/coverage-v8": "4",
"dependency-cruiser": "17",
"esbuild": "0",
"husky": "9",
"license-checker-rseidelsohn": "4",
"license-compliance": "latest",
"tsx": "4",
"type-coverage": "2",
"typedoc": "latest",
"typescript": "5",
"vitest": "4"
},
"volta": {
"node": "24.7.0"
}
}