-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
98 lines (98 loc) · 2.54 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
{
"name": "@plq/use-persisted-state",
"version": "1.2.0",
"description": "useState hook with persistence in storage",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"engines": {
"node": ">=16.0.0"
},
"files": [
"/src",
"/lib",
"LICENSE"
],
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"build:types": "tsc --emitDeclarationOnly",
"test": "jest --verbose",
"test:watch": "npm test -- --watchAll",
"lint": "eslint ./src/**/*.ts",
"release": "dotenv release-it",
"examples": "npm run build:watch & parcel examples/index.html"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Akurganow/use-persisted-state.git"
},
"release-it": {
"hooks": {
"before:init": [
"npm run lint",
"npm test",
"npm run build"
],
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "conventionalcommits",
"infile": "CHANGELOG.md"
}
}
},
"keywords": [
"react",
"hook",
"storage",
"local-storage",
"session-storage",
"persistence",
"persist",
"sync"
],
"author": "Alex Kurganov <[email protected]>",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/Akurganow/use-persisted-state/issues"
},
"homepage": "https://github.com/Akurganow/use-persisted-state#readme",
"devDependencies": {
"@release-it/conventional-changelog": "^8.0.1",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@types/chrome": "0.0.253",
"@types/firefox-webext-browser": "^120.0.0",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.25",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"conventional-changelog-cli": "^4.1.0",
"dotenv-cli": "^7.3.0",
"eslint": "^8.51.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-localstorage-mock": "^2.4.6",
"jest-webextension-mock": "^3.7.6",
"parcel": "^2.9.3",
"process": "^0.11.10",
"react-test-renderer": "^18.2.0",
"release-it": "^17.0.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"@plq/is": "^1.2.0"
}
}