forked from tam315/react-compare-image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.22 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.1.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 && yarn tsc",
"prepublishOnly": "yarn test && yarn loki:test && yarn build",
"test": "jest",
"test:watch": "jest --watch",
"storybook": "start-storybook -p 6006 -s ./public",
"build-storybook": "build-storybook",
"loki:approve": "yarn loki approve",
"loki:test": "build-storybook && yarn loki --chromeDockerImage justinribeiro/chrome-headless@sha256:5bcf25fe2c20e1eaad4fdc7fa2a447cc6ef47a42ec9abd6e3d5b167d57ad4775 --chromeFlags=\"--headless --disable-gpu --hide-scrollbars --disable-web-security\" --reactUri file:./storybook-static --requireReference test",
"loki:update-references": "build-storybook && yarn loki --chromeDockerImage justinribeiro/chrome-headless@sha256:5bcf25fe2c20e1eaad4fdc7fa2a447cc6ef47a42ec9abd6e3d5b167d57ad4775 --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",
"react-dom": "^16.8 || ^17"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.10.4",
"@storybook/addon-storysource": "^5.2.4",
"@storybook/addons": "^5.1.11",
"@storybook/react": "^5.1.11",
"@testing-library/jest-dom": "^5.11.0",
"@testing-library/react": "^10.4.3",
"@types/resize-observer-browser": "^0.1.3",
"babel-eslint": "^10.0.1",
"babel-jest": "^26.1.0",
"babel-loader": "^8.0.5",
"babel-polyfill": "^6.26.0",
"del-cli": "^3.0.0",
"eslint": "^7.3.1",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^23.17.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^4.0.5",
"file-loader": "^6.0.0",
"jest": "^26.1.0",
"loki": "^0.23.0",
"prettier": "^2.0.5",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"style-loader": "^1.0.0",
"typescript": "^3.9.6",
"url-loader": "^4.1.0",
"webpack": "^4.8.3",
"webpack-cli": "3"
},
"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"
]
}