This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
76 lines (76 loc) · 1.76 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
{
"name": "@mapbox/scroll-restorer",
"version": "1.1.0",
"description": "Preserve scroll state while navigating client-side routes",
"main": "index.js",
"scripts": {
"precommit": "lint-staged",
"format": "prettier --single-quote --write '{,test/**/}*.js'",
"lint": "eslint .",
"start-example-app": "webpack-dev-server --config ./example/webpack.config.js",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mapbox/scroll-restorer.git"
},
"keywords": [
"scroll-restoration",
"scroll",
"restore",
"routing",
"router"
],
"author": "Mapbox",
"license": "MIT",
"bugs": {
"url": "https://github.com/mapbox/scroll-restorer/issues"
},
"homepage": "https://github.com/mapbox/scroll-restorer#readme",
"devDependencies": {
"@babel/core": "^7",
"@babel/eslint-parser": "^7",
"babel-loader": "^9",
"@babel/preset-env": "^7",
"@babel/preset-react": "^7",
"@babel/plugin-proposal-function-bind": "^7",
"eslint": "^8",
"eslint-plugin-react": "^7.1.0",
"husky": "^8",
"jest": "^29",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15",
"prettier": "^3",
"prop-types": "^15",
"react": "^16",
"react-dom": "^16",
"react-router-dom": "^4.1.1",
"webpack": "^5",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4"
},
"jest": {
"coverageReporters": [
"json",
"lcov",
"text",
"html"
],
"resetMocks": true,
"roots": [
"./test"
],
"testRegex": ".*\\.test\\.js$"
},
"lint-staged": {
"{,test/**/}*.js": [
"eslint",
"prettier --single-quote --write",
"git add"
]
},
"dependencies": {
"debounce": "^1.0.2",
"xtend": "^4.0.1"
}
}