generated from one-template/react-component-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.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
{
"private": false,
"name": "react-image-follow",
"version": "1.2.2",
"scripts": {
"start": "dumi dev",
"docs:build": "dumi build",
"docs-dev:build": "UMI_ENV=dev dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"build": "father-build && lessc assets/index.less assets/index.css",
"build:dist": "father-build && lessc assets/index.less dist/index.css",
"deploy": "npm run docs:build && npm run docs:deploy",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"prepublishOnly": "npm run build && np --yolo --no-publish",
"test": "father test",
"coverage": "father test --coverage",
"lint": "eslint src/ --ext .tsx,.ts"
},
"main": "dist/index.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"repository": {
"type": "git",
"url": "https://github.com/image-component/react-image-follow",
"branch": "main"
},
"author": "xrkffgg",
"homepage": "https://github.com/image-component/react-image-follow",
"keywords": [
"component",
"react",
"image",
"follow"
],
"files": [
"assets/*.css",
"dist",
"README.md",
"CHANGELOG.md"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/image-component/react-image-follow/issues"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"classnames": "^2.2.6"
},
"devDependencies": {
"@types/classnames": "^2.2.11",
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.16",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@umijs/fabric": "^2.2.2",
"dumi": "^1.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"enzyme-to-json": "^3.6.1",
"eslint": "^7.15.0",
"father": "^2.29.1",
"father-build": "^1.17.2",
"gh-pages": "^3.0.0",
"lint-staged": "^10.0.7",
"np": "^7.0.0",
"prettier": "^2.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"typescript": "^4.1.2",
"yorkie": "^2.0.0"
}
}