-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
87 lines (87 loc) · 2.14 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
{
"name": "@lint-md/cli",
"version": "2.0.0",
"description": "CLI tool to lint your markdown file for Chinese.",
"main": "lib/index.js",
"module": "esm/index.js",
"bin": {
"lint-md": "lib/lint-md.js"
},
"author": "hustcc",
"contributors": [
"hustcc <[email protected]>",
"yuzhanglong <[email protected]>"
],
"scripts": {
"test": "jest --no-cache",
"build:cjs": "tsc -p tsconfig.json --target ESNext --module commonjs --outDir lib",
"build:esm": "tsc -p tsconfig.json --target ESNext --module ESNext --outDir esm",
"lint": "eslint --ext .ts,.tsx ./ --fix",
"build": "rm -rf esm lib && run-p build:*",
"clean": "rimraf lib esm",
"watch": "tsc -w",
"cli-run": "node ./lib/lint-md.js examples/correct-title-trailing-punctuation.md"
},
"files": [
"esm",
"lib",
"src"
],
"keywords": [
"lint",
"markdown",
"lint-md",
"cli"
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!**/node_modules/**",
"!**/vendor/**"
],
"testMatch": [
"**/__tests__/**/?(*.)(spec|test).ts?(x)"
]
},
"dependencies": {
"@attachments/eslint-config": "^0.3.4",
"@lint-md/core": "^2.0.0",
"chalk": "^4",
"commander": "^9.4.1",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"lodash": "^4.17.21",
"piscina": "^3.2.0",
"strip-ansi": "^6.0.1",
"text-table": "^0.2.0"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/glob": "^8.0.0",
"@types/jest": "^29.2.1",
"@types/lodash": "^4.14.187",
"@types/node": "^18.11.9",
"eslint": "8.26.0",
"jest": "^29.2.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/lint-md/cli/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lint-md/cli.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"homepage": "https://github.com/lint-md/cli#readme"
}