@infinitetoken/tsconfig 0.1.1 → 0.1.3

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.
package/node.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "target": "esnext",
5
+ "module": "preserve",
6
+ "moduleResolution": "bundler",
7
+ "types": ["jest", "node"]
8
+ }
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infinitetoken/tsconfig",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Shared base tsconfig for InfiniteToken TypeScript packages",
5
5
  "keywords": [
6
6
  "config",
@@ -20,22 +20,34 @@
20
20
  "sideEffects": false,
21
21
  "type": "commonjs",
22
22
  "exports": {
23
+ ".": "./tsconfig.json",
24
+ "./node": "./node.json",
23
25
  "./package.json": "./package.json",
26
+ "./react-native": "./react-native.json",
27
+ "./server": "./server.json",
24
28
  "./tsconfig.json": "./tsconfig.json"
25
29
  },
26
30
  "files": [
27
- "tsconfig.json"
31
+ "tsconfig.json",
32
+ "node.json",
33
+ "react-native.json",
34
+ "server.json"
28
35
  ],
29
36
  "scripts": {
30
- "ci": "npm test",
37
+ "fix": "eslint . --fix",
38
+ "lint": "eslint .",
31
39
  "release": "git push --follow-tags",
32
40
  "release:major": "npm version major && npm run release",
33
41
  "release:minor": "npm version minor && npm run release",
34
42
  "release:patch": "npm version patch && npm run release",
35
43
  "test": "tsc --noEmit -p test/tsconfig.json",
36
- "preversion": "npm run ci"
44
+ "verify": "npm run lint && npm test",
45
+ "preversion": "npm run verify"
37
46
  },
47
+ "prettier": "@infinitetoken/eslint-config/prettier",
38
48
  "devDependencies": {
49
+ "@infinitetoken/eslint-config": "^0.1.4",
50
+ "eslint": "^9.39.4",
39
51
  "typescript": "^6.0.3"
40
52
  },
41
53
  "publishConfig": {
@@ -0,0 +1,12 @@
1
+ {
2
+ "extends": "./node.json",
3
+ "compilerOptions": {
4
+ "target": "ES2020",
5
+ "lib": ["ES2020", "DOM"],
6
+ "jsx": "react-jsx",
7
+ "module": "ESNext",
8
+ "sourceMap": true,
9
+ "allowSyntheticDefaultImports": true,
10
+ "resolveJsonModule": true
11
+ }
12
+ }
package/server.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "module": "commonjs",
5
+ "resolveJsonModule": true,
6
+ "types": ["jest", "node"],
7
+ "declaration": false,
8
+ "declarationMap": false,
9
+ "noUnusedLocals": false,
10
+ "noUnusedParameters": false,
11
+ "noImplicitReturns": false,
12
+ "noFallthroughCasesInSwitch": false,
13
+ "preserveConstEnums": false
14
+ }
15
+ }