diff --git a/package.json b/package.json index 41188a6..d70d39a 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ }, "scripts": { "build": "tsc", + "start": "npm run build && TZ=UTC TS_NODE_BASEURL=./build node -r tsconfig-paths/register build/src/index.js", "dev": "TZ=UTC nodemon -w src --ext ts,json --exec ts-node -r tsconfig-paths/register src/index.ts", "test:lint": "npm run test:lint:eslint && npm run test:lint:remark", "test:lint:eslint": "eslint --ext .ts,.tsx,.js,.jsx,.json,.yml,.yaml --max-warnings 0 --ignore-path .gitignore .", diff --git a/tsconfig.json b/tsconfig.json index 1c9aabb..9a89b7f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "paths": { "#types/*": ["./src/graphql/types/*"] }, - "outDir": "./build", + "outDir": "./build/src", "esModuleInterop": true, "strict": true, "skipLibCheck": true