-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.json
80 lines (80 loc) · 1.98 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
{
"name": "scroll-into-view-if-needed",
"version": "3.1.0",
"description": "Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center",
"keywords": [
"behavior-smooth",
"if-needed",
"polyfill",
"ponyfill",
"scroll",
"scroll-into-view",
"scrollIntoView",
"scrollIntoViewIfNeeded",
"scrollMode",
"smooth",
"smoothscroll",
"typescript"
],
"homepage": "https://scroll-into-view.dev",
"repository": {
"type": "git",
"url": "git+https://github.com/scroll-into-view/scroll-into-view-if-needed.git"
},
"license": "MIT",
"author": "Cody Olsen",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"source": "./src/index.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"source": "./src/index.ts",
"typings": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"prebuild": "npm run clean",
"build": "pkg build --strict",
"clean": "npx rimraf 'dist'",
"prepublishOnly": "npm run build",
"typecheck": "tsc && tsc --noEmit -p tests/typescript"
},
"browserslist": [
"> 0.2% and supports es6-module and supports es6-module-dynamic-import and not dead and not IE 11",
"maintained node versions"
],
"prettier": {
"semi": false,
"singleQuote": true
},
"dependencies": {
"compute-scroll-into-view": "^3.0.2"
},
"devDependencies": {
"@sanity/pkg-utils": "^3.2.2",
"@sanity/semantic-release-preset": "^4.0.0",
"cross-env": "^7.0.3",
"prettier": "^3.0.3",
"prettier-plugin-packagejson": "^2.4.3",
"rimraf": "^4.1.2",
"typescript": "^5.0.0"
},
"bundlesize": [
{
"path": "./dist/index.js",
"maxSize": "3.3 kB",
"compression": "none"
}
]
}