-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
100 lines (100 loc) · 2.64 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
{
"name": "@channelwill/hooks",
"version": "0.3.1",
"readme": "README.md",
"description": "Lightweight, multi-application based React hooks library",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"sideEffects": false,
"files": [
"lib/",
"esm/"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "yarn storybook",
"prebuild": "rimraf lib esm",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir esm",
"build": "yarn build:cjs && yarn build:es",
"publish": "yarn build && npm publish",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint \"{packages,tests,stories}/**/*.{ts,tsx}\"",
"lint:fix": "yarn lint --fix",
"clean": "rimraf lib storybook-static esm",
"storybook": "storybook dev -p 6006",
"storybook:upload": "gh-pages -d storybook-static --git \"$(which git)\"",
"storybook:clean": "rimraf storybook-static",
"build-storybook": "storybook build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn clean && yarn build && yarn test"
}
},
"lint-staged": {
"packages/**/**/*.{ts,tsx}": [
"eslint --fix",
"git add"
]
},
"dependencies": {
"@types/crypto-js": "^4.2.2",
"crypto-js": "^4.2.0",
"tslib": "^2.1.0"
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.6.1",
"@shopify/polaris": "^13.6.1",
"@storybook/addon-essentials": "^8.2.8",
"@storybook/addon-interactions": "^8.2.8",
"@storybook/addon-links": "^8.2.8",
"@storybook/addon-onboarding": "^8.2.8",
"@storybook/blocks": "^8.2.8",
"@storybook/react": "^8.2.8",
"@storybook/react-vite": "^8.2.8",
"@storybook/test": "^8.2.8",
"@types/jest": "27.5.2",
"@types/react": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.6.0",
"@typescript-eslint/parser": "5.6.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19",
"gh-pages": "3.2.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"postcss": "^8.4.39",
"react": "18.0.0",
"react-dom": "18.0.0",
"rimraf": "^6.0.1",
"storybook": "^8.2.1",
"tailwindcss": "^3.4.4",
"ts-easing": "^0.2.0",
"typescript": "^5.5.3"
},
"keywords": [
"react",
"hook",
"hooks",
"form",
"forms",
"validation",
"currency"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Baoing/hooks"
},
"homepage": "https://hooks.baoea.com",
"author": "Baoea",
"license": "ISC"
}