-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.93 KB
/
Copy pathpackage.json
File metadata and controls
47 lines (47 loc) · 1.93 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
{
"name": "phaset-web",
"version": "1.5.0",
"type": "module",
"author": "Phaset",
"license": "MIT",
"scripts": {
"start": "vite",
"dev": "vite",
"build": "npm run clean && vite build",
"build:demo": "API_BASE_URL=https://demo.api.phaset.dev npm run build",
"build:production": "npm run build",
"deploy": "npm run deploy:cloudflare",
"deploy:cloudflare": "npm run verify && npx wrangler pages deploy dist --project-name=phaset-web --commit-dirty=true",
"test": "vitest run",
"test:watch": "vitest",
"lint": "biome check ./src ./tests ./vite.config.js ./vitest.config.ts ./package.json ./biome.json",
"lint:fix": "biome check ./src ./tests ./vite.config.js ./vitest.config.ts ./package.json ./biome.json --write",
"format": "biome format --write ./src ./tests ./vite.config.js ./vitest.config.ts ./package.json ./biome.json",
"deps": "depcruise src --include-only '^src' --validate .dependency-cruiser.cjs",
"verify": "npm run lint && npm test && npm run build && npm run deps",
"docs:diagrams": "depcruise src --include-only '^src' --output-type dot | dot -T svg > dependency-graph.svg",
"docs:licenses": "npx license-checker-rseidelsohn --production --plainVertical --excludePackagesStartingWith \"phaset;esbuild;@esbuild\" --out oss-licenses.txt",
"clean": "rm -rf dist",
"release": "bash release.sh",
"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"
},
"dependencies": {
"@lit/context": "1",
"@shoelace-style/shoelace": "2",
"@vaadin/router": "2",
"chart.js": "4",
"lit": "3"
},
"devDependencies": {
"@biomejs/biome": "2",
"@vitest/coverage-v8": "4",
"dependency-cruiser": "17",
"license-checker-rseidelsohn": "4",
"vite-plugin-static-copy": "3",
"vite": "7",
"vitest": "4",
"wrangler": "4"
}
}