-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.92 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 1.92 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
73
74
75
{
"name": "react-use-scroll-to-element-hook",
"version": "1.0.1",
"description": "React hook for scrolling to elements on the same page (Anchor Link)",
"author": "patricktran",
"license": "MIT",
"repository": "https://github.com/patricktran/react-use-scroll-to-element-hook",
"main": "dist/index.js",
"engines": {
"node": ">=10",
"npm": ">=5"
},
"scripts": {
"build": "rollup -c",
"start": "rollup -c -w",
"lint:eslint": "eslint --max-warnings 0 --ext .js,.jsx,.ts,.tsx src/",
"lint:prettier": "prettier --check \"*/**/*.{css,js,jsx,md,sass,ts,tsx}\"",
"lint": "npm run lint:eslint",
"test": "jest",
"test-all": "tsc && npm run lint && CI=true npm test"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
]
},
"dependencies": {
"use-deep-compare-effect": "^1.6.1"
},
"peerDependencies": {
"react": ">= 16.8.0",
"react-dom": ">= 16.8.0"
},
"devDependencies": {
"@typescript-eslint/parser": "^4.28.5",
"@testing-library/react-hooks": "^3.4.1",
"@types/jest": "^26.0.7",
"@types/react": "^16.3.13",
"@types/react-dom": "^16.0.5",
"babel-core": "^6.26.3",
"babel-runtime": "^6.26.0",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-config-prettier": "6.11.0",
"eslint": "^7.11.0",
"jest": "26.6.0",
"prettier": "1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.13.1",
"rollup": "^1.29.0",
"rollup-plugin-sass": "^1.2.2",
"rollup-plugin-typescript2": "^0.25.3",
"rollup-plugin-uglify": "^6.0.4",
"ts-jest": "^26.1.3",
"typescript": "^3.8.3"
},
"files": [
"dist"
],
"keywords": [
"react",
"react hooks",
"typescript",
"npm"
]
}