-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
120 lines (120 loc) · 3.03 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "react-scroll-to",
"version": "3.0.0-beta.7",
"description": "Scroll to a position using react",
"main": "dist/react-scroll-to.cjs.js",
"module": "dist/react-scroll-to.esm.js",
"browser": "dist/react-scroll-to.umd.js",
"types": "dist",
"scripts": {
"test": "jest",
"test:cover": "jest --coverage",
"build": "rollup -c config/rollup.config.js",
"build:prod": "rollup -c config/rollup.config.js --environment PRODUCTION",
"prepublishOnly": "npm run build:prod",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"clean": "rm pnpm-lock.yaml && rm -rf node_modules dist"
},
"peerDepedencies": {
"react": ">= 16.0.0",
"react-dom": ">= 16.0.0"
},
"devDependencies": {
"@babel/core": "7.5.5",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-transform-runtime": "7.10.1",
"@babel/preset-env": "7.5.5",
"@babel/preset-react": "7.0.0",
"@rollup/plugin-babel": "5.0.2",
"@rollup/plugin-commonjs": "12.0.0",
"@rollup/plugin-node-resolve": "8.0.0",
"@testing-library/react": "10.0.5",
"@types/jest": "24.0.13",
"@types/node": "12.0.4",
"@types/react": "16.8.19",
"@types/react-dom": "16.8.4",
"all-contributors-cli": "6.8.1",
"eslint": "6.0.1",
"eslint-config-airbnb": "17.1.1",
"eslint-config-prettier": "6.0.0",
"eslint-plugin-import": "2.18.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.14.2",
"husky": "3.0.1",
"jest": "24.8.0",
"lint-staged": "9.2.0",
"prettier": "1.18.2",
"react": "16.8.6",
"react-dom": "16.8.6",
"rollup": "2.12.0",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-typescript2": "0.27.1",
"ts-jest": "24.0.2",
"tslib": "2.0.0",
"typescript": "3.9.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ganderzz/react-scroll-to.git"
},
"keywords": [
"react",
"scroll",
"to",
"window",
"position"
],
"author": "Dylan Paulus",
"license": "MIT",
"bugs": {
"url": "https://github.com/ganderzz/react-scroll-to/issues"
},
"homepage": "https://github.com/ganderzz/react-scroll-to#readme",
"jest": {
"setupFiles": [
"./src/tests/setup/shim.js"
],
"globals": {
"ts-jest": {
"tsConfig": "./tsconfig.json"
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"transform": {
".+\\.jsx?$": "babel-jest",
".+\\.tsx?$": "ts-jest"
},
"collectCoverageFrom": [
"src/*.{js,jsx,ts,tsx}",
"!src/definitions",
"!src/tests",
"!src/{setupTests,shim}.js",
"!src/index.{js,jsx,ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"lint-staged": {
"src/*.{js,jsx,ts,tsx}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}