-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathpackage.json
59 lines (59 loc) · 1.68 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
{
"name": "@n8tb1t/use-scroll-position",
"version": "2.0.3",
"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": "lib/index.d.ts",
"scripts": {
"prepare": "cross-env NODE_ENV=production npm run build",
"build": "tsc",
"watch": "babel --extensions .tsx -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",
"@babel/preset-typescript": "^7.10.4",
"@types/react": "latest",
"cross-env": "^6.0.3",
"cross-var": "^1.1.0",
"eslint": "^7.3.1",
"eslint-config-airbnb-typescript-prettier": "^3.1.0",
"eslint-import-resolver-typescript": "^2.0.0",
"generate-changelog": "^1.8.0",
"prettier": "^2.0.0",
"tslib": "^2.0.1",
"typescript": "^3.8.3"
},
"peerDependencies": {
"@types/react": "*",
"react": "*"
}
}