-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
68 lines (68 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
{
"version": "0.4.4",
"description": "A component or hook to auto save controlled form values as they are updated",
"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": {
"@testing-library/dom": "^9.3.3",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.5",
"@types/node": "^20.8.3",
"@types/react": "^18.2.25",
"@types/react-dom": "^18.2.11",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.51.0",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jsdom": "^22.1.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2",
"vite": "^4.4.11",
"vite-plugin-dts": "^3.6.0",
"vitest": "^0.34.6"
},
"peerDependencies": {
"react": "^17.x.x || ^18.x.x",
"react-dom": "^17.x.x || ^18.x.x"
}
}