-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
103 lines (103 loc) · 2.73 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
{
"name": "react-fast-highlight",
"version": "4.1.0",
"description": "A fast react component wrapper for highlight.js",
"main": "lib/js/index.js",
"module": "lib/esm/index.js",
"types": "typings/index.d.ts",
"scripts": {
"clean": "rimraf lib",
"build": "run-p build:*",
"build:commonjs": "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --extensions .ts,.tsx --ignore '**/__tests__'",
"build:esm": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/esm --extensions .ts,.tsx --ignore '**/__tests__'",
"build:types": "tsc",
"format": "spire format",
"lint": "spire lint",
"prepare": "run-s clean build",
"release": "spire release --branches main",
"test": "spire test"
},
"repository": {
"type": "git",
"url": "https://github.com/researchgate/react-fast-highlight.git"
},
"files": [
"lib",
"typings"
],
"keywords": [
"react",
"component",
"highlight",
"syntax",
"highlightjs"
],
"author": "Daniel Tschinder <daniel@tschinder.de>",
"license": "MIT",
"bugs": {
"url": "https://github.com/researchgate/react-fast-highlight/issues"
},
"homepage": "https://github.com/researchgate/react-fast-highlight#readme",
"peerDependencies": {
"highlight.js": "^10.0.0 || ^11.0.0",
"react": "^16.0.0"
},
"devDependencies": {
"@babel/cli": "7.19.3",
"@babel/core": "7.20.2",
"@babel/preset-typescript": "7.18.6",
"@researchgate/babel-preset": "2.0.14",
"@researchgate/spire-config": "5.0.7",
"@types/classnames": "2.3.0",
"@types/prop-types": "15.7.5",
"@types/react": "16.14.34",
"cross-env": "7.0.3",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.7",
"enzyme-to-json": "3.6.2",
"highlight.js": "11.6.0",
"jest-snapshot": "29.3.1",
"jsdom": "^20.0.2",
"jsdom-global": "^3.0.2",
"npm-run-all": "4.1.5",
"react": "16.14.0",
"react-dom": "16.14.0",
"rimraf": "3.0.2",
"spire": "5.0.4",
"spire-plugin-semantic-release": "5.0.1",
"typescript": "4.8.4"
},
"dependencies": {
"@types/highlight.js": "^9.12.3",
"clsx": "^1.1.1",
"prop-types": "^15.5.6"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.ts",
"src/**/*.tsx",
"!src/**/__tests__/**/*"
],
"setupFilesAfterEnv": [
"<rootDir>/test/setup-jest.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testEnvironment": "jsdom"
},
"spire": {
"extends": [
[
"@researchgate/spire-config",
{
"eslint": "react-typescript"
}
]
],
"plugins": [
"spire-plugin-semantic-release"
]
},
"prettier": "@researchgate/prettier-config"
}