This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
101 lines (101 loc) · 3.5 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
{
"name": "stump",
"version": "0.1.0",
"description": "An MDN futures experiment.",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/mdn/stumptown-content"
},
"author": "MDN Web Docs",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/mdn/stumptown-content/issues"
},
"scripts": {
"prettier-check": "prettier --check \"scripts/**/*.js\" \"**/*.yaml\"",
"prettier-format": "prettier --write \"scripts/**/*.js\" \"**/*.yaml\"",
"lint-md": "node scripts/linter",
"lint-code": "eslint \"scripts/**/*.js\" && npm run prettier-check",
"build-json": "node scripts/build-json/build-json.js",
"scrape-mdn": "node scripts/scraper/scrape-mdn.js",
"ci-checks": "node scripts/ci/git.js",
"mdn-sitemap-compare": "node scripts/linting/mdn-sitemap-compare.js",
"spell-md-en": "mdspell -a -n -r -x --en-us \"content/en-US/**/!(*contributors).md\"",
"test": "npm run lint-code && npm run lint-md && npm run spell-md-en && npx jest --runInBand",
"update-kumascript-parser": "echo '// Do not modify. \n// Originally from https://github.com/mdn/kumascript/trunk/src/parser.js\n// See also https://github.com/mdn/kumascript/blob/master/LICENSE\n' > scripts/scraper-ng/vendor/parser.js && svn cat https://github.com/mdn/kumascript/trunk/src/parser.js >> scripts/scraper-ng/vendor/parser.js"
},
"dependencies": {
"async-sema": "^3.1.0",
"chalk": "^4.1.0",
"gray-matter": "4.0.2",
"hast-util-find-and-replace": "^3.0.0",
"hast-util-has-property": "^1.0.4",
"hast-util-select": "^4.0.0",
"hast-util-to-string": "^1.0.4",
"hast-util-to-text": "^2.0.0",
"js-yaml": "3.14.0",
"jsdom": "16.3.0",
"markdown-spellcheck": "1.3.1",
"mdn-browser-compat-data": "1.0.29",
"node-fetch": "2.6.0",
"rehype-parse": "7.0.1",
"rehype-raw": "4.0.2",
"rehype-remark": "8.0.0",
"rehype-stringify": "8.0.0",
"remark-frontmatter": "^2.0.0",
"remark-parse": "8.0.3",
"remark-rehype": "7.0.0",
"remark-retext": "^4.0.0",
"remark-stringify": "8.1.1",
"retext-stringify": "^2.0.4",
"to-vfile": "^6.1.0",
"unified": "^9.1.0",
"unist-util-visit": "^2.0.3",
"vfile": "^4.1.1",
"vfile-message": "^2.0.4",
"vfile-reporter": "^6.0.1",
"vfile-reporter-json": "^2.0.1",
"vfile-statistics": "^1.1.4"
},
"remarkConfig": {
"plugins": [
"remark-frontmatter",
"remark-preset-lint-consistent",
"remark-preset-lint-recommended",
[
"remark-lint-list-item-indent",
"space"
],
[
"remark-lint-heading-style",
"atx"
]
]
},
"devDependencies": {
"eslint": "^7.4.0",
"eslint-plugin-jest": "^23.20.0",
"husky": "4.2.5",
"jest": "^26.2.2",
"prettier": "2.0.5",
"pretty-quick": "2.0.1",
"yargs": "^15.4.1"
},
"prettier": {},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"jest": {
"projects": [
{
"rootDir": "scripts/scraper-ng",
"setupFilesAfterEnv": [
"<rootDir>/test/framework/jest.setup.js"
]
}
]
}
}