chore: enable source maps for easier debugging
This commit is contained in:
parent
ab19598edd
commit
ca7de85e4b
1
.swcrc
1
.swcrc
@ -1,4 +1,5 @@
|
||||
{
|
||||
"sourceMaps": true,
|
||||
"jsc": {
|
||||
"parser": {
|
||||
"syntax": "typescript",
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
Thream's Application Programming Interface (API) to stay close with your friends and communities.
|
||||
|
||||
It uses [Thream/file-uploads-api](https://github.com/Thream/file-uploads-api) [v1.1.4](https://github.com/Thream/file-uploads-api/releases/tag/v1.1.4).
|
||||
It uses [Thream/file-uploads-api](https://github.com/Thream/file-uploads-api) [v1.1.5](https://github.com/Thream/file-uploads-api/releases/tag/v1.1.5).
|
||||
|
||||
## ⚙️ Getting Started
|
||||
|
||||
|
@ -18,12 +18,12 @@
|
||||
"scripts": {
|
||||
"build": "rimraf ./build && swc ./src --out-dir ./build",
|
||||
"build:typescript": "tsc",
|
||||
"start": "node build/index.js",
|
||||
"start": "node --enable-source-maps build/index.js",
|
||||
"dev:build": "swc ./src --out-dir ./build --watch",
|
||||
"dev": "concurrently --kill-others --names \"TypeScript,Node,Maildev,Prisma Studio\" \"npm run dev:build\" \"cross-env NODE_ENV=development node --watch build/index.js\" \"npm run maildev\" \"npm run prisma:studio\"",
|
||||
"dev": "concurrently --kill-others --names \"TypeScript,Node,Maildev,Prisma Studio\" \"npm run dev:build\" \"cross-env NODE_ENV=development node --watch --enable-source-maps build/index.js\" \"npm run maildev\" \"npm run prisma:studio\"",
|
||||
"maildev": "maildev",
|
||||
"generate": "plop",
|
||||
"generate:jwt-secret": "node ./build/scripts/generate-jwt-secret.js",
|
||||
"generate:jwt-secret": "node --enable-source-maps ./build/scripts/generate-jwt-secret.js",
|
||||
"lint:commit": "commitlint",
|
||||
"lint:editorconfig": "editorconfig-checker",
|
||||
"lint:markdown": "markdownlint-cli2",
|
||||
|
Reference in New Issue
Block a user