-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
117 lines (117 loc) · 3.25 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
{
"name": "react-product-image",
"version": "0.3.3",
"description": "React component provides product image thumbnails, selection, magnify functionality for shop/store pages",
"repository": {
"type": "git",
"url": "git+https://github.com/erhangundogan/react-product-image.git"
},
"files": [
"dist/*",
"LICENSE.md",
"README.md"
],
"keywords": [
"product",
"image",
"picture",
"product-image",
"thumbnail",
"shop",
"commerce",
"magnify",
"zoom"
],
"author": "erhan.gundogan@gmail.com",
"license": "MIT",
"private": false,
"types": "dist/react-product-image.d.ts",
"main": "dist/cjs/react-product-image.js",
"module": "dist/es/react-product-image.js",
"browser": "dist/umd/react-product-image.js",
"scripts": {
"clean": "rimraf dist",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"test": "rimraf coverage && jest",
"build": "yarn clean && NODE_ENV=development rollup -c rollup.examples.config.js",
"build:prod": "yarn clean && NODE_ENV=production rollup -c rollup.config.js",
"start": "yarn build && serve -s dist",
"watch": "npm-watch",
"prepublishOnly": "yarn build:prod"
},
"devDependencies": {
"@babel/core": "^7.16.12",
"@babel/eslint-parser": "^7.16.5",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-scope": "^7.1.0",
"jest": "^27.4.7",
"npm-watch": "^0.11.0",
"postcss": "^8.4.5",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rollup": "^2.66.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^2.0.5",
"serve": "^13.0.2",
"ts-jest": "^27.1.3",
"tslib": "^2.3.1",
"typescript": "^4.5.5"
},
"peerDependencies": {
"react": ">=17.x",
"react-dom": ">=17.x"
},
"dependencies": {
"image-helpers": "^1.3.0",
"react-image-magnify": "^2.7.4"
},
"jest": {
"rootDir": "./src",
"coverageDirectory": "../coverage",
"collectCoverage": true,
"collectCoverageFrom": [
"**/!(*.test).(ts|tsx)"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleNameMapper": {
"\\.(css|less|scss|sass)$": "./src/styleMock.js"
},
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
]
},
"watch": {
"start": {
"extensions": "ts,tsx,js,jsx,json,css,sass,scss",
"patterns": [
"src"
]
}
}
}