Skip to content

Commit

Permalink
v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-koran committed Jan 29, 2023
1 parent 2e435c4 commit a129d45
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
22 changes: 22 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "@alexey-koran/tsconfig",
"version": "0.0.1",
"description": "TSConfig",
"main": "tsconfig.json",
"author": "Alexey-Koran <[email protected]>",
"license": "MIT",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alexey-koran/tsconfig.git"
},
"keywords": [
"TSConfig"
],
"bugs": {
"url": "https://github.com/alexey-koran/tsconfig/issues"
},
"homepage": "https://github.com/alexey-koran/tsconfig#readme"
}
41 changes: 41 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"compilerOptions": {
"baseUrl": "src",
"outDir": "./build/",
"rootDir": "./",
"typeRoots": [
"./node_modules/@types",
"./src/types"
],
"paths": {
"@/*": [
"./*"
]
},
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ESNext",
"jsx": "react-jsx",
"strict": true,
"esModuleInterop": true,
"isolatedModules": true,
"allowJs": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"importsNotUsedAsValues": "error",
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"removeComments": true,
"resolveJsonModule": true,
"sourceMap": true,
"skipLibCheck": true,
"exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true,
"suppressImplicitAnyIndexErrors": true
}
}
18 changes: 18 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": "./tsconfig.base.json",
"include": [
"./**/*.js",
"./**/*.cjs",
"./**/*.mjs",
"./**/*.jsx",
"./**/*.mjsx",
"./**/*.ts",
"./**/*.cts",
"./**/*.mts",
"./**/*.tsx",
"./**/*.mtsx"
],
"exclude": [
"node_modules"
],
}

0 comments on commit a129d45

Please sign in to comment.