@kurone-kito/typescript-config 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +24 -0
  2. package/package.json +46 -0
  3. package/tsconfig.json +44 -0
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # `@kurone-kito/typescript-config`
2
+
3
+ My TypeScript configuration for general Node.js projects.
4
+
5
+ ## Usage
6
+
7
+ First, install this package and its peer dependencies:
8
+
9
+ ```sh
10
+ npm install --save-dev @kurone-kito/typescript-config
11
+ npm install --save-dev typescript typescript-eslint-language-service
12
+ ```
13
+
14
+ Then, create a `tsconfig.json` file. If exists, merge the following configuration into it:
15
+
16
+ ```json
17
+ {
18
+ "extends": "@kurone-kito/typescript-config"
19
+ }
20
+ ```
21
+
22
+ ## License
23
+
24
+ MIT
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@kurone-kito/typescript-config",
3
+ "version": "0.2.4",
4
+ "description": "My TypeScript configuration for general projects",
5
+ "keywords": [
6
+ "config",
7
+ "tsconfig",
8
+ "typescript",
9
+ "typescriptconfig"
10
+ ],
11
+ "homepage": "https://github.com/kurone-kito/lints-config#readme",
12
+ "bugs": "https://github.com/kurone-kito/lints-config/issues",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/kurone-kito/lints-config.git",
16
+ "directory": "packages/typescript-config"
17
+ },
18
+ "author": "kurone-kito <krone@kit.black> (https://kit.black/)",
19
+ "type": "module",
20
+ "main": "tsconfig.json",
21
+ "files": [
22
+ "tsconfig.json"
23
+ ],
24
+ "prettier": "@kurone-kito/prettier-config",
25
+ "devDependencies": {
26
+ "@kurone-kito/prettier-config": "0.2.4",
27
+ "@typescript-eslint/parser": "^5.57.0",
28
+ "eslint": "^8.37.0",
29
+ "prettier": "^2.8.7",
30
+ "prettier-plugin-packagejson": "^2.4.3",
31
+ "prettier-plugin-sh": "^0.12.8",
32
+ "prettier-plugin-sort-json": "^1.0.0",
33
+ "typescript": "~5.0.3",
34
+ "typescript-eslint-language-service": "^5.0.3"
35
+ },
36
+ "peerDependencies": {
37
+ "typescript": "~5.0.2",
38
+ "typescript-eslint-language-service": "^5.0.0"
39
+ },
40
+ "engines": {
41
+ "node": ">=14.21"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public"
45
+ }
46
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "compilerOptions": {
3
+ "allowJs": true,
4
+ "allowUnreachableCode": false,
5
+ "allowUnusedLabels": false,
6
+ "assumeChangesOnlyAffectDirectDependencies": true,
7
+ "checkJs": true,
8
+ "composite": true,
9
+ "declarationMap": true,
10
+ "esModuleInterop": true,
11
+ "exactOptionalPropertyTypes": true,
12
+ "forceConsistentCasingInFileNames": true,
13
+ "importsNotUsedAsValues": "error",
14
+ "incremental": true,
15
+ "isolatedModules": true,
16
+ "module": "nodenext",
17
+ "moduleResolution": "nodenext",
18
+ "newLine": "LF",
19
+ "noEmitOnError": true,
20
+ "noErrorTruncation": true,
21
+ "noFallthroughCasesInSwitch": true,
22
+ "noImplicitOverride": true,
23
+ "noImplicitReturns": true,
24
+ "noPropertyAccessFromIndexSignature": true,
25
+ "noUncheckedIndexedAccess": true,
26
+ "noUnusedLocals": true,
27
+ "noUnusedParameters": true,
28
+ "plugins": [
29
+ {
30
+ "name": "typescript-eslint-language-service"
31
+ }
32
+ ],
33
+ "preserveValueImports": true,
34
+ "preserveWatchOutput": true,
35
+ "resolveJsonModule": true,
36
+ "sourceMap": true,
37
+ "strict": true,
38
+ "stripInternal": true,
39
+ "target": "ES2019"
40
+ },
41
+ "typeAcquisition": {
42
+ "enable": true
43
+ }
44
+ }