Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 2.11 KB
/
Copy pathpackage.json
File metadata and controls
41 lines (41 loc) · 2.11 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
{
"private": true,
"packageManager": "bun@1.3.14",
"workspaces": [
"p5-analysis",
"p5-server"
],
"scripts": {
"build": "bun run --filter '*' build",
"build:docs": "bun run build:docs:root && bun run --filter '*' build:docs",
"build:docs:root": "mkdir -p gh-pages && pandoc -dpandoc.yml README.md -o gh-pages/index.html && cp -r docs LICENSE gh-pages",
"gh-pages:build": "rimraf 'gh-pages/*' && bun run build:docs && cp -r p5-analysis/build/docs gh-pages/p5-analysis && cp -r p5-server/build/docs gh-pages/p5-server",
"gh-pages:publish": "cd gh-pages && git add -A && (git commit -m 'gh-pages:publish' || true) && git push origin +gh-pages",
"gh-pages": "bun run gh-pages:build && bun run gh-pages:publish",
"check": "bun run build && bun run lint && bun run typecheck:workspaces && bun run test:workspaces && bun run check:library-catalog && bun run test:packages:built",
"check:library-catalog": "bun test scripts/library-catalog.test.ts && bun run scripts/check-library-catalog.ts",
"clean": "bun run --parallel --filter '*' clean",
"clean:ws": "cd $INIT_CWD && rimraf build dist",
"changeset": "changeset",
"format": "biome format --write .",
"lint": "biome check . --diagnostic-level=error",
"test": "bun run build && bun run test:workspaces",
"test:packages": "bun run build && bun run test:packages:built",
"test:packages:built": "bun run scripts/test-packages.ts",
"release": "bun run check && changeset publish",
"test:workspaces": "bun run --parallel --filter '*' test",
"update:library-catalog": "bun run scripts/update-library-catalog.ts",
"update:library-catalog:source": "bun run scripts/update-library-catalog.ts --refresh-source",
"typecheck": "bun run build && bun run typecheck:workspaces",
"typecheck:workspaces": "bun run --parallel --filter '*' typecheck",
"version-packages": "changeset version && bun install --lockfile-only"
},
"devDependencies": {
"@biomejs/biome": "^2.5.8",
"@changesets/cli": "^3.0.0",
"@types/bun": "^1.3.14",
"copyfiles": "^2.4.1",
"rimraf": "^6.1.3",
"yaml": "^2.9.0"
}
}