-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.66 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.66 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
{
"name": "@sacercode/react-use-path",
"version": "1.1.2",
"type": "module",
"description": "React Path Hook",
"author": "Sacercode",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Sacercode/react-use-path.git"
},
"keywords": [
"react",
"use",
"path",
"hook"
],
"bugs": {
"url": "https://github.com/Sacercode/react-use-path/issues"
},
"homepage": "https://sacercode.github.io/react-use-path/",
"source": "src/index.js",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"test": "vitest",
"test:ui": "vitest --ui",
"coverage": "vitest run --coverage && coverage-badges --source coverage/coverage-summary.json --output coverage/badges.svg",
"build": "vite build",
"dev": "vite build --watch",
"prepare": "npm run build",
"predeploy": "npm run build && cd example && npm install && npm run build",
"deploy": "gh-pages -d example/dist",
"deploy:ci": "npm run predeploy && npm run deploy",
"publish": "npm publish --access public"
},
"peerDependencies": {
"react": ">=17.0.0"
},
"devDependencies": {
"@testing-library/react": "^16.0.1",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^2.1.9",
"coverage-badges-cli": "^2.1.0",
"eslint": "^9.31.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.0.0",
"gh-pages": "^6.3.0",
"jsdom": "^25.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-test-renderer": "^18.3.1",
"vite": "^6.0.3",
"vitest": "^2.1.8"
}
}