|
4 | 4 | "version": "10.0.1", |
5 | 5 | "main": "dist/index.node.js", |
6 | 6 | "browser": "dist/index.js", |
7 | | - "dependencies": { |
8 | | - "@readme/variable": "^7.2.1", |
9 | | - "codemirror": "^5.48.2", |
10 | | - "prop-types": "^15.7.2", |
11 | | - "react": "^16.13.1", |
12 | | - "react-codemirror2": "^7.2.1", |
13 | | - "react-dom": "^16.13.1" |
| 7 | + "license": "ISC", |
| 8 | + "repository": { |
| 9 | + "type": "git", |
| 10 | + "url": "https://github.com/readmeio/syntax-highlighter.git" |
14 | 11 | }, |
| 12 | + "homepage": "https://readmeio.github.io/syntax-highlighter/", |
15 | 13 | "scripts": { |
16 | 14 | "build": "webpack", |
17 | 15 | "inspect": "jsinspect", |
|
24 | 22 | "version": "conventional-changelog -i CHANGELOG.md -s && git add CHANGELOG.md", |
25 | 23 | "watch": "webpack -w --progress" |
26 | 24 | }, |
27 | | - "license": "ISC", |
28 | | - "repository": "https://github.com/readmeio/syntax-highlighter", |
29 | | - "homepage": "https://readmeio.github.io/syntax-highlighter/", |
| 25 | + "dependencies": { |
| 26 | + "@readme/variable": "^7.2.1", |
| 27 | + "codemirror": "^5.48.2", |
| 28 | + "prop-types": "^15.7.2", |
| 29 | + "react-codemirror2": "^7.2.1" |
| 30 | + }, |
| 31 | + "peerDependencies": { |
| 32 | + "react": "16.x", |
| 33 | + "react-dom": "16.x" |
| 34 | + }, |
30 | 35 | "devDependencies": { |
31 | 36 | "@babel/preset-env": "^7.11.5", |
32 | 37 | "@babel/preset-react": "^7.10.4", |
|
50 | 55 | "jsinspect": "^0.12.6", |
51 | 56 | "node-sass": "^4.14.1", |
52 | 57 | "prettier": "^2.0.1", |
| 58 | + "react": "^16.14.0", |
| 59 | + "react-dom": "^16.14.0", |
53 | 60 | "sass-loader": "^10.0.1", |
54 | 61 | "style-loader": "^1.2.1", |
55 | 62 | "terser-webpack-plugin": "^4.1.0", |
|
0 commit comments