forked from eramdam/eslint-plugin-top
/
package.json
99 lines (99 loc) · 3.64 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
{
"name": "@ericcornelissen/eslint-plugin-top",
"description": "Disallow side effects at the top level of files",
"version": "3.3.0",
"license": "ISC",
"exports": "./index.js",
"type": "commonjs",
"engines": {
"node": "18.x || 20.x || 22.x"
},
"homepage": "https://github.com/ericcornelissen/eslint-plugin-top#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ericcornelissen/eslint-plugin-top.git"
},
"keywords": [
"eslint",
"eslintplugin",
"eslint-plugin"
],
"contributors": [
{
"name": "Damien Erambert"
},
{
"name": "Eric Cornelissen"
}
],
"peerDependencies": {
"eslint": "8.x || 9.x"
},
"devDependencies": {
"@ericcornelissen/eslint-plugin-top": "file:./",
"@rollup/plugin-typescript": "11.1.6",
"@stryker-mutator/core": "8.2.6",
"@stryker-mutator/mocha-runner": "8.2.6",
"@stryker-mutator/typescript-checker": "8.2.6",
"@types/eslint": "8.56.7",
"@types/estree": "1.0.4",
"@types/mocha": "10.0.2",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"better-npm-audit": "3.7.3",
"c8": "9.0.0",
"eslint": "8.57.0",
"eslint-plugin-eslint-plugin": "6.1.0",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-markdown": "5.0.0",
"eslint-plugin-yml": "1.13.2",
"eslint-v8": "npm:eslint@8.0.1",
"eslint-v9": "npm:eslint@9.0.0",
"is-ci": "3.0.1",
"knip": "5.6.1",
"licensee": "10.0.0",
"lockfile-lint": "4.12.1",
"markdownlint-cli": "0.40.0",
"mocha": "10.2.0",
"nve": "18.0.0",
"prettier": "3.2.5",
"publint": "0.2.8",
"rollup": "4.18.0",
"ts-node": "10.9.2",
"type-coverage": "2.28.1",
"typescript": "5.4.5",
"yaml-eslint-parser": "1.2.2"
},
"scripts": {
"prepublishOnly": "npm run build",
"_eslint": "eslint --report-unused-disable-directives",
"_prettier": "prettier ./**/*.{js,json,jsonc,md,ts,yml} --ignore-path .gitignore",
"audit": "better-npm-audit audit",
"audit:runtime": "better-npm-audit audit --production",
"build": "rollup --config rollup.config.js",
"clean": "git clean --force -X .cache/ .temp/ _reports/ index.js",
"coverage": "c8 --config .c8rc.json npm run test",
"format": "npm run _prettier -- --write",
"format:check": "npm run _prettier -- --check",
"license-check": "licensee --errors-only",
"lint": "npm run lint:ci && npm run lint:json && npm run lint:md && npm run lint:ts && npm run lint:yml",
"lint:ci": "node scripts/maybe-run.js actionlint",
"lint:json": "npm run _eslint -- . --ext .json",
"lint:md": "npm run lint:md:text && npm run lint:md:code",
"lint:md:code": "npm run _eslint -- **/*.md --ext .md,.js,.json,.yml",
"lint:md:text": "markdownlint --dot --ignore-path .gitignore .",
"lint:ts": "npm run _eslint -- . --ext .ts",
"lint:yml": "npm run _eslint -- . --ext .yml",
"test": "mocha tests/unit --recursive",
"test:compat": "mocha tests/compat --recursive",
"test:compat-all": "nve 18.0.0,20.0.0,22.0.0 npm run test:compat",
"test:mutation": "stryker run stryker.config.js",
"test:watch": "npm run test -- --watch",
"verify": "npm run build && npm run format:check && npm run lint && npm run test && npm run vet",
"vet": "npm run vet:imports && npm run vet:package.json && npm run vet:package-lock.json && npm run vet:types",
"vet:imports": "knip --config knip.jsonc",
"vet:package.json": "npm run build && publint run --strict",
"vet:package-lock.json": "lockfile-lint",
"vet:types": "type-coverage --at-least 100 --cache --cache-directory .cache --project tsconfig.json --strict"
}
}