summaryrefslogtreecommitdiff
path: root/spike/package.json.scripts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-23 23:24:17 -0700
committer8cy <[email protected]>2020-07-23 23:24:17 -0700
commitbb511abc03bb66848947e37a999502b813c77269 (patch)
tree612c010fc8317e1cdf11471a18aad0270819d33e /spike/package.json.scripts
parentfix: if clear amount equal or over 100, round down to 99 (diff)
downloaddep-core-bb511abc03bb66848947e37a999502b813c77269.tar.xz
dep-core-bb511abc03bb66848947e37a999502b813c77269.zip
goodbye old uwufier :cry:
Diffstat (limited to 'spike/package.json.scripts')
-rw-r--r--spike/package.json.scripts13
1 files changed, 13 insertions, 0 deletions
diff --git a/spike/package.json.scripts b/spike/package.json.scripts
new file mode 100644
index 0000000..dc57768
--- /dev/null
+++ b/spike/package.json.scripts
@@ -0,0 +1,13 @@
+ "scripts": {
+ "build": "tsc -p tsconfig.json && npm run copy:all",
+ "start": "npm run start:prod",
+ "start:debug": "supervisor ./dist/app.js",
+ "start:prod": "node dist/app.js",
+ "copy:assets": "cpx './src/assets/**/**/*' './dist/assets'",
+ "copy:cache": "cpx './src/Cache/*' './dist/Cache'",
+ "copy:all": "concurrently \"npm:copy:assets\" \"npm:copy:cache\""
+ },
+
+ "copy:assets": "cp -r 'src/assets/' 'dist/'",
+ "copy:ws": "cp -r 'src/ws/' 'dist/'",
+ "copy": "concurrently \"npm:copy:assets\" \"npm:copy:ws\"", \ No newline at end of file