forked from infeng/react-viewer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
126 lines (126 loc) · 3.34 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
118
119
120
121
122
123
124
125
126
{
"name": "@tangdw/react-viewer",
"version": "3.2.8",
"description": "react image viewer",
"main": "dist/index",
"scripts": {
"test": "jest",
"start": "webpack-dev-server",
"lint": "tslint -c tslint.json \"src/**/*.ts\" \"src/**/*.tsx\"",
"build": "webpack --config webpack.config.prop.js && gulp",
"build:analyze": "ANALYZE=true webpack --config webpack.config.prop.js",
"doc": "webpack --config webpack.config.doc.js",
"pub": "npm run build && npm publish --access public",
"prepublish": "npm run build",
"predeploy": "npm run doc",
"deploy": "gh-pages -d pages-build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tangdw/react-viewer.git"
},
"keywords": [
"react",
"image",
"viewer"
],
"author": "infeng",
"license": "MIT",
"bugs": {
"url": "https://github.com/tangdw/react-viewer/issues"
},
"files": [
"dist",
"lib"
],
"typings": "lib/index.d.ts",
"homepage": "https://github.com/tangdw/react-viewer#readme",
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@types/jest": "^23.3.1",
"@types/node": "^12.11.1",
"@types/react": "^16.9.1",
"@types/react-dom": "^16.8.5",
"antd": "^3.24.1",
"autoprefixer": "^9.6.5",
"babel-jest": "^23.4.2",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.2.1",
"css-loader": "^3.2.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.3.4",
"file-loader": "^4.2.0",
"fs-extra": "^8.1.0",
"gh-pages": "^2.1.1",
"gulp": "^4.0.2",
"gulp-typescript": "^5.0.1",
"html-webpack-plugin": "^3.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.5.0",
"jest-environment-jsdom": "^23.4.0",
"jest-environment-jsdom-global": "^1.1.0",
"jest-static-stubs": "0.0.1",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"merge2": "^1.3.0",
"mini-css-extract-plugin": "^0.9.0",
"postcss-loader": "^3.0.0",
"pre-commit": "^1.1.3",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"style-loader": "^1.0.0",
"through2": "^2.0.1",
"ts-jest": "^23.1.3",
"ts-loader": "^6.2.0",
"tslint": "^5.18.0",
"typescript": "^3.6.4",
"url-loader": "^2.2.0",
"webpack": "^4.41.2",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-chain": "^6.0.0",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.2",
"wolfy87-eventemitter": "^5.2.5"
},
"dependencies": {
"classnames": "^2.2.5"
},
"pre-commit": [
"lint"
],
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest",
"\\.js$": "babel-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"moduleNameMapper": {
"^.+\\.(jpg|jpeg)$": "jest-static-stubs/jpg",
"\\.(css|less)$": "identity-obj-proxy"
},
"moduleDirectories": [
"node_modules"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.test.json"
}
},
"coverageDirectory": "./coverage/",
"collectCoverage": true
}
}