-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
68 lines (68 loc) · 2.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
{
"name": "react-modern-hooks",
"private": false,
"version": "1.0.12",
"description": "A react modern hooks library for customized and reusable hooks",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"author": "dbpkgs",
"license": "MIT",
"files": [
"lib/**/*"
],
"bugs": {
"url": "https://github.com/dbpkgs/react-modern-hooks/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/dbpkgs/react-modern-hooks"
},
"homepage": "https://rmh.vercel.app",
"engines": {
"node": ">=12"
},
"keywords": [
"react-modern-hooks",
"react-hooks",
"hooks",
"react",
"react-native"
],
"scripts": {
"build": "yarn lint && rimraf ./lib && tsc",
"check:type": "tsc --project tsconfig.json",
"check:format": "prettier --check '**/*.{js,json,md,ts,yaml,yml}' --ignore-path ./.prettierignore",
"coverage": "TZ=pst yarn test --silent --env=jsdom --coverage --watchAll=false --testTimeout=9000",
"start:example": "cd example/app && yarn start",
"format": "prettier --write '**/*.{js,json,md,ts,yaml,yml}'",
"prepare": "yarn build",
"prepublishOnly": "yarn check:type && yarn lint",
"postversion": "git push && git push --tags",
"lint": "eslint --quiet .",
"lint:fix": "eslint --quiet --fix .",
"test": "jest --config jestconfig.json",
"ts-coverage": "typescript-coverage-report --threshold=86",
"version": "yarn run format && git add -A src"
},
"devDependencies": {
"@types/node": "^17.0.31",
"@types/react": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"minimist": "^1.2.6",
"prettier": "^2.6.2",
"process": "^0.11.10",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"rimraf": "^3.0.2",
"ts-node": "^10.7.0",
"typescript": "^4.6.4"
},
"peerDependencies": {
"react": "16.8 - 18"
}
}