-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 2.97 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "ts-cast",
"version": "0.1.3",
"description": "Runtime typechecking",
"main": "lib/index.js",
"module": "esm/index.js",
"scripts": {
"test": "jest",
"lint": "eslint \"./src/**/*.ts\"",
"compile:cjs": "tsc --build tsconfig.cjs.json",
"compile:esm": "tsc",
"clean:lib": "rm -rf ./lib",
"clean:esm": "rm -rf ./esm",
"clean": "npm run clean:lib; npm run clean:esm",
"compile": "npm run clean; npm run compile:cjs; npm run compile:esm"
},
"keywords": [
"type",
"check",
"typescript"
],
"author": "Dmitry Scheglov <[email protected]>",
"license": "MIT",
"devDependencies": {
"@type-challenges/utils": "^0.1.1",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.5",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^8.36.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"jest": "^29.5.0",
"ts-jest": "^29.0.5",
"typescript": "^5.0.2"
},
"eslintConfig": {
"extends": [
"airbnb-base"
],
"overrides": [
{
"files": [
"*.ts"
]
}
],
"plugins": [
"@typescript-eslint",
"jest"
],
"parser": "@typescript-eslint/parser",
"rules": {
"max-len": [
"error",
{
"code": 100,
"ignoreStrings": true,
"ignoreRegExpLiterals": true
}
],
"no-param-reassign": "off",
"implicit-arrow-linebreak": "off",
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"indent": [
2,
2,
{
"flatTernaryExpressions": true
}
],
"no-unused-vars": "off",
"no-undef": "error",
"no-tabs": "error",
"no-nested-ternary": 0,
"import/extensions": 0,
"arrow-parens": [
"error",
"as-needed"
],
"operator-linebreak": 0,
"no-underscore-dangle": 0,
"@typescript-eslint/no-unused-vars": [
"error"
],
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error"
},
"env": {
"jest/globals": true
},
"ignorePatterns": [
"examples/**/*",
"lib/**/*",
"esm/**/*"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts"
],
"testPathIgnorePatterns": [
"/lib/",
"/esm/",
"/examples/",
"/node_modules/"
]
},
"directories": {
"example": "examples",
"lib": "lib"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DScheglov/ts-cast.git"
},
"bugs": {
"url": "https://github.com/DScheglov/ts-cast/issues"
},
"homepage": "https://github.com/DScheglov/ts-cast#readme"
}