diff --git a/package.json b/package.json index e4368034..d40f9545 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "lint-fix": "eslint --fix **/*.ts", "format": "prettier --write src/**/*.ts", "migrate:create": "migrate create --template-file ./src/migrations/utils/template.ts --migrations-dir=\"./src/migrations/db\"", - "migrate:up": "migrate --migrations-dir=\"./dist/migrations/db\" up", - "migrate:down": "migrate --migrations-dir=\"./dist/migrations/db\" down" + "migrate:up": "migrate --migrations-dir=\"./lib/migrations/db\" up", + "migrate:down": "migrate --migrations-dir=\"./lib/migrations/db\" down" }, "repository": { "type": "git", diff --git a/tsconfig.json b/tsconfig.json index c06fc9cf..ab48bf5f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "experimentalDecorators": true, "target": "ES2017", "sourceMap": false, - "outDir": "./dist", + "outDir": "./lib", "baseUrl": "./", "incremental": true, "strict": true, @@ -26,7 +26,7 @@ }, "exclude": [ "./coverage", - "./dist", + "./lib", "__tests__", "jest.config.js" ],