Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.66 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 2.66 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
{
"name": "@alfonsobries/react-use-form",
"version": "0.4.0",
"description": "React hook for handling Laravel form requests and validation (for React & React Native)",
"keywords": [
"react",
"react-native",
"form",
"validation",
"laravel"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js"
}
},
"author": "Alfonso Bribiesca <alfonso@vexilo.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/alfonsobries/react-use-form"
},
"license": "MIT",
"private": false,
"files": [
"dist/**/*",
"src/**/*"
],
"sideEffects": false,
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage",
"lint:fix": "eslint ./src --ext .jsx,.js,.ts,.tsx --quiet --fix --ignore-path ./.gitignore",
"lint:format": "prettier --loglevel warn --write \"./**/*.{js,jsx,ts,tsx,css,md,json}\" --ignore-path ./.gitignore",
"lint": "npm run lint:format && npm run lint:fix ",
"release": "release-it"
},
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.1",
"@testing-library/dom": "^8.12.0",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^12.1.4",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^13.5.0",
"@types/node": "^17.0.23",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"@vitejs/plugin-react": "^1.3.0",
"@vitest/ui": "latest",
"axios-mock-adapter": "^1.20.0",
"c8": "^7.11.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jsdom": "^19.0.0",
"path": "^0.12.7",
"prettier": "^2.6.1",
"react-dom": "^16.9.0",
"react-test-renderer": "^16.9.0",
"release-it": "^17.6.0",
"rollup": "^2.70.1",
"tslib": "^2.3.1",
"typescript": "^4.6.3",
"vite": "^2.9.0",
"vitest": "^0.8.2"
},
"peerDependencies": {
"axios": "^0.26.1 || ^1.7.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0"
},
"release-it": {
"hooks": {
"before:init": [
"npm run coverage",
"npm run lint"
],
"after:bump": "npm run build"
}
}
}