-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
112 lines (112 loc) · 2.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "simple-runtypes",
"version": "7.1.3",
"license": "MIT",
"author": "Erik Söhnel",
"repository": "github:hoeck/simple-runtypes",
"type": "module",
"main": "./dist/index.cjs",
"module": "dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"sideEffects": false,
"scripts": {
"build": "tsup",
"test": "jest test",
"test:types": "tsd",
"lint": "eslint src test",
"prepare": "yarn run build",
"build-readme": "ts-node --compiler-options '{\"module\": \"CommonJS\"}' ./scripts/build-readme-references.ts && markdown-toc -i --maxdepth 4 README.md"
},
"peerDependencies": {},
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"no-shadow": "off",
"@typescript-eslint/no-shadow": [
"error"
],
"eqeqeq": "error",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": [
"error",
{
"functions": false,
"classes": false
}
],
"@typescript-eslint/explicit-module-boundary-types": "error",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off"
}
},
"jest": {
"preset": "ts-jest",
"testTimeout": 15000,
"testEnvironment": "node"
},
"tsd": {
"directory": "test-d"
},
"tsup": {
"entry": [
"src/index.ts"
],
"splitting": true,
"sourcemap": true,
"clean": true,
"target": [
"es2020"
],
"dts": true,
"format": [
"esm",
"cjs"
]
},
"devDependencies": {
"@swc/core": "^1.3.101",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"markdown-toc": "^1.2.0",
"prettier": "^2.0.2",
"pretty-quick": "^3.1.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tsd": "^0.30.0",
"tslib": "^2.6.2",
"tsup": "^8.0.1",
"typescript": "^5.3.3"
}
}