2
1
mirror of https://github.com/Thream/api.git synced 2024-07-06 12:50:12 +02:00

chore: enable source maps for easier debugging

This commit is contained in:
Théo LUDWIG 2023-07-02 18:52:01 +02:00
parent ab19598edd
commit ca7de85e4b
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
3 changed files with 5 additions and 4 deletions

1
.swcrc
View File

@ -1,4 +1,5 @@
{
"sourceMaps": true,
"jsc": {
"parser": {
"syntax": "typescript",

View File

@ -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

View File

@ -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",