-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy pathpackage.json
128 lines (128 loc) · 3.57 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": "@zzzzw/happy-ui",
"version": "1.2.0",
"description": "A React UI Library.",
"keywords": [],
"homepage": "https://github.com/worldzhao/react-ui-library-tutorial#readme",
"bugs": {
"url": "https://github.com/worldzhao/react-ui-library-tutorial/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/worldzhao/react-ui-library-tutorial.git"
},
"license": "ISC",
"main": "lib/index.js",
"module": "esm/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib",
"esm"
],
"scripts": {
"build": "npm run clean && npm run build:types && gulp",
"build:site": "dumi build",
"build:types": "tsc -p tsconfig.build.json && cpr lib esm",
"clean": "rimraf lib esm dist .dumi doc-site",
"commit": "cz",
"deploy:site": "npm run build:site && gh-pages -d doc-site",
"dev": "npm start",
"preinstall": "npx only-allow pnpm",
"new": "plop --plopfile ./scripts/plopfile.ts",
"postnew": "prettier --write src/**/*{ts,tsx} --loglevel silent",
"prepare": "husky install && dumi setup",
"prepublishOnly": "npm run build",
"preview": "cross-env PREVIEW=1 npm run build:site && cross-env PREVIEW=1 dumi preview",
"release": "np --no-cleanup --no-tests --any-branch",
"start": "dumi dev",
"test": "jest",
"test:coverage": "jest --coverage",
"test:update": "jest --updateSnapshot",
"test:watch": "jest --watch"
},
"lint-staged": {
"*.ts?(x)": [
"prettier --write",
"eslint --fix",
"jest --bail --findRelatedTests"
],
"*.less": [
"stylelint --syntax less --fix"
],
"*.{md,html,json}": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"@babel/runtime": "^7"
},
"devDependencies": {
"@babel/core": "^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": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
"@types/jest": "^27.4.1",
"@types/node": "^16.11.26",
"@types/react": "^16.8.0",
"@types/react-dom": "^16.8.0",
"@umijs/fabric": "^3",
"babel-plugin-import": "^1.13.3",
"commitizen": "^4.2.5",
"core-js": "^3.26.1",
"cpr": "^3.0.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"doctoc": "^1.4.0",
"dumi": "^2.2.4",
"eslint": "^7",
"gh-pages": "^3.2.3",
"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": "^8",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"less": "^3.10.3",
"lint-staged": "^13",
"np": "^7.5.0",
"plop": "^2",
"pnpm": "^8.6.5",
"prettier": "^2.8.0",
"prettier-plugin-packagejson": "^2.3.0",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"rimraf": "^3.0.0",
"snapshot-diff": "^0.6.1",
"through2": "^3.0.1",
"ts-jest": "^24.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"authors": {
"name": "worldzhao",
"email": "[email protected]"
}
}