forked from amilajack/eslint-plugin-compat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.4 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
{
"name": "eslint-plugin-compat-patch",
"version": "5.0.0",
"description": "a patch for eslint-plugin-compat",
"homepage": "https://github.com/ppJuan/eslint-plugin-compat-patch",
"repository": {
"type": "git",
"url": "git+https://github.com/ppJuan/eslint-plugin-compat-patch.git"
},
"license": "MIT",
"author": "panyuqing",
"main": "./lib/cjs/src/index.js",
"types": "./lib/cjs/src/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/esm//src/index.d.mts",
"default": "./lib/esm/src/index.js"
},
"require": {
"types": "./lib/cjs/src/index.d.ts",
"default": "./lib/cjs/src/index.js"
}
}
},
"files": [
"lib"
],
"scripts": {
"benchmarks": "ts-node-transpile-only test/benchmarks.ts",
"build": "rm -rf lib && tsc --project tsconfig.build.json && tsc --project tsconfig.esm.json",
"lint": "eslint --ignore-path .gitignore --ext .js,.ts .",
"spec": "jest --testPathIgnorePatterns test/e2e-repo.spec.ts /benchmarks-tmp",
"spec:e2e": "jest test/e2e-repo.spec.ts",
"test": "npm run lint && npm run build && npm run spec",
"tsc": "tsc",
"version": "npm run build"
},
"prettier": {
"semi": true,
"tabWidth": 2,
"trailingComma": "es5"
},
"eslintConfig": {
"env": {
"jest": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"airbnb-typescript/base",
"plugin:eslint-plugin/recommended",
"plugin:import/typescript",
"plugin:prettier/recommended"
],
"rules": {
"import/extensions": "off",
"import/no-extraneous-dependencies": "off"
},
"root": true
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/benchmarks-tmp/"
]
},
"dependencies": {
"@mdn/browser-compat-data": "^5.5.19",
"ast-metadata-inferer": "^0.8.0",
"browserslist": "^4.23.0",
"caniuse-lite": "^1.0.30001605",
"find-up": "^5.0.0",
"globals": "^13.24.0",
"lodash.memoize": "^4.1.2",
"semver": "^7.6.0"
},
"devDependencies": {
"@babel/core": "^7.24.3",
"@babel/eslint-parser": "^7.24.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@tsconfig/node16": "^16.1.3",
"@types/benchmark": "^2.1.5",
"@types/caniuse-lite": "^1.0.5",
"@types/eslint": "^8.56.7",
"@types/jest": "^29.5.12",
"@types/lodash.memoize": "^4.1.9",
"@types/semver": "7.5.8",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"benchmark": "^2.1.4",
"browserslist-config-erb": "^0.0.3",
"electron": "^29.x.x",
"eslint": "^8.57.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-bliss-typescript": "^6.0.2",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-plugin": "^5.5.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"expect-type": "^0.19.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"semantic-release": "^22.0.12",
"simple-git": "^3.24.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.3",
"typescript-eslint": "^7.5.0"
},
"peerDependencies": {
"eslint": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
},
"engines": {
"node": ">=14.x"
}
}