-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) 路 2.3 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) 路 2.3 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
{
"name": "markdown-it-code-block",
"description": "Code-block plugin for markdown-it",
"version": "0.1.1",
"license": "MIT",
"author": "Yusuke <https://github.com/yusuke99>",
"scripts": {
"build": "rimraf ./dist && run-p build:*",
"build:src": "babel ./src -x '.ts' --ignore '**/__test__/*' -d ./dist",
"build:type": "tsc -p ./tsconfig.build.json",
"changeset": "changeset",
"ci:version": "changeset version",
"ci:publish": "changeset publish",
"dev": "nodemon -w './src' -w './styles' -w './playground' -e 'css,md,ts' -x 'run-s build playground'",
"format": "biome format . --write",
"lint": "biome lint .",
"test": "run-s build:src test:*",
"test:vitest": "vitest run",
"typecheck": "tsc --noEmit",
"playground": "pnpm --filter ./playground dev",
"prepare": "simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "pnpm format",
"pre-push": "pnpm run-s format lint typecheck test"
},
"peerDependencies": {
"markdown-it": "^14.0.0",
"prismjs": "^1.29.0"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@biomejs/biome": "^1.5.3",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@types/markdown-it": "^13.0.7",
"@types/node": "^20.11.17",
"@types/prismjs": "^1.26.3",
"babel-plugin-prismjs": "^2.1.0",
"markdown-it": "^14.0.0",
"nodemon": "^3.0.3",
"npm-run-all": "^4.1.5",
"prismjs": "^1.29.0",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.3",
"vite": "^5.1.1",
"vitest": "^1.2.2"
},
"engines": {
"node": ">=20.0.0",
"pnpm": ">=8.0.0"
},
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"exports": {
".": "./dist/index.js",
"./styles/*": "./styles/*"
},
"files": [
"dist",
"styles"
],
"keywords": [
"markdown",
"markdown-it",
"markdown-it-plugin",
"code-block",
"highlight"
],
"homepage": "https://github.com/yusuke99/markdown-it-code-block#readme",
"bugs": "https://github.com/yusuke99/markdown-it-code-block/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/yusuke99/markdown-it-code-block.git"
}
}