-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
141 lines (141 loc) · 4.33 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "use-inertia-form",
"version": "4.3.3",
"description": "Extra functionality for Inertia.js useForm hook",
"main": "dist/useInertiaForm.js",
"cjs": "dist/useInertiaForm.cjs",
"unpkg": "dist/useInertiaForm.umd.min.js",
"types": "dist/index.d.ts",
"homepage": "https://github.com/aviemet/useInertiaForm#readme",
"sideEffects": false,
"files": [
"dist"
],
"keywords": [
"react",
"hooks",
"react-hooks",
"inertiajs",
"useForm",
"useInertiaForm"
],
"repository": {
"type": "git",
"url": "https://github.com/aviemet/useInertiaForm.git"
},
"author": "Avram Walden <[email protected]>",
"license": "MIT",
"packageManager": "[email protected]",
"bugs": {
"url": "https://github.com/aviemet/useInertiaForm/issues"
},
"scripts": {
"build": "yarn clean && rollup -c --bundleConfigAsCjs",
"build:watch": "yarn clean && rollup --watch -c --bundleConfigAsCjs",
"clean": "rimraf dist",
"lint": "eslint '**/*.{js,ts}'",
"lint:fix": "npm run lint -- --fix",
"lint:types": "tsc --noEmit",
"lint:all": "yarn lint && yarn lint:types",
"test": "jest --silent=false",
"test:watch": "jest --watch --silent=false",
"test:coverage": "jest --coverage",
"release": "semantic-release",
"cz": "git-cz"
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/compat": "^1.2.3",
"@inertiajs/react": "^1.2.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@stylistic/eslint-plugin": "^2.11.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.13",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"axios": "^1.7.8",
"axios-mock-adapter": "^2.1.0",
"circular-json": "^0.5.9",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.15.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-better-styled-components": "^1.1.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsonc": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-testing-library": "^7.0.0",
"git-cz": "^4.9.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fixed-jsdom": "^0.0.9",
"jest-mock-axios": "^4.8.0",
"lint-staged": "^15.2.10",
"lodash": "^4.17.21",
"msw": "^2.6.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-test-renderer": "^18.3.1",
"rimraf": "^6.0.1",
"rollup": "^4.27.4",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-ts": "^3.4.5",
"rollup-plugin-typescript2": "^0.36.0",
"semantic-release": "^24.2.0",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
},
"peerDependencies": {
"@inertiajs/react": "^1.0.0",
"axios": "^1.7.8",
"lodash": "^2.0.0 || ^3.0.0 || ^4.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run lint:types && lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"npm run lint:fix"
],
"*.{md,json,yml}": [
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}