-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 3.35 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 3.35 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
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
{
"name": "use-stored-state",
"author": "Maxim Srour",
"version": "2.0.0",
"description": "A handy React hook for synchronizing state with localStorage, sessionStorage, and query parameters.",
"keywords": [
"react",
"hook",
"state",
"useState",
"useStoredState"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/MaximSrour/useStoredState.git"
},
"bugs": {
"url": "https://github.com/MaximSrour/useStoredState/issues"
},
"homepage": "https://github.com/MaximSrour/useStoredState#readme",
"type": "commonjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"clean": "rm -rf dist",
"pack": "npm run clean && npm run build && npm pack",
"release": "semantic-release",
"knip": "knip",
"knip:loose": "KNIP_MODE=loose knip",
"knip:fix": "knip --fix",
"lint": "eslint src",
"lint:loose": "ESLINT_MODE=loose eslint src",
"lint:fix": "eslint --fix src",
"markdownlint": "markdownlint-cli2 \"**/*.md\" \"!CHANGELOG.md\" \"!dist\" \"!node_modules\" \"!.stryker-tmp\"",
"markdownlint:fix": "markdownlint-cli2 --fix \"**/*.md\" \"!CHANGELOG.md\" \"!dist\" \"!node_modules\" \"!.stryker-tmp\"",
"mutate": "stryker run",
"prettier": "prettier --check 'src/**/*.{js,ts,mjs,cjs,json}' '*.{js,ts,mjs,cjs,json}'",
"prettier:fix": "prettier --write 'src/**/*.{js,ts,mjs,cjs,json}' '*.{js,ts,mjs,cjs,json}'",
"prettier:watch": "chokidar \"src/**/*.{js,ts,mjs,cjs,json}\" \"*.{js,ts,mjs,cjs,json}\" -c \"npm run --silent prettier:fix\"",
"spelling": "cspell --no-progress 'src/**/*.{js,ts,mjs,cjs,json}' '*.{js,ts,mjs,cjs,json}'",
"test": "vitest run",
"test:no-coverage": "vitest run --coverage.enabled=false",
"test:coverage": "vitest run --coverage",
"type-check": "tsc --noEmit",
"check": "is-it-ready",
"check:fix": "is-it-ready --fix",
"check:watch": "is-it-ready --watch"
},
"peerDependencies": {
"react": ">=18.0.0"
},
"devDependencies": {
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "7.1.0",
"@semantic-release/git": "10.0.1",
"@stryker-mutator/core": "9.6.1",
"@stryker-mutator/vitest-runner": "9.6.1",
"@testing-library/react": "16.3.2",
"@trivago/prettier-plugin-sort-imports": "6.0.2",
"@types/node": "24.12.2",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@typescript-eslint/eslint-plugin": "8.58.2",
"@typescript-eslint/parser": "8.58.2",
"@vitest/coverage-v8": "4.1.4",
"chokidar-cli": "3.0.0",
"cspell": "9.8.0",
"eslint": "9.39.4",
"eslint-import-resolver-typescript": "4.4.4",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsdoc": "61.7.1",
"eslint-plugin-unused-imports": "4.4.1",
"is-it-ready": "1.10.2",
"jsdom": "26.1.0",
"knip": "5.88.1",
"markdownlint-cli2": "0.22.0",
"prettier": "3.8.3",
"react": "19.2.5",
"react-dom": "19.2.5",
"semantic-release": "25.0.3",
"typescript": "5.9.3",
"typescript-eslint": "8.58.2",
"vitest": "4.1.4"
},
"eslintConfig": {
"parserOptions": {
"project": "./tsconfig.eslint.json"
}
}
}