This repository has been archived by the owner on Oct 8, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
51 lines (51 loc) · 1.47 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
{
"name": "scroll-restoration-polyfill",
"version": "0.6.1",
"description": "Prevent the scroll restoration caused by the popstate event or back/forward buttons.",
"keywords": [
"ajax",
"back-button",
"browser",
"history",
"history-api",
"polyfill",
"replacestate",
"scroll-restoration"
],
"repository": "fregante/scroll-restoration-polyfill",
"license": "MIT",
"author": "Federico Brigante <opensource@bfred.it> (bfred.it)",
"files": [
"dist/scroll-restoration-polyfill.common-js.js",
"dist/scroll-restoration-polyfill.es-modules.js",
"dist/scroll-restoration-polyfill.browser.js"
],
"main": "dist/scroll-restoration-polyfill.common-js.js",
"module": "dist/scroll-restoration-polyfill.es-modules.js",
"jsnext:main": "dist/scroll-restoration-polyfill.es-modules.js",
"scripts": {
"build": "npm-run-all --silent jsfix build:*",
"build:js": "bfred-npm-bundler scroll-restoration-polyfill none",
"jsfix": "xo --fix",
"prepublish": "npm run build",
"test": "xo; npm run build",
"watch": "npm-run-all --parallel --silent watch:*",
"watch:build": "onchange 'index.js' --initial -- npm run build -- --continue-on-error"
},
"xo": {
"env": [
"browser"
],
"esnext": true
},
"dependencies": {
"get-scroll": "^2.0.0",
"one-event": "^1.2.0"
},
"devDependencies": {
"bfred-npm-bundler": "^7.1.2",
"npm-run-all": "^3.1.0",
"onchange": "^3.0.2",
"xo": "^0.16.0"
}
}