-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.84 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
{
"name": "use-props",
"version": "1.2.0",
"description": "react useProps 方法,用于智能合并组件入参,方便组件开发",
"scripts": {
"prepare": "husky install",
"build": "vite build",
"lint:js": "eslint --ext=.cjs,.mjs,.ts,.tsx src test",
"lint:js:fix": "eslint --ext=.cjs,.mjs,.ts,.tsx src test --fix",
"lint:type": " tsc --project tsconfig.json",
"lint": "npm run lint:js && npm run lint:type",
"lint:fix": "npm run lint:js:fix && npm run lint:type",
"test": "vitest run",
"test:coverage": "vitest run --coverage"
},
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"CHANGELOG.md",
"dist"
],
"keywords": [
"cloudcome",
"ydr.me",
"react",
"props",
"hook",
"useProps"
],
"author": "云淡然 <[email protected]> (https://ydr.me)",
"maintainers": [],
"homepage": "https://github.com/FrontEndDev-org/use-props",
"repository": "https://github.com/FrontEndDev-org/use-props",
"license": "MIT",
"dependencies": {
"classnames": "^2.3.2"
},
"devDependencies": {
"@commitlint/cli": "^18.1.0",
"@commitlint/config-conventional": "^18.1.0",
"@commitlint/types": "^18.1.0",
"@types/lodash": "^4.14.200",
"@types/node": "^18.18.7",
"@types/prettier": "^3.0.0",
"@types/react": "^18.2.32",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-define-config": "^1.24.1",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-dts": "^3.6.1",
"vite-plugin-externalize-deps": "^0.7.0",
"vitest": "^0.34.6"
}
}