-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
83 lines (83 loc) · 2.03 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
{
"name": "@mapbox/kramer",
"version": "2.0.1",
"description": "Markdown formatter and linter",
"main": "index.js",
"bin": "bin.js",
"files": [
"index.js",
"bin.js"
],
"scripts": {
"lint-md": "LOCAL_TEST=1 node ./bin.js",
"format-md": "LOCAL_TEST=1 node ./bin.js --format",
"lint-js": "eslint .",
"format-js": "prettier --write \"**/*.js\"",
"lint": "npm run lint-md && npm run lint-js",
"format": "npm run format-md && npm run format-js",
"test": "npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mapbox/kramer.git"
},
"author": "Mapbox",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/mapbox/kramer/issues"
},
"homepage": "https://github.com/mapbox/kramer#readme",
"dependencies": {
"execa": "^5.0.0",
"meow": "^9.0.0",
"remark-cli": "^9.0.0",
"remark-frontmatter": "^3.0.0",
"remark-gfm": "^1.0.0",
"remark-inline-links": "^5.0.0",
"remark-lint-blockquote-indentation": "^2.0.1",
"remark-lint-final-definition": "^2.1.0",
"remark-lint-no-duplicate-definitions": "^2.0.1",
"remark-lint-no-duplicate-headings": "^2.0.1",
"remark-lint-no-multiple-toplevel-headings": "^2.0.1",
"remark-lint-no-undefined-references": "^3.0.0",
"remark-toc": "^7.2.0",
"remark-validate-links": "^10.0.4"
},
"devDependencies": {
"@mapbox/eslint-config-mapbox": "^3.0.0",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-node": "^11.1.0",
"husky": "^8.0.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1"
},
"engines": {
"node": ">=12"
},
"eslintConfig": {
"extends": [
"@mapbox/eslint-config-mapbox",
"prettier"
]
},
"prettier": {
"arrowParens": "always",
"singleQuote": true,
"trailingComma": "all"
},
"lint-staged": {
"*.js": [
"eslint",
"prettier --write"
],
"*.md": [
"npm run format-md"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}