/
package.json
128 lines (128 loc) · 3.7 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
{
"name": "react-leoh-ming",
"version": "0.1.6",
"description": "A React UI Library.",
"homepage": "https://github.com/LeonChan911/react-leoh-ming#readme",
"typings": "lib/index.d.ts",
"main": "lib/index.js",
"module": "esm/index.js",
"authors": {
"name": "chenyin911",
"email": "149935573@qq.com"
},
"scripts": {
"dev": "docz dev",
"start": "npm run dev",
"build:doc": "rimraf doc-site && docz build",
"preview:doc": "docz serve",
"clean": "rimraf lib esm dist",
"build:types": "tsc -p tsconfig.build.json && cpr lib esm",
"build": "npm run clean && npm run build:types && gulp",
"publish:doc": "now --prod",
"now-build": "npm run build:doc",
"release": "ts-node ./scripts/release.ts",
"commit": "git-cz",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:update": "jest --updateSnapshot",
"new": "plop --plopfile ./scripts/plopfile.ts",
"postnew": "prettier --write components/**/*{ts,tsx} --loglevel silent"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LeonChan911/react-leoh-ming.git"
},
"keywords": [],
"license": "ISC",
"bugs": {
"url": "https://github.com/LeonChan911/react-leoh-ming/issues"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.7.7",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@types/jest": "^24.0.25",
"@types/styled-components": "4.1.8",
"@types/testing-library__react": "^9.1.2",
"@types/vfile-message": "^2.0.0",
"@umijs/fabric": "^1.2.12",
"chalk": "^3.0.0",
"commitizen": "^4.0.3",
"cpr": "^3.0.1",
"cz-conventional-changelog": "^3.0.2",
"doctoc": "^1.4.0",
"docz": "^2.3.2-alpha.0",
"gatsby-plugin-import": "^2.1.5",
"gatsby-plugin-less": "^3.0.17",
"gatsby-plugin-styled-components": "^3.3.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.1",
"gulp-babel": "^8.0.0",
"gulp-cssnano": "^2.1.3",
"gulp-less": "^4.0.1",
"husky": "^3.1.0",
"identity-obj-proxy": "^3.0.0",
"inquirer": "^7.0.4",
"jest": "^24.9.0",
"less": "^3.10.3",
"lint-staged": "^9.5.0",
"now": "^19.0.1",
"plop": "^2.6.0",
"prettier": "^1.19.1",
"prismjs": "^1.17.1",
"raw-loader": "^4.0.0",
"react": "^16.12.0",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.12.0",
"react-feather": "^2.0.8",
"react-simple-code-editor": "^0.10.0",
"react-tooltip": "^4.2.5",
"react-use": "^13.12.2",
"rimraf": "^3.0.0",
"semver": "^7.3.2",
"snapshot-diff": "^0.6.1",
"styled-components": "^5.1.0",
"through2": "^3.0.1",
"ts-jest": "^24.2.0",
"ts-node": "^8.10.1",
"typescript": "3.7.3"
},
"lint-staged": {
"components/**/*.ts?(x)": [
"prettier --write",
"eslint --fix",
"jest --bail --findRelatedTests",
"git add"
],
"components/**/*.less": ["stylelint --syntax less --fix", "git add"]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"@babel/runtime": "^7.7.7",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
}
}