-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 3.36 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
{
"name": "react-use-control",
"version": "1.1.1",
"description": "react-use-control",
"main": "dist/development.js",
"module": "dist/development.js",
"unpkg": "dist/umd/development.js",
"jsdelivr": "dist/umd/development.js",
"exports": {
"development": "./dist/development.js",
"production": "./dist/production.js",
"default": "./dist/development.js"
},
"types": "index.d.ts",
"files": [
"dist",
"index.d.ts"
],
"sideEffects": false,
"scripts": {
"storybook": "storybook dev -p 6006",
"storybook:publish": "npm run storybook:build && npm run storybook:upload && npm run storybook:clean",
"storybook:build": "storybook build",
"storybook:upload": "gh-pages -d storybook-static --git \"$(which git)\"",
"storybook:clean": "rimraf storybook-static",
"commit": "lint-staged && git-cz -n",
"build": "rollup -c",
"prepublishOnly": "rimraf dist && npm run build",
"postpublish": "npm run storybook:publish",
"postversion": "npm publish && git push --follow-tags",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint --fix src test *.js",
"test": "cross-env NODE_ENV=test nyc mocha",
"start": "npm test -- --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wmzy/react-use-control.git"
},
"keywords": [
"react",
"control",
"hooks"
],
"author": "wmzy",
"license": "MIT",
"bugs": {
"url": "https://github.com/wmzy/react-use-control/issues"
},
"homepage": "https://github.com/wmzy/react-use-control",
"engines": {
"node": ">=8.3.0"
},
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/eslint-parser": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/register": "^7.22.5",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@storybook/addon-essentials": "^7.2.0",
"@storybook/addon-storysource": "^7.2.0",
"@storybook/blocks": "^7.2.0",
"@storybook/react": "^7.2.0",
"@storybook/react-vite": "^7.2.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/react": "^18.2.32",
"babel-loader": "^9.1.3",
"commitizen": "^4.3.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.46.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-builtin-compat": "0.0.2",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^5.0.0",
"gh-pages": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"read-pkg": "^8.0.0",
"rimraf": "^5.0.1",
"rollup": "^3.27.0",
"should": "^13.2.3",
"should-sinon": "0.0.6",
"sinon": "^15.2.0",
"storybook": "^7.2.0"
},
"lint-staged": {
"*.js": [
"cross-env NODE_ENV=production eslint --fix",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
}
}