From 7a26c1a3727b7072835680687ebb38473e1a09cc Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Tue, 5 May 2020 15:17:58 -0700 Subject: add build scripts, remove dist - remove some db errors, namely ones that are bs like no on doc type errors - move ws to spike - remove copy npm scripts i think - remove .env and package --- package.json.scripts | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'package.json.scripts') diff --git a/package.json.scripts b/package.json.scripts index 6c52d48..dc57768 100644 --- a/package.json.scripts +++ b/package.json.scripts @@ -1,9 +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\"" - }, \ No newline at end of file + "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 -- cgit v1.2.3