-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.21 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 3.21 KB
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
{
"name": "@crashbytes/react-version-compare",
"version": "1.0.6",
"description": "A React component for comparing strings and arrays with precise word-level and item-level highlighting of differences.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "rollup -c && cp src/styles/Compare.css dist/styles.css",
"dev": "rollup -c -w",
"test": "jest --no-coverage",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"coverage:report": "jest --coverage && open coverage/lcov-report/index.html",
"coverage:deploy": "npm run test:coverage && gh-pages -d coverage/lcov-report -e coverage",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build",
"lint": "eslint src --ext .ts,.tsx",
"type-check": "tsc --noEmit",
"demo": "vite",
"build-demo": "vite build",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"storybook:build": "storybook build",
"storybook:deploy": "npm run build-storybook && gh-pages -d storybook-static",
"deploy:all": "npm run test:coverage && npm run build-storybook && npm run deploy:combined",
"deploy:combined": "node scripts/deploy-gh-pages.js"
},
"keywords": [
"react",
"diff",
"compare",
"comparison",
"side-by-side",
"word-diff",
"array-diff",
"typescript",
"highlight",
"changes"
],
"author": "Your Name <your.email@example.com>",
"license": "Apache-2.0",
"homepage": "https://github.com/CrashBytes/react-version-compare#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/CrashBytes/react-version-compare.git"
},
"bugs": {
"url": "https://github.com/CrashBytes/react-version-compare/issues"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"@contentful/rich-text-types": "^17.2.5",
"diff": "^8.0.3",
"tslib": "^2.8.1"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@rollup/plugin-babel": "^6.1.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@storybook/addon-docs": "^10.2.13",
"@storybook/addon-onboarding": "^10.2.13",
"@storybook/react-vite": "^10.2.13",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.4",
"babel-jest": "^30.2.0",
"gh-pages": "^6.3.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"rollup": "^4.59.0",
"rollup-plugin-dts": "^6.3.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"storybook": "^10.2.13",
"typescript": "^5.9.3",
"vite": "^7.3.1"
}
}