forked from zWingz/react-image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 2.94 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
{
"name": "@zzwing/react-image",
"version": "1.2.0",
"description": "react image component",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "./index.d.ts",
"keywords": [
"react",
"image",
"component"
],
"files": [
"dist",
"es",
"src",
"index.d.ts"
],
"scripts": {
"docz": "docz dev",
"docz:build": "docz build",
"build": "rollup -c",
"tslint": "tslint --fix --format codeFrame --project .",
"dev": "poi --serve",
"pub": "yarn tslint && yarn build && yarn publish --access=public",
"test": "jest",
"changelog": "npx conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"author": "[email protected]",
"license": "MIT",
"homepage": "https://zwing.site/react-image/#/",
"repository": {
"type": "git",
"url": "git+https://github.com/zWingz/react-image.git"
},
"bugs": {
"url": "https://github.com/zWingz/react-image/issues"
},
"peerDependencies": {
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"devDependencies": {
"@poi/plugin-typescript": "^12.0.1",
"@types/enzyme": "^3.1.15",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/jest": "^24.0.9",
"@types/node": "^11.10.4",
"@types/react": "^16.7.6",
"autoprefixer": "^9.1.5",
"cz-conventional-changelog": "^2.1.0",
"docz": "^0.13.7",
"docz-plugin-css": "0.11.0",
"docz-theme-default": "^0.13.7",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"husky-tslint-pre-commit": "^1.0.3",
"jest": "^24.1.0",
"node-sass": "^4.9.2",
"poi": "^12.5.5",
"postcss-url": "^8.0.0",
"react": "^16.5.0",
"react-dom": "^16.5.0",
"rollup": "^1.4.1",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-typescript": "^1.0.0",
"rollup-plugin-url": "^2.0.1",
"ts-jest": "^24.0.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.16.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^3.6.0",
"typescript": "^3.1.6"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|scss)$": "<rootDir>/test/utils.ts"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"setupFilesAfterEnv": [
"<rootDir>/test/setup.ts"
],
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/**/__test__/**",
"!src/**/module.d.ts"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/__test__/*.(ts|tsx)"
]
},
"husky": {
"hooks": {
"pre-commit": "node node_modules/husky-tslint-pre-commit/pre-commit.js"
}
}
}