-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
120 lines (120 loc) · 3.07 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "react-gh-like-diff",
"version": "2.0.2",
"description": "Generate Github like diff result in react.",
"main": "dist/js/react-gh-like-diff.cjs.js",
"module": "dist/js/react-gh-like-diff.esm.js",
"jsnext:main": "dist/js/react-gh-like-diff.esm.js",
"umd": "dist/js/react-gh-like-diff.umd.js",
"scripts": {
"test": "npm run lint && jest",
"test:watch": "npm test -- --watch",
"test:cov": "npm run lint && jest --coverage",
"clean": "rimraf lib es dist",
"build:dev": "npm run clean && cross-env NODE_ENV=development rollup -c",
"build": "npm run clean && cross-env NODE_ENV=production rollup -c",
"size": "bundlesize",
"lint": "eslint src"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/src/__tests__/setup.js"
],
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"testMatch": [
"<rootDir>/src/__tests__/*.spec.js"
],
"moduleNameMapper": {
"^.+\\.(css)$": "<rootDir>/src/__tests__/stub.js"
},
"verbose": true,
"coverageReporters": [
"text",
"lcov"
]
},
"lint-staged": {
"*.{js}": [
"npm run lint"
]
},
"author": "Peng-Jie <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/neighborhood999/react-gh-like-diff.git"
},
"keywords": [
"compare",
"comparison",
"diff",
"difference",
"diff2html",
"react",
"recompose"
],
"bugs": {
"url": "https://github.com/neighborhood999/react-gh-like-diff/issues"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test",
"pre-publish": "npm run build"
}
},
"dependencies": {
"diff2html": "^3.1.6",
"difflib": "^0.2.4",
"prop-types": "^15.7.2",
"recompose": "^0.30.0"
},
"devDependencies": {
"@babel/core": "7.9.6",
"@babel/plugin-proposal-object-rest-spread": "7.9.6",
"@babel/preset-env": "7.9.6",
"@babel/preset-react": "7.9.4",
"@rollup/plugin-buble": "0.21.3",
"@rollup/plugin-commonjs": "11.1.0",
"@rollup/plugin-node-resolve": "7.1.3",
"@rollup/plugin-replace": "2.3.2",
"@testing-library/jest-dom": "5.5.0",
"@testing-library/react": "10.0.4",
"babel-eslint": "10.1.0",
"bundlesize": "0.18.0",
"codecov": "3.6.5",
"cross-env": "7.0.2",
"eslint": "6.8.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-prettier": "3.1.3",
"eslint-plugin-react": "7.19.0",
"husky": "4.2.5",
"jest": "25.5.4",
"lint-staged": "10.2.2",
"prettier": "2.0.5",
"react": "16.13.1",
"react-dom": "16.13.1",
"rimraf": "3.0.2",
"rollup": "2.7.6",
"rollup-plugin-css-only": "2.0.0",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-size-snapshot": "0.11.0",
"rollup-plugin-terser": "5.3.0"
},
"peerDependencies": {
"react": "^16.0.0"
},
"files": [
"lib",
"es",
"dist"
],
"bundlesize": [
{
"path": "./lib/react-gh-like-diff.cjs.js",
"maxSize": "5.0 kB"
}
],
"license": "MIT"
}