generated from arvinxx/npm-template
/
package.json
144 lines (144 loc) · 4.02 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
139
140
141
142
143
144
{
"name": "easy-antd-modal",
"version": "1.6.1",
"description": "二次开发, 简化 Ant Design Modal 的使用方式",
"keywords": [
"antd",
"Ant Design",
"Modal",
"React",
"drag"
],
"homepage": "https://github.com/Wxh16144/easy-antd-modal#readme",
"bugs": {
"url": "https://github.com/Wxh16144/easy-antd-modal/issues/new"
},
"repository": {
"type": "git",
"url": "https://github.com/Wxh16144/easy-antd-modal.git"
},
"license": "MIT",
"author": "Wxh16144(wxh1220@gmail.com)",
"sideEffects": false,
"exports": {
".": {
"types": "./es/index.d.ts",
"import": "./es/index.js",
"require": "./lib/index.js"
},
"./es/*": "./es/*",
"./lib/*": "./lib/*",
"./dist/*": "./dist/*",
"./mobile": {
"types": "./es/mobile/index.d.ts",
"import": "./es/mobile/index.js",
"require": "./lib/mobile/index.js"
},
"./drag-modal": {
"types": "./es/drag-modal/index.d.ts",
"import": "./es/drag-modal/index.js",
"require": "./lib/drag-modal/index.js"
},
"./hooks": {
"types": "./es/hooks/index.d.ts",
"import": "./es/hooks/index.js",
"require": "./lib/hooks/index.js"
},
"./util": {
"types": "./es/util/index.d.ts",
"import": "./es/util/index.js",
"require": "./lib/util/index.js"
}
},
"main": "lib/index.js",
"unpkg": "dist/easy-antd-modal.min.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"files": [
"dist",
"lib",
"es"
],
"scripts": {
"build": "father build",
"build:watch": "father dev",
"ci": "npm run lint && npm run type-check && npm run doctor && npm run build",
"clean": "rm -rf es lib dist coverage .dumi/tmp .eslintcache .doc",
"dev": "dumi dev",
"docs:build": "dumi build",
"doctor": "father doctor",
"lint": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"prepare": "husky install && npm run setup",
"prepublishOnly": "npm run doctor && npm run build",
"prettier": "prettier -c --write \"**/**\"",
"release": "semantic-release",
"setup": "dumi setup && npm run setup:link",
"setup:link": "[ -f examples/with-antd4/src/App.tsx ] || ln -s ../../with-antd5/src/App.tsx examples/with-antd4/src/App.tsx",
"start": "dumi dev",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests",
"test:update": "vitest -u",
"type-check": "tsc -p tsconfig-check.json"
},
"lint-staged": {
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"devDependencies": {
"@commitlint/cli": "^17",
"@commitlint/config-conventional": "^17",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@testing-library/jest-dom": "^5",
"@testing-library/react": "^14",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/testing-library__jest-dom": "^5",
"@umijs/lint": "^4",
"@vitest/coverage-v8": "latest",
"antd4": "npm:antd@4",
"commitlint": "^17",
"concurrently": "^7",
"cross-env": "^7",
"dumi": "^2.2.17",
"dumi-theme-antd-style": "latest",
"eslint": "^8",
"fast-glob": "^3.3.1",
"father": "^4",
"husky": "^8",
"jsdom": "^22",
"lint-staged": "^13",
"prettier": "^2",
"prettier-plugin-organize-imports": "^3",
"prettier-plugin-packagejson": "^2",
"react": "^18",
"react-dom": "^18",
"semantic-release": "^21",
"stylelint": "^15",
"typescript": "^5",
"vitest": "latest"
},
"peerDependencies": {
"@dnd-kit/core": "^6",
"@dnd-kit/modifiers": "^6",
"@dnd-kit/utilities": "^3",
"antd": ">=4.23.0 || >=5.0.0",
"antd-mobile": "^5",
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"packageManager": "pnpm@8.6.2",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}