-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.73 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
{
"author": {
"name": "Rafael De León"
},
"bugs": {
"url": "https://github.com/rafde/react-hook-use-cta/issues"
},
"dependencies": {
"fast-equals": "^5.0.1"
},
"description": "A somewhat flexible react hook alternative to `React.useReducer`. Written in Typescript.",
"devDependencies": {
"@parcel/packager-ts": "2.12.0",
"@parcel/transformer-typescript-types": "2.12.0",
"@stylistic/eslint-plugin": "2.10.1",
"@swc/jest": "0.2.37",
"@testing-library/react": "16.0.1",
"@types/jest": "29.5.14",
"@types/node": "22.9.0",
"@types/react": "18.3.12",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"eslint": "8.57.1",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-testing-library": "6.4.0",
"fast-equals": "5.0.1",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "15.2.10",
"parcel": "2.12.0",
"react": "18.3.1",
"typescript": "5.6.3"
},
"exports": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js",
"types": "./dist/types.d.ts"
},
"files": [
"dist",
"src"
],
"isLibrary": true,
"keywords": [
"hooks",
"hook",
"management",
"manager",
"react",
"reducer",
"state",
"store",
"typescript"
],
"license": "MIT",
"lint-staged": {
"*.ts(x)": [
"npm run lint"
]
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"name": "react-hook-use-cta",
"peerDependencies": {
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/rafde/react-hook-use-cta.git"
},
"scripts": {
"build": "parcel build --log-level verbose --no-cache",
"lint": "eslint --cache --fix src/ __tests__/",
"postversion": "git push && git push --follow-tags",
"prepare": "husky",
"preversion": "npm test",
"test": "jest",
"test:coverage": "jest --coverage",
"tsc": "tsc",
"version": "npm run build && git add -A dist",
"version:major": "npm version major",
"version:minor": "npm version minor",
"version:patch": "npm version patch",
"version:premajor": "npm version premajor --preid=pre",
"version:preminor": "npm version preminor --preid=pre",
"version:prepatch": "npm version prepatch --preid=pre",
"version:prerelease": "npm version prerelease --preid=pre"
},
"sideEffects": false,
"source": "src/index.ts",
"types": "dist/types.d.ts",
"version": "2.0.0"
}