forked from n8tb1t/use-scroll-position
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.41 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
{
"name": "@n8tb1t/use-scroll-position",
"version": "1.0.43",
"author": "n8tb1t <[email protected]>",
"license": "MIT",
"description": "Use scroll position ReactJS hook done right",
"keywords": [
"react",
"hooks",
"react-hooks",
"scroll",
"scroll-position",
"use-scroll-position",
"useScrollPosition"
],
"homepage": "https://github.com/n8tb1t/use-scroll-position#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/n8tb1t/use-scroll-position.git"
},
"bugs": {
"url": "https://github.com/n8tb1t/use-scroll-position/issues"
},
"publishConfig": {
"access": "public"
},
"main": "lib/index.js",
"types": "src/index.d.ts",
"scripts": {
"prepare": "cross-env NODE_ENV=production npm run build",
"build": "babel src --out-dir lib --ignore **/__tests__",
"watch": "babel -w src --out-dir lib --ignore **/__tests__",
"release": "yarn version --patch",
"preversion": "changelog -p && git add CHANGELOG.md",
"postversion": "cross-var yarn publish --new-version $npm_package_version",
"postpublish": "git push && git push --tags"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"cross-env": "^6.0.3",
"cross-var": "^1.1.0",
"generate-changelog": "^1.8.0"
},
"peerDependencies": {
"react": "^16.8.6"
}
}