-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
113 lines (113 loc) · 2.64 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
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "rehype-prism-plus",
"version": "2.0.0",
"description": "rehype plugin to highlight code blocks in HTML with Prism (via refractor) with line highlighting and line numbers",
"source": "index.js",
"files": [
"dist"
],
"main": "./dist/index.es.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.es.js"
},
"./common": {
"types": "./dist/common.d.ts",
"default": "./dist/common.es.js"
},
"./all": {
"types": "./dist/all.d.ts",
"default": "./dist/all.es.js"
},
"./generator": {
"types": "./dist/generator.d.ts",
"default": "./dist/generator.es.js"
}
},
"typesVersions": {
"*": {
".": [
"./dist/index"
],
"common": [
"./dist/common"
],
"all": [
"./dist/all"
],
"generator": [
"./dist/generator"
]
}
},
"scripts": {
"build": "tsc -b && microbundle src/index.js src/common.js src/all.js src/generator.js --format esm",
"tsc": "tsc --watch",
"lint": "eslint .",
"prettier": "prettier --write '*.js'",
"test": "uvu"
},
"repository": {
"type": "git",
"url": "git+https://github.com/timlrx/rehype-prism-plus.git"
},
"keywords": [
"rehype",
"rehype-plugin",
"syntax-highlighting",
"prism",
"mdx",
"jsx"
],
"author": "Timothy Lin <[email protected]> (https://timlrx.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/timlrx/rehype-prism-plus/issues"
},
"homepage": "https://github.com/timlrx/rehype-prism-plus#readme",
"dependencies": {
"hast-util-to-string": "^3.0.0",
"parse-numeric-range": "^1.3.0",
"refractor": "^4.8.0",
"rehype-parse": "^9.0.0",
"unist-util-filter": "^5.0.0",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"dedent": "^0.7.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-node": "^11.1.0",
"husky": "^8.0.0",
"lint-staged": "^11.1.2",
"microbundle": "^0.15.1",
"prettier": "^2.8.8",
"rehype": "^13.0.1",
"remark": "^15.0.1",
"remark-rehype": "^11.0.0",
"typescript": "5.1.3",
"unified": "^11.0.4",
"uvu": "^0.5.1"
},
"prettier": {
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": true,
"semi": false,
"trailingComma": "es5"
},
"lint-staged": {
"*.+(js|jsx|ts|tsx)": [
"eslint --fix"
],
"*.+(js|jsx|ts|tsx|json|css|md|mdx)": [
"prettier --write"
]
}
}