Skip to content

Commit b20e3b4

Browse files
committed
Adding engines to package.json
1 parent 8cb7bf4 commit b20e3b4

File tree

1 file changed

+86
-83
lines changed

1 file changed

+86
-83
lines changed

package.json

Lines changed: 86 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,88 @@
11
{
2-
"name": "react-diff-viewer",
3-
"version": "3.0.0-beta.1",
4-
"private": false,
5-
"description": "A simple and beautiful text diff viewer component made with diff and React",
6-
"keywords": [
7-
"review",
8-
"code-review",
9-
"diff",
10-
"diff-viewer",
11-
"github",
12-
"react",
13-
"react-component",
14-
"ui"
15-
],
16-
"repository": "git@github.com:praneshr/react-diff-viewer.git",
17-
"license": "MIT",
18-
"author": "Pranesh Ravi<praneshpranesh@gmail.com>",
19-
"main": "lib/index",
20-
"typings": "lib/index",
21-
"scripts": {
22-
"build": "tsc --outDir lib/",
23-
"build:examples": "webpack --progress --colors",
24-
"build:watch": "tsc --outDir lib/ -w",
25-
"publish:examples": "NODE_ENV=production yarn build:examples && gh-pages -d examples/dist -r $GITHUB_REPO_URL",
26-
"publish:examples:local": "NODE_ENV=production yarn build:examples && gh-pages -d examples/dist",
27-
"start:examples": "webpack-dev-server --open --hot --inline",
28-
"test": "mocha --require ts-node/register --require enzyme.ts ./test/**",
29-
"test:watch": "mocha --require ts-node/register --require enzyme.ts --watch-extensions ts,tsx --watch ./test/**"
30-
},
31-
"dependencies": {
32-
"classnames": "^2.2.6",
33-
"create-emotion": "^10.0.14",
34-
"diff": "^4.0.1",
35-
"emotion": "^10.0.14",
36-
"memoize-one": "^5.0.4",
37-
"prop-types": "^15.6.2"
38-
},
39-
"devDependencies": {
40-
"@types/classnames": "^2.2.6",
41-
"@types/diff": "^4.0.2",
42-
"@types/enzyme": "^3.1.14",
43-
"@types/enzyme-adapter-react-16": "^1.0.3",
44-
"@types/expect": "^1.20.3",
45-
"@types/memoize-one": "^4.1.1",
46-
"@types/mocha": "^5.2.5",
47-
"@types/node": "^12.0.12",
48-
"@types/react": "^16.4.14",
49-
"@types/react-dom": "^16.0.8",
50-
"@types/webpack": "^4.4.13",
51-
"@typescript-eslint/eslint-plugin": "^1.11.0",
52-
"@typescript-eslint/parser": "^1.11.0",
53-
"css-loader": "^3.0.0",
54-
"enzyme": "^3.7.0",
55-
"enzyme-adapter-react-16": "^1.6.0",
56-
"eslint": "6.0.1",
57-
"eslint-config-airbnb": "17.1.1",
58-
"eslint-plugin-import": "^2.18.0",
59-
"eslint-plugin-jsx-a11y": "^6.2.3",
60-
"eslint-plugin-react": "^7.14.2",
61-
"expect": "^24.8.0",
62-
"favicons-webpack-plugin": "^0.0.9",
63-
"file-loader": "^4.0.0",
64-
"gh-pages": "^2.0.1",
65-
"html-webpack-plugin": "^3.2.0",
66-
"mini-css-extract-plugin": "^0.7.0",
67-
"mocha": "^6.1.4",
68-
"node-sass": "^4.9.3",
69-
"raw-loader": "^3.0.0",
70-
"react": "^16.5.2",
71-
"react-dom": "^16.5.2",
72-
"sass-loader": "^7.1.0",
73-
"spy": "^1.0.0",
74-
"ts-loader": "^6.0.4",
75-
"ts-node": "^8.3.0",
76-
"typescript": "^3.5.2",
77-
"webpack": "^4.20.2",
78-
"webpack-cli": "^3.1.1",
79-
"webpack-dev-server": "^3.1.9"
80-
},
81-
"peerDependencies": {
82-
"react": "^15.3.0 || ^16.0.0",
83-
"react-dom": "^15.3.0 || ^16.0.0"
84-
}
2+
"name": "react-diff-viewer",
3+
"version": "3.0.0-beta.1",
4+
"private": false,
5+
"description": "A simple and beautiful text diff viewer component made with diff and React",
6+
"keywords": [
7+
"review",
8+
"code-review",
9+
"diff",
10+
"diff-viewer",
11+
"github",
12+
"react",
13+
"react-component",
14+
"ui"
15+
],
16+
"repository": "git@github.com:praneshr/react-diff-viewer.git",
17+
"license": "MIT",
18+
"author": "Pranesh Ravi<praneshpranesh@gmail.com>",
19+
"main": "lib/index",
20+
"typings": "lib/index",
21+
"scripts": {
22+
"build": "tsc --outDir lib/",
23+
"build:examples": "webpack --progress --colors",
24+
"build:watch": "tsc --outDir lib/ -w",
25+
"publish:examples": "NODE_ENV=production yarn build:examples && gh-pages -d examples/dist -r $GITHUB_REPO_URL",
26+
"publish:examples:local": "NODE_ENV=production yarn build:examples && gh-pages -d examples/dist",
27+
"start:examples": "webpack-dev-server --open --hot --inline",
28+
"test": "mocha --require ts-node/register --require enzyme.ts ./test/**",
29+
"test:watch": "mocha --require ts-node/register --require enzyme.ts --watch-extensions ts,tsx --watch ./test/**"
30+
},
31+
"dependencies": {
32+
"classnames": "^2.2.6",
33+
"create-emotion": "^10.0.14",
34+
"diff": "^4.0.1",
35+
"emotion": "^10.0.14",
36+
"memoize-one": "^5.0.4",
37+
"prop-types": "^15.6.2"
38+
},
39+
"devDependencies": {
40+
"@types/classnames": "^2.2.6",
41+
"@types/diff": "^4.0.2",
42+
"@types/enzyme": "^3.1.14",
43+
"@types/enzyme-adapter-react-16": "^1.0.3",
44+
"@types/expect": "^1.20.3",
45+
"@types/memoize-one": "^4.1.1",
46+
"@types/mocha": "^5.2.5",
47+
"@types/node": "^12.0.12",
48+
"@types/react": "^16.4.14",
49+
"@types/react-dom": "^16.0.8",
50+
"@types/webpack": "^4.4.13",
51+
"@typescript-eslint/eslint-plugin": "^1.11.0",
52+
"@typescript-eslint/parser": "^1.11.0",
53+
"css-loader": "^3.0.0",
54+
"enzyme": "^3.7.0",
55+
"enzyme-adapter-react-16": "^1.6.0",
56+
"eslint": "6.0.1",
57+
"eslint-config-airbnb": "17.1.1",
58+
"eslint-plugin-import": "^2.18.0",
59+
"eslint-plugin-jsx-a11y": "^6.2.3",
60+
"eslint-plugin-react": "^7.14.2",
61+
"expect": "^24.8.0",
62+
"favicons-webpack-plugin": "^0.0.9",
63+
"file-loader": "^4.0.0",
64+
"gh-pages": "^2.0.1",
65+
"html-webpack-plugin": "^3.2.0",
66+
"mini-css-extract-plugin": "^0.7.0",
67+
"mocha": "^6.1.4",
68+
"node-sass": "^4.9.3",
69+
"raw-loader": "^3.0.0",
70+
"react": "^16.5.2",
71+
"react-dom": "^16.5.2",
72+
"sass-loader": "^7.1.0",
73+
"spy": "^1.0.0",
74+
"ts-loader": "^6.0.4",
75+
"ts-node": "^8.3.0",
76+
"typescript": "^3.5.2",
77+
"webpack": "^4.20.2",
78+
"webpack-cli": "^3.1.1",
79+
"webpack-dev-server": "^3.1.9"
80+
},
81+
"peerDependencies": {
82+
"react": "^15.3.0 || ^16.0.0",
83+
"react-dom": "^15.3.0 || ^16.0.0"
84+
},
85+
"engines": {
86+
"node": "^12"
87+
}
8588
}

0 commit comments

Comments
 (0)