aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/package.json
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-13 08:40:20 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-06 19:04:25 +0800
commite69cdfb7b5b0b4c7517d5439d45888702c6a1b71 (patch)
treeafe81359d658671d470874db8718375d5f6925fd /packages/pipeline/package.json
parent45da317e15960037024d9c04c1a08135a2889843 (diff)
downloaddexon-sol-tools-e69cdfb7b5b0b4c7517d5439d45888702c6a1b71.tar
dexon-sol-tools-e69cdfb7b5b0b4c7517d5439d45888702c6a1b71.tar.gz
dexon-sol-tools-e69cdfb7b5b0b4c7517d5439d45888702c6a1b71.tar.bz2
dexon-sol-tools-e69cdfb7b5b0b4c7517d5439d45888702c6a1b71.tar.lz
dexon-sol-tools-e69cdfb7b5b0b4c7517d5439d45888702c6a1b71.tar.xz
dexon-sol-tools-e69cdfb7b5b0b4c7517d5439d45888702c6a1b71.tar.zst
dexon-sol-tools-e69cdfb7b5b0b4c7517d5439d45888702c6a1b71.zip
Configure TypeORM for migrations. Add new package.json scripts.
Diffstat (limited to 'packages/pipeline/package.json')
-rw-r--r--packages/pipeline/package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/pipeline/package.json b/packages/pipeline/package.json
index 3380a970a..367296e05 100644
--- a/packages/pipeline/package.json
+++ b/packages/pipeline/package.json
@@ -13,7 +13,10 @@
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"clean": "shx rm -rf lib",
- "lint": "tslint --project ."
+ "lint": "tslint --project .",
+ "migrate:run": "yarn typeorm migration:run --config ./lib/src/ormconfig",
+ "migrate:revert": "yarn typeorm migration:revert --config ./lib/src/ormconfig",
+ "migrate:create": "yarn typeorm migration:create --config ./lib/src/ormconfig --dir migrations"
},
"config": {
"postpublish": {