-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 loc) · 1.4 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
{
"name": "rehype-slots",
"repository": "marekweb/rehype-slots",
"license": "MIT",
"version": "0.3.2",
"type": "module",
"scripts": {
"check": "npm run check:lint && npm run check:format",
"check:lint": "eslint .",
"check:format": "prettier --check '**/*.{js,ts,md,yml}'",
"fix": "npm run fix:lint && npm run fix:format",
"fix:lint": "eslint --fix .",
"fix:format": "prettier --write '**/*.{js,ts,md,yml}'",
"build": "npm run build:types && npm run build:bundle",
"build:types": "tsc --build",
"build:bundle": "esbuild rehype-slots/rehype-slots.ts --bundle --platform=neutral --packages=external --outfile=dist/rehype-slots/rehype-slots.js",
"test": "node --import tsx --test '**/*.test.ts'"
},
"exports": "./dist/rehype-slots/rehype-slots.js",
"files": [
"dist/rehype-slots"
],
"types": "./dist/rehype-slots/rehype-slots.d.ts",
"prettier": {
"proseWrap": "always"
},
"devDependencies": {
"@types/hast": "^3.0.4",
"@types/node": "^20.11.17",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"esbuild": "^0.20.0",
"hastscript": "^9.0.0",
"prettier": "^3.2.5",
"rehype-format": "^5.0.0",
"rehype-parse": "^9.0.0",
"rehype-stringify": "^10.0.0",
"tsx": "^4.7.1",
"typescript": "^5.3.3",
"unified": "^11.0.4"
},
"dependencies": {
"unist-util-visit": "^5.0.0"
}
}