summaryrefslogtreecommitdiff
path: root/package.json.scripts
blob: dc57768cfcf33a094141a067cf8049f85b331563 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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\"",