diff options
| author | 8cy <[email protected]> | 2020-05-05 15:17:58 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-05-05 15:17:58 -0700 |
| commit | 7a26c1a3727b7072835680687ebb38473e1a09cc (patch) | |
| tree | 1faf5a6cb771737570c04fc813fd5f266c95fe7c /package.json.scripts | |
| parent | add genservers (diff) | |
| download | dep-core-7a26c1a3727b7072835680687ebb38473e1a09cc.tar.xz dep-core-7a26c1a3727b7072835680687ebb38473e1a09cc.zip | |
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
Diffstat (limited to 'package.json.scripts')
| -rw-r--r-- | package.json.scripts | 22 |
1 files changed, 13 insertions, 9 deletions
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 |