forked from scarletquasar/MelonRuntime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
19 lines (19 loc) · 1.64 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"scripts": {
"_build_core": "cd ./projects/melon-core && npm run build && cd ../..",
"_build_tests": "cd ./projects/melon-tests && npm run build && cd ../..",
"_apply_core_bundle_windows": "xcopy .\\projects\\melon-core\\dist\\core.js .\\projects\\melon-runtime\\MelonRuntime.Core\\Scripts\\core.js /Y",
"_apply_core_bundle_linux": "cp ./projects/melon-core/dist/core.js ./projects/melon-runtime/Melon.Library/Bundle/core.js",
"_apply_tests_bundle_windows": "xcopy .\\projects\\melon-tests\\dist\\tests.js .\\projects\\melon-runtime\\MelonRuntime.Core\\Scripts\\tests.js /Y",
"_apply_tests_bundle_linux": "cp ./projects/melon-tests/dist/tests.js ./projects/melon-runtime/Melon.Library/Bundle/tests.js",
"_build_runtime": "cd ./projects/melon-runtime && npm run build && cd ../..",
"_run": "cd ./projects/melon-runtime && npm run dev && cd ../..",
"build:win": "npm run _build_core && npm run _apply_core_bundle_windows && npm run _build_tests && npm run _apply_tests_bundle_windows && npm run _build_runtime",
"build:linux": "npm run _build_core && npm run _apply_core_bundle_linux && npm run _build_tests && npm run _apply_tests_bundle_linux && npm run _build_runtime",
"dev:win": "npm run build:win && npm run _run",
"dev:linux": "npm run build:linux && npm run _run",
"install-dev:win": "npm run build:win && cd ./projects/melon-runtime && npm i -g -f && cd ../..",
"install-dev:linux": "npm run build:linux && cd ./projects/melon-runtime && npm i -g -f && cd ../..",
"all-benchmarks": "cd ./projects/melon-benchmarks/ && npm run all-benchmarks"
}
}