forked from pbeshai/use-query-params
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 2.73 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
{
"name": "use-query-params",
"version": "1.1.8",
"description": "React Hook for managing state in URL query parameters with easy serialization.",
"main": "lib/index.js",
"module": "esm/index.js",
"files": [
"lib/",
"esm/"
],
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"scripts": {
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir esm",
"build": "npm run build:cjs && npm run build:es",
"build-website": "npm run test && npm run build && cd examples/website-example && npm run build && npm run copy-build",
"clean": "rimraf lib esm",
"dev": "cross-env NODE_ENV=development tsc -m esNext --outDir esm -w",
"prepublishOnly": "npm run test && npm run clean && npm run build",
"lint": "eslint --ext js,ts,tsx src",
"prettier": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
"test": "jest",
"test-watch": "jest --watch",
"test-coverage": "jest --coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/pbeshai/use-query-params.git"
},
"keywords": [
"react",
"url",
"query",
"parameters",
"hook",
"hooks",
"query param",
"react use"
],
"author": "Peter Beshai <[email protected]>",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/react": "^9.1.4",
"@testing-library/react-hooks": "^3.2.1",
"@types/history": "^4.7.5",
"@types/jest": "^24.0.11",
"@types/react": "^16.8.25",
"@types/react-router": "^5.1.7",
"@types/react-router-dom": "^5.1.5",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.2.0",
"babel-jest": "^25.3.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.1.2",
"history": "^4.10.1",
"husky": "^3.0.5",
"jest": "^25.3.0",
"lint-staged": "^9.2.5",
"prettier": "^2.0.4",
"query-string": "^6.12.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-test-renderer": "^16.9.0",
"rimraf": "^3.0.2",
"typescript": "^3.8.3"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"serialize-query-params": "^1.2.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/*.{js,jsx,ts,tsx,md}": [
"prettier --write",
"git add"
],
"src/*.{js,ts,tsx}": [
"eslint --fix",
"git add"
]
}
}