forked from restspace/rs-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
22 lines (22 loc) · 2.26 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
{
"scripts": {
"run": "deno run --allow-all --unstable --import-map=importMap.json server.ts ./serverConfig.json",
"run-debug": "deno run --inspect-brk --allow-all --unstable --import-map=importMap.json server.ts ./serverConfig.json",
"run-nocheck": "deno run --allow-all --unstable --no-check --import-map=importMap.json server.ts ./serverConfig.json",
"run-verbose": "deno run --allow-all --unstable --no-check --import-map=importMap.json server.ts ./serverConfig.json 3100 DEBUG",
"clean-tests": "rmdir C:\\Dev\\test\\test-data /S /Q && mkdir C:\\Dev\\test\\test-data",
"test": "npm run clean-tests && deno test --unstable --allow-all --import-map=importMap.json test/",
"test-nocheck": "npm run clean-tests && deno test --unstable --allow-all --import-map=importMap.json --no-check test/",
"test-debug": "npm run clean-tests && deno test --inspect-brk --unstable --allow-all --import-map=importMap.json test/",
"reload": "deno cache --import-map=importMap.json server.ts --reload",
"bundle": "deno bundle --no-check --unstable --import-map=importMap.json server.ts bundled.js",
"ssh": "ssh -i C:\\Users\\james\\Documents\\Infrapac\\keys\\stagingpac.pem [email protected]",
"deploy": "scp -i C:\\Users\\james\\Documents\\Infrapac\\keys\\stagingpac.pem -r ..\\rs-publish\\* [email protected]:/var/www/rs-runtime",
"run-bundle": "deno run --allow-all --unstable --no-check --import-map=importMap.json bundled.js ./serverConfig.json",
"publish": "rmdir ..\\rs-publish /S /Q && mkdir ..\\rs-publish && xcopy bundled.js ..\\rs-publish && xcopy importMap.json ..\\rs-publish",
"--upload-data": "scp -i C:\\Users\\james\\Documents\\Infrapac\\keys\\stagingpac.pem -r ..\\test\\data\\main\\* [email protected]:/var/www/rs-data/demo",
"to-production": "npm run bundle && npm run publish && npm run deploy",
"deploy-admin": "scp -i C:\\Users\\james\\Documents\\Infrapac\\keys\\stagingpac.pem -r D:\\Dev\\json-depot\\build\\* [email protected]:/var/www/rs-data/demo/site",
"https-proxy-3131": "caddy run"
}
}