-
Notifications
You must be signed in to change notification settings - Fork 161
/
package.json
105 lines (105 loc) · 3.19 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
{
"name": "react-image-magnify",
"version": "2.7.4",
"description": "A responsive image zoom component designed for shopping sites.",
"repository": {
"type": "git",
"url": "https://github.com/ethanselzer/react-image-magnify.git"
},
"author": "Ethan Selzer <ethanselzer@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ethanselzer/react-image-magnify/issues"
},
"homepage": "https://github.com/ethanselzer/react-image-magnify",
"keywords": [
"react",
"image",
"photo",
"picture",
"zoom",
"enlarge",
"magnify",
"expand",
"lens",
"detail",
"ecommerce",
"store",
"shopping",
"product"
],
"main": "dist/ReactImageMagnify.js",
"module": "dist/es/ReactImageMagnify.js",
"files": [
"dist",
"LICENCE"
],
"scripts": {
"analyze": "npm run stats && webpack-bundle-analyzer stats.json",
"build-umd": "webpack -p",
"build-cjs": "cross-env BABEL_ENV=cjs babel src --out-dir dist",
"build-es": "babel src --out-dir dist/es",
"build": "rimraf dist && npm run build-cjs && npm run build-es && npm run build-umd",
"build-watch": "cross-env BABEL_ENV=cjs babel --watch src --out-dir dist",
"prepublishOnly": "npm run lint && npm test && npm run build",
"lint": "eslint \"@(src|test)/**/*.js\"",
"stats": "webpack -p --profile --json > stats.json",
"test": "npm run lint && npm run test-only",
"test-only": "cross-env BABEL_ENV=test mocha --recursive --require babel-core/register --require test/setup test",
"test-watch": "npm run test-only -- --watch",
"test-coverage": "rimraf coverage && nyc --reporter=lcov npm run test-only && nyc report",
"test-ci": "npm run lint && npm run test-coverage && npm run coveralls",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"nyc": {
"sourceMap": false,
"instrument": false,
"exclude": [
"test"
]
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-loader": "^7.1.2",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"chai": "4.1.2",
"coveralls": "3.0.0",
"cross-env": "^5.0.5",
"enzyme": "3.6.0",
"enzyme-adapter-react-16": "1.5.0",
"eslint": "^4.8.0",
"eslint-plugin-chai-friendly": "^0.4.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"jsdom": "^12.0.0",
"mocha": "4.0.0",
"nyc": "^11.2.1",
"react": "^16.5.0",
"react-dom": "^16.5.0",
"react-test-renderer": "^16.5.0",
"rimraf": "^2.6.2",
"sinon": "4.1.2",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0"
},
"peerDependencies": {
"react": "~0.14.9 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"clamp": "1.0.1",
"detect-it": "3.0.3",
"fast-deep-equal": "1.0.0",
"object-assign": "4.1.1",
"prop-types": "15.6.0",
"react-cursor-position": "2.5.3",
"react-required-if": "1.0.1"
}
}