-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 1.94 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
{
"name": "@getaround-eu/use-route-params",
"version": "1.0.5",
"description": "A hook to get typed params from route",
"main": "index.js",
"module": "index.mjs",
"types": "types/index.d.ts",
"author": "CPatchane <[email protected]>",
"license": "MIT",
"peerDependencies": {
"react-router-dom": "^6.3.0"
},
"scripts": {
"test": "vitest run --globals test.tsx",
"prebuild": "rm -rf dist/",
"build:cjs": "esbuild ./lib/index.ts --bundle --outdir=dist --external:react-router-dom --format=cjs",
"build:mjs": "esbuild ./lib/index.ts --bundle --outdir=dist --external:react-router-dom --format=esm --out-extension:.js=.mjs",
"build": "yarn build:cjs && yarn build:mjs && cp -rf ./package.json dist && cp -rf ./LICENSE dist && cp -rf ./README.md dist",
"postbuild": "tsc --project tsconfig-build.json",
"lint": "eslint ./lib && tsc --noEmit",
"build:publish": "yarn build && np --contents dist"
},
"devDependencies": {
"@getaround-eu/eslint-config": "1.7.1",
"@getaround-eu/prettier-config": "1.2.0",
"@getaround-eu/ts-config": "2.1.0",
"@rushstack/eslint-patch": "1.1.4",
"@testing-library/react": "13.3.0",
"@types/node": "18.0.3",
"@types/react": "18.0.15",
"conditional-type-checks": "1.0.6",
"esbuild": "0.14.49",
"eslint": "8.19.0",
"jsdom": "20.0.0",
"np": "7.6.2",
"prettier": "2.7.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "6.3.0",
"typescript": "4.7.4",
"vitest": "0.18.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/drivy/use-route-params.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"files": [
"types/**/*",
"index.js",
"LICENSE"
],
"keywords": [
"react-router",
"react-router-dom",
"react",
"router",
"typescript",
"params",
"url",
"hook",
"typed",
"use-params"
]
}