forked from micromark/micromark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.39 KB
/
package.json
File metadata and controls
138 lines (138 loc) · 4.39 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"private": true,
"name": "micromark-mono",
"version": "0.0.1",
"description": "",
"license": "MIT",
"keywords": [],
"repository": "micromark/micromark",
"bugs": "https://github.com/micromark/micromark/issues",
"funding": [
{
"type": "GitHub Sponsors",
"url": "https://github.com/sponsors/unifiedjs"
},
{
"type": "OpenCollective",
"url": "https://opencollective.com/unified"
}
],
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"Bogdan Chadkin <trysound@yandex.ru>",
"Christian Murphy <christian.murphy.42@gmail.com>",
"Marouane Fazouane <fazouanem3@gmail.com>",
"John Otander <johnotander@gmail.com> (https://johno.com)",
"Stephan Schneider <stephanschndr@gmail.com>",
"Victor Felder <victor@draft.li> (https://draft.li)",
"Mudit Ameta <zeusdeux@gmail.com> (https://mudit.xyz)",
"Merlijn Vos <merlijn@soverin.net>"
],
"type": "module",
"workspaces": [
"packages/micromark-util-types",
"packages/micromark-util-symbol",
"packages/micromark-util-character",
"packages/micromark-build",
"packages/micromark-factory-destination",
"packages/micromark-factory-label",
"packages/micromark-factory-space",
"packages/micromark-factory-title",
"packages/micromark-factory-whitespace",
"packages/micromark-util-chunked",
"packages/micromark-util-classify-character",
"packages/micromark-util-combine-extensions",
"packages/micromark-util-decode-numeric-character-reference",
"packages/micromark-util-decode-string",
"packages/micromark-util-encode",
"packages/micromark-util-html-tag-name",
"packages/micromark-util-normalize-identifier",
"packages/micromark-util-resolve-all",
"packages/micromark-util-sanitize-uri",
"packages/micromark-util-subtokenize",
"packages/micromark-core-commonmark",
"packages/micromark"
],
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.0",
"@types/concat-stream": "^2.0.0",
"@types/ms": "^2.0.0",
"@types/node": "^22.0.0",
"c8": "^10.0.0",
"character-entities": "^2.0.0",
"commonmark.json": "^0.31.0",
"concat-stream": "^2.0.0",
"esbuild": "^0.25.0",
"gzip-size-cli": "^5.0.0",
"ms": "^2.0.0",
"prettier": "^3.0.0",
"remark-cli": "^12.0.0",
"remark-preset-wooorm": "^11.0.0",
"rollup": "^4.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
"xo": "^0.60.0"
},
"scripts": {
"build": "tsc --build --clean && tsc && type-coverage && npm run build --workspaces --if-present && rollup -c --silent && gzip-size micromark.min.js && gzip-size --raw micromark.min.js",
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
"#": "fuzzer turned off for now as `jazzer` is unmaintained, with sec vulns",
"#test-fuzz": "esbuild micromark --bundle --conditions=development --format=cjs --platform=node --target=es2022 > test/fuzz-bundle.cjs && node script/generate-fixtures.js && jazzer test/fuzz.cjs test/fixtures -- -max_total_time=1800",
"test-api-dev": "node --conditions development test/index.js",
"test-api-prod": "node --conditions production test/index.js",
"test-api": "npm run test-api-dev && npm run test-api-prod",
"test-coverage": "c8 --100 --reporter lcov npm run test-api-dev",
"test": "npm run build && npm run format && npm run test-coverage"
},
"prettier": {
"bracketSpacing": false,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"remarkConfig": {
"plugins": [
"remark-preset-wooorm",
[
"remark-lint-no-html",
false
],
[
"remark-lint-maximum-line-length",
false
]
]
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"ignoreCatch": true,
"strict": true
},
"xo": {
"envs": [
"shared-node-browser"
],
"overrides": [
{
"files": [
"test/**/*.js"
],
"rules": {
"import/no-unassigned-import": "off",
"no-await-in-loop": "off"
}
}
],
"prettier": true,
"rules": {
"logical-assignment-operators": "off",
"n/file-extension-in-import": "off",
"unicorn/prefer-code-point": "off"
}
}
}