This repository has been archived by the owner on Apr 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
90 lines (90 loc) · 2.27 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
{
"name": "compute-scroll-into-view",
"description": "The engine that powers scroll-into-view-if-needed",
"license": "MIT",
"author": "Cody Olsen",
"homepage": "https://scroll-into-view-if-needed.netlify.com",
"repository": {
"type": "git",
"url": "git+https://github.com/stipsan/compute-scroll-into-view.git"
},
"version": "1.0.16",
"main": "dist/index.js",
"module": "dist/index.module.js",
"files": [
"dist",
"typings",
"umd/compute-scroll-into-view.min.js",
"umd/compute-scroll-into-view.min.js.map"
],
"scripts": {
"prebuild": "rimraf 'dist' 'umd'",
"build": "npm run build:dist && npm run build:umd",
"build:dist": "microbundle -f cjs,es",
"build:umd": "microbundle -f umd -o umd",
"dev": "concurrently 'npm run typecheck -- --watch' 'npm run build:dist -- --watch' 'npm run build:umd -- --watch'",
"prepublishOnly": "unset npm_config_cafile && npm run build",
"test": "jest -c integration/jest.config.js",
"typecheck": "tsc --noEmit"
},
"sideEffects": false,
"typings": "typings/index.d.ts",
"devDependencies": {
"concurrently": "5.3.0",
"husky": "4.2.5",
"jest": "26.4.2",
"jest-junit": "11.1.0",
"jest-puppeteer": "4.4.0",
"lint-staged": "10.2.13",
"microbundle": "^0.12.3",
"prettier": "2.1.1",
"prettier-package-json": "2.1.3",
"puppeteer": "5.2.1",
"rimraf": "3.0.2",
"serve": "11.3.2",
"typescript": "4.0.2"
},
"keywords": [
"if-needed",
"scroll",
"scroll-into-view",
"scroll-into-view-if-needed",
"scrollIntoView",
"scrollIntoViewIfNeeded",
"scrollMode",
"typescript"
],
"browserify": {
"transform": [
"loose-envify"
]
},
"bundlesize": [
{
"path": "./umd/compute-scroll-into-view.min.js",
"maxSize": "3 kB",
"compression": "none"
}
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,json,md}": "prettier --write",
"**/package.json": "prettier-package-json --write"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"release": {
"prepare": [
"@semantic-release/npm"
]
},
"source": "src/index.ts",
"umd:main": "umd/compute-scroll-into-view.min.js"
}