-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.99 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 2.99 KB
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
{
"name": "@app-studio/react-hook",
"repository": "git@github.com:rize-network/react-hook.git",
"author": "Steedmonteiro <steed@rize.network>",
"version": "0.0.6",
"license": "MIT",
"description": "React Hook",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/react-hook.esm.js",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"bugs": "https://github.com/rize-network/react-hook/issues",
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"lint-staged": "lint-staged",
"lint-staged:eslint": "eslint --ext .js,.jsx,.ts,.tsx ",
"eslint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=codeframe ./src",
"eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=codeframe ./src",
"prettier:fix": "prettier --write ./src",
"prettier": "prettier --check ./src",
"prepare": "husky install",
"size": "size-limit",
"analyze": "size-limit --why",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"upgrade": "ncu -u"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"size-limit": [
{
"path": "dist/react-hook.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/react-hook.esm.js",
"limit": "10 KB"
}
],
"dependencies": {
"enquire-js": "^0.2.1"
},
"devDependencies": {
"@babel/core": "^7.16.10",
"@commitlint/cli": "^16.0.3",
"@commitlint/config-conventional": "^16.0.0",
"@size-limit/preset-small-lib": "^7.0.5",
"@storybook/addon-essentials": "^6.4.13",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.4.13",
"@storybook/addons": "^6.4.13",
"@storybook/react": "^6.4.13",
"@types/lodash": "^4.14.178",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"babel-loader": "^8.2.3",
"chalk": "^5.0.0",
"commitlint": "^16.0.1",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^25.3.4",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.2.1",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"size-limit": "^7.0.5",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.5.4"
},
"lint-staged": {
"./src/**/*.{md,json}": [
"prettier --write"
],
"./src/**/*.{tsx,ts,js}": [
"eslint --cache --fix",
"prettier --write"
]
}
}