-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
27 lines (27 loc) · 1.17 KB
/
Copy pathpackage.json
File metadata and controls
27 lines (27 loc) · 1.17 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
{
"name": "scratch4js-monorepo",
"description": "Edit Scratch .sb3 projects from JavaScript, plus an MCP server!",
"type": "module",
"private": true,
"packageManager": "pnpm@11.5.2",
"scripts": {
"build": "pnpm -r build",
"dev": "pnpm -r --parallel dev",
"docs:dev": "rspress dev",
"build:tw-ext": "pnpm --filter browser-ide-kit build && PUBLIC_PATH=/scratch4js/tw-ext/ pnpm --filter tw-extension-maker build",
"build:dev-local": "pnpm --filter browser-ide-kit build && PUBLIC_PATH=/scratch4js/dev-local/ pnpm --filter dev-local build",
"docs:build": "rspress build && pnpm run build:tw-ext && rm -rf doc_build/tw-ext && cp -r packages/tw-extension-maker/dist doc_build/tw-ext && pnpm run build:dev-local && rm -rf doc_build/dev-local && cp -r packages/dev-local/dist doc_build/dev-local",
"docs:preview": "rspress preview",
"fmt": "prettier --write .",
"lint": "eslint .",
"install-userscript": "pnpm --filter userscript deploy"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@rspress/core": "^2.0.14",
"@rspress/plugin-sitemap": "^2.0.14",
"eslint": "^10.3.0",
"globals": "^17.6.0",
"prettier": "^3.8.3"
}
}