-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 1.5 KB
/
package.json
File metadata and controls
32 lines (32 loc) · 1.5 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
{
"private": true,
"packageManager": "bun@1.0.0",
"workspaces": [
"p5-analysis",
"p5-server"
],
"scripts": {
"build": "bun --cwd p5-analysis run build && bun --cwd p5-server run build",
"build:docs": "bun run build:docs:root && bun --cwd p5-analysis run build:docs && bun --cwd p5-server run build:docs",
"build:docs:root": "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",
"clean": "bun --cwd p5-analysis run clean:ws && bun --cwd p5-server run clean:ws",
"clean:ws": "cd $INIT_CWD && rimraf build dist",
"format": "prettier-eslint --write \"{,!(node_modules)/**/}*.ts\"",
"lint": "bun --cwd p5-analysis run lint && bun --cwd p5-server run lint",
"prepare": "husky install",
"test": "bun --cwd p5-analysis run build && bun --cwd p5-server run test && bun --cwd p5-analysis run test"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"copyfiles": "^2.4.1",
"eslint": "^8.4.1",
"eslint-plugin-jest": "^25.3.0",
"husky": "^7.0.4",
"prettier-eslint-cli": "^5.0.1",
"rimraf": "^3.0.2"
}
}