-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
87 lines (87 loc) · 2.23 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
{
"name": "react-refractor",
"version": "3.1.1",
"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 18"
],
"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 <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/rexxars/react-refractor/issues"
},
"homepage": "https://github.com/rexxars/react-refractor#readme",
"dependencies": {
"refractor": "^4.8.1",
"unist-util-filter": "^5.0.1",
"unist-util-visit-parents": "^6.0.1"
},
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@sanity/pkg-utils": "^6.1.0",
"@sanity/semantic-release-preset": "^4.0.2",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-sanity": "^6.0.0",
"prettier": "^3.2.5",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^5.0.5",
"semantic-release": "^23.0.7",
"typescript": "5.4.2",
"vite": "^5.2.8",
"vitest": "^1.4.0"
},
"peerDependencies": {
"react": ">=18.0.0"
},
"engines": {
"node": ">=18.0.0"
}
}