-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.16 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.16 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
{
"name": "react-refractor",
"version": "4.0.0",
"description": "Super-thin React wrapper for refractor (Syntax highlighting using VDOM)",
"type": "module",
"exports": {
".": {
"source": "./src/index.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"browserslist": [
"fully supports es6-module",
"node 20"
],
"sideEffects": false,
"files": [
"dist",
"src"
],
"scripts": {
"build": "npm run clean && pkg-utils build --strict && npm run build:demo",
"build:demo": "vite build",
"clean": "rimraf dist",
"coverage": "vitest --coverage",
"dev": "vite demo",
"lint": "eslint .",
"prepublishOnly": "npm run build && npm test",
"posttest": "npm run lint",
"test": "vitest && pkg-utils --strict"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rexxars/react-refractor.git"
},
"keywords": [
"react",
"highlight",
"syntax",
"refractor",
"vdom"
],
"author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/rexxars/react-refractor/issues"
},
"homepage": "https://github.com/rexxars/react-refractor#readme",
"dependencies": {
"refractor": "^5.0.0",
"unist-util-filter": "^5.0.1",
"unist-util-visit-parents": "^6.0.1"
},
"devDependencies": {
"@sanity/pkg-utils": "^7.9.9",
"@sanity/semantic-release-preset": "^5.0.0",
"@types/hast": "^3.0.4",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@vitejs/plugin-react": "^4.7.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-sanity": "^6.0.0",
"prettier": "^3.6.2",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.7",
"typescript": "5.8.3",
"vite": "^7.0.5",
"vitest": "^3.2.4"
},
"peerDependencies": {
"react": ">=18.0.0"
},
"engines": {
"node": ">=20.0.0"
}
}