-
Notifications
You must be signed in to change notification settings - Fork 95
/
package.json
59 lines (59 loc) · 1.49 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
{
"name": "use-query-params-adapter-reach",
"private": true,
"version": "0.0.1",
"description": "Reach router adapter for use-query-params.",
"main": "./dist/index.cjs.js",
"typings": "./dist/index.d.ts",
"module": "./dist/index.js",
"files": [
"dist",
"src"
],
"scripts": {
"build": "package-bundler --copyPackageJson --rewritePackageJson --tsconfigPath ./tsconfig.build.json --sourcemap false",
"clean": "rimraf dist",
"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": "vitest",
"test-watch": "vitest watch",
"test-coverage": "vitest run --coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/pbeshai/use-query-params.git"
},
"author": "Peter Beshai <peter.beshai@gmail.com>",
"license": "ISC",
"devDependencies": {
"@reach/router": "^1.2.1",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"@reach/router": "^1.2.1"
},
"dependencies": {
"use-query-params": "file:../use-query-params"
},
"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"
]
}
}