Kano001 commited on
Commit
a03d01d
·
verified ·
1 Parent(s): 2a70641

Update tsconfig.json

Browse files
Files changed (1) hide show
  1. tsconfig.json +16 -37
tsconfig.json CHANGED
@@ -1,40 +1,19 @@
1
  {
2
- "private": true,
3
- "name": "my-app",
4
- "version": "1.0.0",
5
- "description": "npm init template for bootstrapping an empty Colyseus project",
6
- "main": "build/index.js",
7
- "engines": {
8
- "node": ">= 16.13.0"
 
 
 
 
 
 
9
  },
10
- "scripts": {
11
- "start": "tsx watch src/index.ts",
12
- "loadtest": "tsx loadtest/example.ts --room my_room --numClients 2",
13
- "build": "npm run clean && tsc",
14
- "clean": "rimraf build",
15
- "test": "mocha -r tsx test/**_test.ts --exit --timeout 15000"
16
- },
17
- "author": "",
18
- "license": "UNLICENSED",
19
- "bugs": {
20
- "url": "https://github.com/colyseus/create-colyseus/issues"
21
- },
22
- "homepage": "https://github.com/colyseus/create-colyseus#readme",
23
- "devDependencies": {
24
- "@colyseus/loadtest": "^0.15.0",
25
- "@colyseus/testing": "^0.15.0",
26
- "@types/express": "^4.17.1",
27
- "@types/mocha": "^10.0.1",
28
- "mocha": "^10.2.0",
29
- "rimraf": "^5.0.0",
30
- "tsx": "^4.10.2",
31
- "typescript": "^5.0.4"
32
- },
33
- "dependencies": {
34
- "@colyseus/monitor": "^0.15.0",
35
- "@colyseus/playground": "^0.15.3",
36
- "@colyseus/tools": "^0.15.0",
37
- "colyseus": "^0.15.0",
38
- "express": "^4.18.2"
39
- }
40
  }
 
1
  {
2
+ "compilerOptions": {
3
+ "outDir": "build",
4
+ "target": "ESNext",
5
+ "module": "CommonJS",
6
+ "moduleResolution": "node",
7
+ "strict": true,
8
+ "allowJs": true,
9
+ "strictNullChecks": false,
10
+ "esModuleInterop": true,
11
+ "experimentalDecorators": true,
12
+ "skipLibCheck": true,
13
+ "forceConsistentCasingInFileNames": true,
14
+ "useDefineForClassFields": false
15
  },
16
+ "include": [
17
+ "src"
18
+ ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  }