/
package.json
60 lines (60 loc) 路 1.45 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
{
"name": "eslint-midway-contrib",
"version": "1.20.0",
"description": "ESlint default rule for midway",
"keywords": [
"ECMAScript Style",
"code style",
"eslint",
"eslintconfig",
"midway",
"typescript"
],
"engines": {
"node": ">=10.16.0"
},
"main": "index.js",
"bugs": {
"url": "https://https://github.com/midwayjs/midway/issues"
},
"homepage": "https://https://github.com/midwayjs/midway#readme",
"repository": {
"type": "git",
"url": "https://github.com/midwayjs/midway.git"
},
"license": "MIT",
"author": "waiting",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^3.0.2",
"@typescript-eslint/parser": "^3.0.2",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-unicorn": "^20.0.0"
},
"devDependencies": {
"@types/tape": "4",
"eslint": "7",
"tape": "5"
},
"peerDependencies": {
"eslint": ">=7.0.0"
},
"files": [
"plugins/*.yml",
"base.js",
"index.js",
"recommended.js",
"strict.js"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"cov": "npm run lint",
"lint": "npm run lint:src && npm run lint:test",
"lint:src": "eslint --fix ./*.js --config=strict.js --parser-options=project:tsconfig.json",
"lint:test": "eslint test/*.ts --config=test/.eslintrc.yml",
"prepublishOnly": "npm run test",
"test": "npm run lint && tape test/*.js"
}
}