-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
138 lines (138 loc) · 3.88 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
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "images-viewer-react",
"version": "1.5.2",
"description": "images viewer react",
"main": "dist/index",
"scripts": {
"test": "jest",
"start": "webpack-dev-server",
"lint": "eslint src demo --ext .js,.jsx,.ts,.tsx --fix",
"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",
"predeploy": "npm run doc",
"deploy": "gh-pages -d pages-build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/candy-girl/images-viewer-react.git"
},
"keywords": [
"images",
"viewer",
"react"
],
"author": "candy-girl",
"license": "MIT",
"bugs": {
"url": "https://github.com/candy-girl/images-viewer-react/issues"
},
"files": [
"dist",
"lib"
],
"typings": "lib/index.d.ts",
"homepage": "https://github.com/candy-girl/images-viewer-react/#readme",
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/classnames": "^2.2.11",
"@types/jest": "^23.3.1",
"@types/node": "^12.11.1",
"@types/react": "^16.9.1",
"@types/react-dom": "^16.8.5",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"antd": "^4.9.4",
"autoprefixer": "^9.6.5",
"babel-jest": "^23.4.2",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.2.1",
"copy-webpack-plugin": "^6.3.2",
"css-loader": "^3.2.0",
"cz-conventional-changelog": "3.3.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-react": "^7.22.0",
"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",
"husky": "^4.3.6",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"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",
"lint-staged": "^10.5.3",
"merge2": "^1.3.0",
"mini-css-extract-plugin": "^0.9.0",
"postcss-loader": "^3.0.0",
"prettier": "^2.2.1",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-test-render": "^1.1.1",
"style-loader": "^1.0.0",
"through2": "^2.0.1",
"ts-jest": "^26.5.1",
"ts-loader": "^6.2.0",
"typescript": "^3.9.7",
"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": {
"@babel/runtime-corejs3": "^7.12.5",
"classnames": "^2.2.5",
"react-pdf": "^5.0.0",
"react-to-print": "^2.12.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest",
"\\.js$": "babel-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"moduleNameMapper": {
"^.+\\.(jpg|png|jpeg)$": "jest-static-stubs/jpg",
"\\.(css|less)$": "identity-obj-proxy",
"^.+\\.worker\\.entry": "<rootDir>/__mocks__/wokerMock.ts"
},
"moduleDirectories": [
"node_modules"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.test.json"
}
},
"coverageDirectory": "./coverage/",
"collectCoverage": true
}
}