|
1 | 1 | {
|
| 2 | + "name": "react-diff-viewer", |
| 3 | + "version": "1.0.0-beta-3", |
| 4 | + "private": false, |
| 5 | + "description": "The only text diff viewer needed for React", |
| 6 | + "keywords": [ |
| 7 | + "code-review", |
| 8 | + "diff", |
| 9 | + "diff-viewer", |
| 10 | + "github", |
| 11 | + "react", |
| 12 | + "react-component", |
| 13 | + "ui" |
| 14 | + ], |
| 15 | + "repository": "[email protected]:praneshr/react-diff-viewer.git", |
| 16 | + "license": "MIT", |
| 17 | + "author": "Pranesh Ravi<[email protected]>", |
| 18 | + "main": "lib/index.js", |
| 19 | + "scripts": { |
| 20 | + "build": "tsc --outDir lib/", |
| 21 | + "build:examples": "webpack --progress --colors", |
| 22 | + "build:watch": "tsc --outDir lib/ -w", |
| 23 | + "prepublish": "yarn build", |
| 24 | + "postpublish": "yarn publish:site", |
| 25 | + "publish:site": "NODE_ENV=production yarn build:examples && gh-pages -d examples/dist", |
| 26 | + "start:examples": "webpack-dev-server --open --hot --inline --host 192.168.31.72", |
| 27 | + "test": "mocha --require ts-node/register --require enzyme.ts ./test/index.tsx", |
| 28 | + "test:watch": "mocha --require ts-node/register --require enzyme.ts --watch-extensions ts,tsx --watch ./test/index.tsx" |
| 29 | + }, |
| 30 | + "dependencies": { |
| 31 | + "classnames": "^2.2.6", |
| 32 | + "diff": "^3.5.0", |
| 33 | + "emotion": "^9.2.10", |
| 34 | + "prop-types": "^15.6.2" |
| 35 | + }, |
2 | 36 | "devDependencies": {
|
3 | 37 | "@types/classnames": "^2.2.6",
|
4 | 38 | "@types/diff": "^3.5.1",
|
|
34 | 68 | "webpack-cli": "^3.1.1",
|
35 | 69 | "webpack-dev-server": "^3.1.9"
|
36 | 70 | },
|
37 |
| - "name": "react-diff-viewer", |
38 |
| - "version": "1.0.0-beta-3", |
39 |
| - "description": "The only text diff viewer needed for React", |
40 |
| - "main": "lib/index.js", |
41 |
| - "repository": "[email protected]:praneshr/react-diff-viewer.git", |
42 |
| - "author": "Pranesh Ravi<[email protected]>", |
43 |
| - "license": "MIT", |
44 |
| - "private": false, |
45 |
| - "scripts": { |
46 |
| - "build": "tsc --outDir lib/", |
47 |
| - "build:watch": "tsc --outDir lib/ -w", |
48 |
| - "build:examples": "webpack --progress --colors", |
49 |
| - "start:examples": "webpack-dev-server --open --hot --inline --host 192.168.31.72", |
50 |
| - "prepublish": "yarn build", |
51 |
| - "publish:site": "NODE_ENV=production yarn build:examples && gh-pages -d examples/dist", |
52 |
| - "postpublish": "yarn publish:site", |
53 |
| - "test": "mocha --require ts-node/register --require enzyme.ts ./test/index.tsx", |
54 |
| - "test:watch": "mocha --require ts-node/register --require enzyme.ts --watch-extensions ts,tsx --watch ./test/index.tsx" |
55 |
| - }, |
56 |
| - "dependencies": { |
57 |
| - "classnames": "^2.2.6", |
58 |
| - "diff": "^3.5.0", |
59 |
| - "emotion": "^9.2.10", |
60 |
| - "prop-types": "^15.6.2" |
| 71 | + "peerDependencies": { |
| 72 | + "react": "^15.3.0 || ^16.0.0", |
| 73 | + "react-dom": "^15.3.0 || ^16.0.0" |
61 | 74 | }
|
62 | 75 | }
|
0 commit comments