-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 1.63 KB
/
package.json
File metadata and controls
31 lines (31 loc) · 1.63 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
{
"name": "moodle-playground",
"private": true,
"type": "module",
"scripts": {
"build:version": "node scripts/write-build-version.mjs",
"build:worker": "node esbuild.worker.mjs",
"serve": "http-server . -p ${PORT:-8080} -c-1",
"bundle:default": "sh -c 'BRANCH=\"${BRANCH:-MOODLE_500_STABLE}\" ./scripts/build-moodle-bundle.sh'",
"prepare:dev:pretty": "concurrently --names worker,bundle --prefix name --prefix-colors cyan,yellow \"npm:build:worker\" \"npm:bundle:default\"",
"bundle:all:pretty": "concurrently --names 404,405,500,501,502,main --prefix name --prefix-colors blue,magenta,green,yellow,red,cyan \"sh -c 'BRANCH=MOODLE_404_STABLE ./scripts/build-moodle-bundle.sh'\" \"sh -c 'BRANCH=MOODLE_405_STABLE ./scripts/build-moodle-bundle.sh'\" \"sh -c 'BRANCH=MOODLE_500_STABLE ./scripts/build-moodle-bundle.sh'\" \"sh -c 'BRANCH=MOODLE_501_STABLE ./scripts/build-moodle-bundle.sh'\" \"sh -c 'BRANCH=MOODLE_502_STABLE GIT_REF=v5.2.0 ./scripts/build-moodle-bundle.sh'\" \"sh -c 'BRANCH=main ./scripts/build-moodle-bundle.sh'\"",
"bundle": "./scripts/build-moodle-bundle.sh",
"test": "node --test tests/**/*.test.js",
"test:blueprint": "node --test tests/blueprint/*.test.js",
"test:e2e": "playwright test",
"test:e2e:install": "playwright install chromium"
},
"dependencies": {
"@php-wasm/stream-compression": "^3.1.20",
"@php-wasm/universal": "^3.1.15",
"@php-wasm/web": "^3.1.20",
"fflate": "^0.8.2"
},
"devDependencies": {
"@biomejs/biome": "^2.4.12",
"concurrently": "^9.2.1",
"esbuild": "^0.28.0",
"@playwright/test": "^1.58.2",
"http-server": "^14.1.1"
}
}