-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
77 lines (77 loc) · 2.14 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
{
"name": "@readme/syntax-highlighter",
"description": "ReadMe's React-based syntax highlighter",
"version": "13.1.0",
"main": "dist/index.node.js",
"browser": "dist/index.js",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/readmeio/syntax-highlighter.git"
},
"homepage": "https://readmeio.github.io/syntax-highlighter/",
"engines": {
"node": ">=18"
},
"scripts": {
"build": "webpack --progress",
"lint": "eslint . --ext .jsx --ext .js",
"prepack": "npm run build",
"pretest": "npm run lint && npm run prettier",
"prettier": "prettier --list-different --write .",
"start": "webpack serve --open --config ./webpack.config.dev.js",
"test": "jest --coverage --runInBand",
"watch": "webpack -w --progress"
},
"dependencies": {
"codemirror": "^5.54.0",
"codemirror-graphql": "1.0.2",
"prop-types": "^15.7.2",
"react-codemirror2": "^8.0.0"
},
"peerDependencies": {
"@readme/variable": "^16.2.0",
"react": "16.x || 17.x || 18.x",
"react-dom": "16.x || 17.x || 18.x"
},
"devDependencies": {
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@readme/eslint-config": "^14.0.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.5",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"core-js": "^3.36.1",
"css-loader": "^7.1.1",
"eslint": "^8.57.0",
"glob": "^11.0.0",
"html-webpack-plugin": "^5.6.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"node-sass": "^9.0.0",
"prettier": "^3.2.5",
"prettier-2": "npm:prettier@^2.8.8",
"regenerator-runtime": "^0.14.1",
"sass-loader": "^13.3.2",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.91.0",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.0.4"
},
"prettier": "@readme/eslint-config/prettier",
"bundlewatch": {
"files": [
{
"path": "dist/index.js",
"maxSize": "500kb"
},
{
"path": "dist/index.node.js",
"maxSize": "10kb"
}
]
}
}