-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.08 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
{
"name": "@georapbox/scroll-top-element",
"version": "2.0.1",
"description": "A custom element that scrolls to the top of the page.",
"main": "dist/scroll-top.js",
"module": "dist/scroll-top.js",
"unpkg": "dist/scroll-top.js",
"type": "module",
"targets": {
"scroll-top": {
"context": "browser",
"outputFormat": "esmodule",
"source": "src/scroll-top.js",
"optimize": true,
"isLibrary": true,
"distDir": "dist",
"engines": {
"browsers": "> 0.5%, last 2 versions, not dead"
}
},
"scroll-top-defined": {
"context": "browser",
"outputFormat": "esmodule",
"source": "src/scroll-top-defined.js",
"optimize": true,
"isLibrary": true,
"distDir": "dist",
"engines": {
"browsers": "> 0.5%, last 2 versions, not dead"
}
}
},
"files": [
"/src",
"/dist"
],
"scripts": {
"lint": "eslint . --ext .js",
"test": "web-test-runner",
"test:watch": "npm run test -- --watch",
"test:coverage": "npm run test -- --coverage",
"dev:parcel": "parcel watch",
"dev": "npm-run-all clean dev:parcel",
"build:parcel": "parcel build",
"build": "npm-run-all clean build:parcel",
"clean": "rimraf dist .parcel-cache",
"prepare": "npm-run-all clean lint test build"
},
"keywords": [
"custom element",
"web component",
"scroll-top"
],
"author": {
"name": "George Raptis",
"email": "georapbox@gmail.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/georapbox/scroll-top-element.git"
},
"homepage": "https://github.com/georapbox/scroll-top-element#readme",
"bugs": {
"url": "https://github.com/georapbox/scroll-top-element/issues"
},
"devDependencies": {
"@esm-bundle/chai": "~4.3.4-fix.0",
"@open-wc/testing": "~3.1.8",
"@web/test-runner": "~0.16.1",
"@web/test-runner-playwright": "~0.10.0",
"eslint": "~8.40.0",
"eslint-plugin-wc": "~1.5.0",
"npm-run-all": "~4.1.5",
"parcel": "~2.8.3",
"rimraf": "~5.0.0",
"sinon": "~15.0.4"
}
}