Skip to content

Commit

Permalink
Install typescript, ts-node; Add tsconfig.json
Browse files Browse the repository at this point in the history
Signed-off-by: Ziyang Li <[email protected]>
  • Loading branch information
paseaf authored and bkimminich committed Mar 8, 2021
1 parent bdf65fe commit 696ef4c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"socket.io-client": "^3.1.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.3",
"webdriver-manager": "^12.1.7"
},
"engines": {
Expand Down
31 changes: 31 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist",
"allowJs": true,
"module": "commonjs",
"target": "es2018",
"moduleResolution": "node",
"sourceMap": true,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"lib": [
"es2018",
"dom"
]
},
"exclude": [
"node_modules",
"frontend",
"dist",
"vagrant",
"**/*.d.ts",
".eslintrc.js"
],
"ts-node": {
"transpileOnly": true // allow ts-node to run code with compile errors ignored. Remove this line after ts migration.
}
}

0 comments on commit 696ef4c

Please sign in to comment.