Browse Source

chore: rename ts config

tags/v2.2.2
poeti8 9 months ago
parent
commit
b83ce016dd
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      .eslintrc
  2. +2
    -2
      nodemon.json
  3. +1
    -1
      package.json
  4. +0
    -0
      tsconfig.json

+ 1
- 1
.eslintrc View File

@@ -6,7 +6,7 @@
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.server.json", "./client/tsconfig.json"]
"project": ["./tsconfig.json", "./client/tsconfig.json"]
},
"plugins": ["@typescript-eslint"],
"rules": {


+ 2
- 2
nodemon.json View File

@@ -1,6 +1,6 @@
{
"watch": ["server/**/*.ts"],
"execMap": {
"ts": "rimraf production-server && tsc --project tsconfig.server.json && copyfiles -f \"server/mail/*.html\" production-server/mail && node production-server/server.js"
"ts": "rimraf production-server && tsc --project tsconfig.json && copyfiles -f \"server/mail/*.html\" production-server/mail && node production-server/server.js"
}
}
}

+ 1
- 1
package.json View File

@@ -8,7 +8,7 @@
"docker:build": "docker build -t kutt .",
"docker:run": "docker run -p 3000:3000 --env-file .env -d kutt:latest",
"dev": "nodemon server/server.ts",
"build": "next build client/ && rimraf production-server && tsc --project tsconfig.server.json && copyfiles -f \"server/mail/*.html\" production-server/mail",
"build": "next build client/ && rimraf production-server && tsc --project tsconfig.json && copyfiles -f \"server/mail/*.html\" production-server/mail",
"start": "NODE_ENV=production node production-server/server.js",
"lint": "eslint server/ --ext .js,.ts --fix",
"lint:nofix": "eslint server/ --ext .js,.ts"


tsconfig.server.json → tsconfig.json View File


Loading…
Cancel
Save