-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.08 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.08 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
{
"version": "0.5.0",
"description": "A lightweight solution for auto saving controlled form values",
"repository": "https://github.com/jollyjerr/react-autosave",
"author": "jollyjerr <jollyjerr@gmail.com>",
"license": "MIT",
"name": "react-autosave",
"type": "module",
"files": [
"dist"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/react-autosave.js"
}
}
},
"main": "./dist/react-autosave.js",
"module": "./dist/react-autosave.js",
"types": "./dist/index.d.ts",
"keywords": [
"react",
"autosave",
"form"
],
"scripts": {
"dev": "vite",
"build": "tsc --noEmit && vite build",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src/**",
"lint:fix": "pnpm run lint --fix",
"format": "prettier . --write",
"format:check": "prettier . --check",
"ci": "pnpm run lint && pnpm run format:check && CI=true pnpm run test:coverage && pnpm run build"
},
"devDependencies": {
"@eslint/js": "^9.22.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.10",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@typescript-eslint/eslint-plugin": "^8.26.0",
"@typescript-eslint/parser": "^8.26.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.8",
"eslint": "^9.22.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^16.0.0",
"jsdom": "^26.0.0",
"prettier": "^3.5.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.0",
"vite": "^6.2.1",
"vite-plugin-dts": "^4.5.3",
"vitest": "^3.0.8"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
}
}