-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
122 lines (122 loc) · 2.66 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
121
122
{
"name": "smooth-scroll-into-view-if-needed",
"description": "Ponyfill for smooth scrolling elements into view (if needed!)",
"license": "MIT",
"author": "Cody Olsen",
"homepage": "https://scroll-into-view.dev",
"repository": {
"type": "git",
"url": "git+https://github.com/scroll-into-view/smooth-scroll-into-view-if-needed.git"
},
"version": "2.0.2",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"source": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"test": "jest",
"typecheck": "tsc --noEmit",
"prebuild": "npm run clean",
"build": "pkg build --strict",
"clean": "npx rimraf 'dist'",
"prepublishOnly": "npm run build"
},
"dependencies": {
"scroll-into-view-if-needed": "^3.1.0"
},
"devDependencies": {
"@sanity/pkg-utils": "^2.2.8",
"@sanity/semantic-release-preset": "^4.0.0",
"@types/jest": "^26.0.24",
"babel-eslint": "^10.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-react": "^7.27.0",
"jest": "^26.6.3",
"jest-junit": "^12.3.0",
"prettier": "^2.8.4",
"prettier-package-json": "^2.8.0",
"rimraf": "^3.0.2",
"semantic-release": "^20.1.1",
"ts-jest": "^26.5.6",
"typescript": "^4.4.4"
},
"keywords": [
"behavior-smooth",
"if-needed",
"polyfill",
"ponyfill",
"scroll",
"scroll-into-view",
"scrollIntoView",
"scrollIntoViewIfNeeded",
"scrollMode",
"smooth",
"smoothscroll",
"typescript"
],
"browserify": {
"transform": [
"loose-envify"
]
},
"bundlesize": [
{
"path": "./umd/smooth-scroll-into-view-if-needed.min.js",
"maxSize": "5 kB",
"compression": "none"
}
],
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "(/tests/.*|(\\.|/)(test|spec))\\.(js|ts)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"reporters": [
"default",
[
"jest-junit",
{
"output": "reports/jest/results.xml"
}
]
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"overrides": [
{
"files": ".babelrc",
"options": {
"parser": "json"
}
}
]
},
"sideEffects": false
}