-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
73 lines (73 loc) · 1.9 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
{
"name": "@swan-io/use-form",
"version": "3.1.0",
"license": "MIT",
"description": "A simple, fast and opinionated form library for React & React Native focusing on UX.",
"author": "Mathieu Acthernoene <[email protected]>",
"contributors": [
"Frederic Godin <[email protected]>"
],
"homepage": "https://github.com/swan-io/use-form#readme",
"repository": {
"type": "git",
"url": "https://github.com/swan-io/use-form.git"
},
"sideEffects": false,
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"keywords": [
"form",
"hook",
"react",
"typescript",
"ux",
"validation"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"format": "prettier '**/*' --ignore-unknown --write",
"lint": "eslint --ext ts,tsx __tests__ src",
"test": "vitest --run",
"test:watch": "vitest --watch",
"typecheck": "tsc --noEmit",
"build": "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
"prepack": "yarn typecheck && yarn lint && yarn test && yarn build"
},
"prettier": {
"printWidth": 100,
"plugins": [
"prettier-plugin-organize-imports"
]
},
"peerDependencies": {
"react": ">=18.0.0"
},
"dependencies": {
"@swan-io/boxed": "^3.0.0"
},
"devDependencies": {
"@testing-library/react": "^14.2.2",
"@types/node": "^20.12.4",
"@types/react": "^18.2.74",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"jsdom": "^24.0.0",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tsup": "^8.0.2",
"typescript": "^5.4.3",
"vitest": "^1.4.0"
}
}