Skip to content

Commit

Permalink
🔧 Update tsconfig to follow other js-libp2p repos
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Jun 14, 2021
1 parent 3320f08 commit c032f35
Showing 1 changed file with 9 additions and 29 deletions.
38 changes: 9 additions & 29 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,18 @@
{
"extends": "aegir/src/config/tsconfig.aegir.json",
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"target": "ES5",
"noImplicitAny": false,
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"allowJs": true,
"checkJs": true,
"baseUrl": ".",
"outDir": "dist",
"baseUrl": "./",
"paths": {
"peer-id": [
"./src",
"../src",
"*": [
"./types/*"
]
},
"types": [
"node",
"mocha",
"chai"
],
"noEmit": true,
"forceConsistentCasingInFileNames": true
}
},
"files": [
"./src/index.d.ts",
],
"include": [
"./test/**/*.spec.js"
"types",
"test",
"src"
],
"exclude": [
"src/proto.js" // generated file
Expand Down

0 comments on commit c032f35

Please sign in to comment.