-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.28 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
{
"name": "use-scrollspy",
"version": "1.0.0",
"author": "@olivercederborg",
"homepage": "https://github.com/olivercederborg/use-scrollspy#README",
"description": "A configurable React hook that lets you associate links with sections of a page easily.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/olivercederborg/use-scrollspy.git"
},
"bugs": {
"url": "https://github.com/olivercederborg/use-scrollspy/issues"
},
"keywords": [
"scrollspy",
"react",
"hook",
"scroll",
"anchor",
"link",
"navigation"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"prepare": "husky install",
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"watch": "npm run build -- --watch src",
"clean": "rimraf dist",
"typecheck": "tsc --pretty --noEmit",
"prettier": "prettier --write",
"semantic-release": "semantic-release"
},
"dependencies": {
"lodash": "^4.17.21"
},
"peerDependencies": {
"react": ">=16.8.6"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.4",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@types/lodash": "4.14.181",
"@types/react": "18.0.5",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"eslint": "8.13.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "4.4.0",
"husky": "^8.0.0",
"lint-staged": "12.3.8",
"prettier": "2.6.2",
"rimraf": "3.0.2",
"semantic-release": "^19.0.3",
"tsup": "^6.2.1",
"typescript": "4.6.3"
},
"lint-staged": {
"src/*.{ts,tsx}": [
"prettier --write"
]
},
"release": {
"branches": [
"main"
]
}
}