-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
32 lines (32 loc) · 1.35 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
{
"private": true,
"packageManager": "[email protected]",
"workspaces": [
"p5-analysis",
"p5-server"
],
"scripts": {
"build": "yarn workspaces foreach -tv run build",
"build:docs": "yarn build:docs:root && yarn workspaces foreach -v 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/*' && yarn 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": "yarn gh-pages:build && yarn gh-pages:publish",
"clean": "yarn workspaces foreach run clean:ws",
"clean:ws": "cd $INIT_CWD && rimraf build dist",
"format": "prettier-eslint --write \"{,!(node_modules)/**/}*.ts\"",
"lint": "yarn workspaces foreach run lint",
"prepare": "husky install",
"test": "yarn workspace p5-analysis build && yarn workspaces foreach -tv 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"
}
}