Migrations script
This commit is contained in:
12
package.json
12
package.json
@@ -5,10 +5,11 @@
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"tsc": "tsc",
|
||||
"tsc": "tsc --incremental ",
|
||||
"dev": "ts-node-dev -r dotenv/config --watch src/**/*.sql -r tsconfig-paths/register --respawn --transpile-only ./src/index.ts",
|
||||
"prod": "tsc && node ./dist/index.js",
|
||||
"tslint-check": "tslint-config-prettier-check ./tslint.json"
|
||||
"prod": "tsc --incremental && node ./dist/src/index.js",
|
||||
"tslint-check": "tslint-config-prettier-check ./tslint.json",
|
||||
"migrate": "tsc --incremental && node ./dist/src/scripts/migrate.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "ModZero <modzero@modzero.xyz>",
|
||||
@@ -37,7 +38,8 @@
|
||||
"pug": "^2.0.4",
|
||||
"ts-vue-plugin": "^0.1.2",
|
||||
"tweetnacl": "^1.0.1",
|
||||
"tweetnacl-util": "^0.15.0"
|
||||
"tweetnacl-util": "^0.15.0",
|
||||
"yargs": "^14.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/cookie-parser": "^1.4.2",
|
||||
@@ -52,10 +54,12 @@
|
||||
"@types/pg": "^7.11.2",
|
||||
"@types/pino": "^5.8.12",
|
||||
"@types/webpack-dev-middleware": "^2.0.3",
|
||||
"@types/yargs": "^13.0.3",
|
||||
"css-loader": "^3.2.0",
|
||||
"pg-monitor": "^1.3.1",
|
||||
"pino-pretty": "^3.2.2",
|
||||
"ts-loader": "^6.2.0",
|
||||
"ts-node": "^8.4.1",
|
||||
"ts-node-dev": "^1.0.0-pre.43",
|
||||
"tsconfig-paths": "^3.9.0",
|
||||
"tslint": "^5.20.0",
|
||||
|
||||
Reference in New Issue
Block a user