0
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-01 07:20:46 +01:00

add codesandbox config for demo

This commit is contained in:
LouisLam 2021-08-26 20:36:58 +08:00
parent 8318c2e8ff
commit 508586fcfd
2 changed files with 12 additions and 1 deletions

View File

@ -33,7 +33,8 @@
"test-install-script-ubuntu": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/ubuntu.dockerfile .",
"test-install-script-ubuntu1604": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/ubuntu1604.dockerfile .",
"test-install-script-debian": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/debian.dockerfile .",
"simple-dns-server": "node extra/simple-dns-server.js"
"simple-dns-server": "node extra/simple-dns-server.js",
"codesandbox": "npm run build && npm run start-server"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",

10
sandbox.config.json Normal file
View File

@ -0,0 +1,10 @@
{
"infiniteLoopProtection": true,
"hardReloadOnChange": false,
"view": "browser",
"container": {
"node": "14",
"port": 3001,
"startScript": "codesandbox"
}
}