-
-
Notifications
You must be signed in to change notification settings - Fork 77
/
package.json
94 lines (94 loc) · 3.14 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
{
"name": "react-compare-image",
"version": "3.4.0",
"description": "React component to compare two images using slider.",
"main": "dist/bundle.js",
"types": "dist/ReactCompareImage.d.ts",
"scripts": {
"build": "del-cli dist/**/* && webpack --config ./webpack.production.config.js && pnpm tsc",
"prepublishOnly": "pnpm test && pnpm loki:test && pnpm build",
"test": "jest",
"test:watch": "jest --watch",
"storybook": "start-storybook -p 6006 -s ./public",
"build-storybook": "build-storybook",
"loki:approve": "pnpm loki approve",
"loki:test": "build-storybook && pnpm loki --chromeDockerImage yukinying/chrome-headless-browser-stable:107.0.5304.121 --chromeFlags=\"--headless --disable-gpu --hide-scrollbars --disable-web-security\" --reactUri file:./storybook-static --requireReference test --chromeTolerance 1",
"loki:update-references": "build-storybook && pnpm loki --chromeDockerImage yukinying/chrome-headless-browser-stable:107.0.5304.121 --chromeFlags=\"--headless --disable-gpu --hide-scrollbars --disable-web-security\" --reactUri file:./storybook-static update"
},
"repository": {
"type": "git",
"url": "junkboy0315/react-compare-image"
},
"author": "Shota Tamura",
"license": "MIT",
"peerDependencies": {
"react": "^16.8 || ^17 || ^18",
"react-dom": "^16.8 || ^17 || ^18"
},
"dependencies": {
"jest-environment-jsdom": "^29.3.1"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@storybook/react": "^6.5.13",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/resize-observer-browser": "^0.1.7",
"babel-eslint": "^10.0.1",
"babel-jest": "^29.3.1",
"babel-loader": "^9.1.0",
"babel-polyfill": "^6.26.0",
"del-cli": "^5.0.0",
"eslint": "^8.28.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.6",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"file-loader": "^6.0.0",
"jest": "^29.3.1",
"loki": "^0.30.3",
"prettier": "^2.8.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"style-loader": "^3.3.1",
"typescript": "^4.9.3",
"url-loader": "^4.1.0",
"webpack": "^5.75.0",
"webpack-cli": "5.0.0"
},
"keywords": [
"picture comparison",
"image comparison",
"slider",
"react",
"twentytwenty"
],
"loki": {
"configurations": {
"chrome.laptop": {
"target": "chrome.docker",
"width": 1366,
"height": 768,
"deviceScaleFactor": 1,
"mobile": false
}
}
},
"browserslist": [
"last 1 Chrome versions",
"last 1 Safari versions",
"last 1 Firefox versions",
"last 1 Edge versions",
"last 1 ChromeAndroid versions",
"last 1 iOS versions"
]
}