-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.01 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.01 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
62
63
64
65
66
67
68
69
70
71
72
{
"name": "react-hideandseekmenu",
"version": "2.1.1",
"description": "A simple hook to hide and show your site's menubar when scrolling.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/tlorent/react-hideandseekmenu"
},
"scripts": {
"build": "rollup -c",
"start": "rollup -c -w",
"prepare": "npm run build",
"prepublishOnly": "npm run typecheck",
"preversion": "npm run typecheck",
"version": "npm run typecheck && git add -A src",
"postversion": "git push && git push --tags",
"format": "prettier --write \"**/*.ts\"",
"typecheck": "tsc --project . --noEmit"
},
"keywords": [
"react",
"menubar",
"navigation",
"hide react navigation",
"scroll react navigation",
"hide react menubar",
"scroll react menubar"
],
"author": "tlorent",
"license": "MIT",
"dependencies": {
"@types/debounce": "^1.2.0",
"debounce": "^1.2.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"@types/react": "^17.0.0",
"babel-core": "^6.26.3",
"babel-runtime": "^6.26.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.5",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"react": "^17.0.1",
"rollup": "^2.34.2",
"rollup-plugin-typescript2": "^0.29.0",
"typescript": "^4.1.2"
},
"peerDependencies": {
"react": "^17.0.1"
},
"files": [
"dist"
],
"husky": {
"hooks": {
"pre-commit": "npm run typecheck && lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}