-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.19 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
{
"name": "rehype-pre-language",
"version": "1.1.0",
"description": "Rehype plugin to add language information as a property to pre element",
"type": "module",
"exports": "./dist/esm/index.js",
"main": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"scripts": {
"build": "rimraf dist && tsc --build && type-coverage",
"format": "npm run prettier && npm run lint",
"prettier": "prettier --write .",
"lint": "eslint .",
"test": "vitest --watch=false",
"test:watch": "vitest",
"test:file": "vitest test.spec.ts",
"prepack": "npm run build",
"prepublishOnly": "npm run test && npm run format && npm run test-coverage",
"test-coverage": "vitest run --coverage"
},
"files": [
"dist/",
"src/",
"LICENSE",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ipikuka/rehype-pre-language.git"
},
"keywords": [
"unified",
"hast",
"rehype",
"markdown",
"plugin",
"rehype-plugin",
"rehype-pre",
"rehype-pre-language"
],
"author": "ipikuka <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/ipikuka/rehype-pre-language#readme",
"bugs": {
"url": "https://github.com/ipikuka/rehype-pre-language/issues"
},
"devDependencies": {
"@types/dedent": "^0.7.2",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@vitest/coverage-v8": "^1.4.0",
"dedent": "^1.5.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"rehype-stringify": "^10.0.0",
"remark-flexible-code-titles": "^1.2.0",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"rimraf": "^5.0.5",
"type-coverage": "^2.27.1",
"typescript": "^5.4.3",
"unified": "^11.0.4",
"vfile": "^6.0.1",
"vitest": "^1.4.0"
},
"dependencies": {
"@types/hast": "^3.0.4",
"unist-util-visit": "^5.0.0"
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"ignoreAsAssertion": true,
"ignoreCatch": true,
"strict": true
},
"sideEffects": false
}