package.json
4.91 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"_from": "scroll-into-view-if-needed@^2.2.25",
"_id": "scroll-into-view-if-needed@2.2.26",
"_inBundle": false,
"_integrity": "sha512-SQ6AOKfABaSchokAmmaxVnL9IArxEnLEX9j4wAZw+x4iUTb40q7irtHG3z4GtAWz5veVZcCnubXDBRyLVQaohw==",
"_location": "/scroll-into-view-if-needed",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "scroll-into-view-if-needed@^2.2.25",
"name": "scroll-into-view-if-needed",
"escapedName": "scroll-into-view-if-needed",
"rawSpec": "^2.2.25",
"saveSpec": null,
"fetchSpec": "^2.2.25"
},
"_requiredBy": [
"/antd"
],
"_resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.26.tgz",
"_shasum": "e4917da0c820135ff65ad6f7e4b7d7af568c4f13",
"_spec": "scroll-into-view-if-needed@^2.2.25",
"_where": "C:\\Users\\kkwan_000\\Desktop\\git\\2017110269\\minsung\\node_modules\\antd",
"author": {
"name": "Cody Olsen"
},
"browserify": {
"transform": [
"loose-envify"
]
},
"bugs": {
"url": "https://github.com/stipsan/scroll-into-view-if-needed/issues"
},
"bundleDependencies": false,
"bundlesize": [
{
"path": "./umd/scroll-into-view-if-needed.min.js",
"maxSize": "3.2 kB",
"compression": "none"
}
],
"dependencies": {
"compute-scroll-into-view": "^1.0.16"
},
"deprecated": false,
"description": "Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center",
"devDependencies": {
"@babel/cli": "7.10.5",
"@babel/core": "7.11.4",
"@babel/plugin-external-helpers": "7.10.4",
"@babel/preset-env": "7.11.0",
"@babel/preset-typescript": "7.10.4",
"babel-eslint": "10.1.0",
"babel-plugin-add-module-exports": "1.0.2",
"babel-plugin-dev-expression": "0.2.2",
"concurrently": "5.3.0",
"eslint": "4.19.1",
"eslint-config-prettier": "4.0.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-react": "7.20.6",
"flowgen": "1.11.0",
"husky": "4.2.5",
"lint-staged": "10.2.13",
"prettier": "2.1.1",
"prettier-package-json": "2.1.3",
"rimraf": "3.0.2",
"rollup": "2.26.8",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "6.1.0",
"semantic-release": "17.1.1",
"tslint": "5.20.1",
"tslint-config-prettier": "1.18.0",
"typescript": "3.9.7"
},
"files": [
"es",
"typings",
"umd"
],
"homepage": "https://scroll-into-view-if-needed.netlify.com",
"keywords": [
"behavior-smooth",
"if-needed",
"polyfill",
"ponyfill",
"scroll",
"scroll-into-view",
"scrollIntoView",
"scrollIntoViewIfNeeded",
"scrollMode",
"smooth",
"smoothscroll",
"typescript"
],
"license": "MIT",
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
],
"*.{ts,tsx}": [
"prettier --write",
"git add"
],
"*.json": [
"prettier --write",
"git add"
],
"*.css": [
"prettier --write",
"git add"
],
"*.md": [
"prettier --write",
"git add"
],
"**/package.json": [
"prettier-package-json --write",
"git add"
],
"**/.babelrc": [
"prettier --write",
"git add"
]
},
"main": "index.js",
"module": "es/index.js",
"name": "scroll-into-view-if-needed",
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"overrides": [
{
"files": ".babelrc",
"options": {
"parser": "json"
}
}
]
},
"release": {
"prepare": [
"@semantic-release/npm"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/stipsan/scroll-into-view-if-needed.git"
},
"scripts": {
"build": "yarn build:d.ts && yarn build:cjs && yarn build:es && yarn build:umd && yarn build:umd.min",
"build:cjs": "BABEL_ENV=cjs babel src -d . --extensions '.ts'",
"build:d.ts": "tsc --emitDeclarationOnly",
"build:es": "BABEL_ENV=es babel src -d es --extensions '.ts'",
"build:umd": "BABEL_ENV=umd NODE_ENV=development rollup -c -f umd -o umd/scroll-into-view-if-needed.js",
"build:umd.min": "BABEL_ENV=umd NODE_ENV=production rollup -c -f umd -o umd/scroll-into-view-if-needed.min.js",
"clean": "rimraf 'umd' 'es' 'typings'",
"dev": "concurrently 'tsc --noEmit --watch' 'tsc --noEmit -p tests/typescript --watch' 'yarn build:cjs --watch' 'yarn build:es --watch' 'yarn build:umd --watch' 'yarn build:umd.min --watch'",
"lint": "eslint ./integration-examples",
"prebuild": "yarn clean",
"precommit": "lint-staged",
"prepublishOnly": "unset npm_config_cafile && yarn build",
"typecheck": "tsc --noEmit && tsc --noEmit -p tests/typescript"
},
"sideEffects": false,
"typings": "typings/index.d.ts",
"version": "2.2.26"
}