This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.99 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
{
"name": "@advanced-rest-client/arc-scroll-threshold",
"description": "Triggers an event when nearing the beginning or end of a scrollable element. Port of iron-scroll-threshold to LitElement",
"version": "1.2.1",
"license": "Apache-2.0",
"main": "index.js",
"module": "index.js",
"keywords": [
"web-components",
"scroll",
"threshold"
],
"authors": [
"Pawel Psztyc"
],
"contributors": [
"Your name can be here!"
],
"repository": {
"type": "git",
"url": "git://github.com/advanced-rest-client/arc-scroll-threshold.git"
},
"bugs": {
"url": "https://github.com/advanced-rest-client/arc-scroll-threshold/issues",
"email": "arc@mulesoft.com"
},
"dependencies": {
"@advanced-rest-client/arc-scroll-target-mixin": "1.1.3",
"lit-element": "^2.5.1"
},
"devDependencies": {
"@advanced-rest-client/arc-demo-helper": "^2.2.6",
"@anypoint-web-components/anypoint-checkbox": "^1.2.3",
"@anypoint-web-components/anypoint-switch": "^0.1.11",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@open-wc/eslint-config": "^6.0.0",
"@open-wc/testing": "^3.0.1",
"@web/dev-server": "^0.1.25",
"@web/test-runner": "^0.13.20",
"@web/test-runner-playwright": "^0.8.8",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"husky": "^7.0.2",
"lint-staged": "^10.5.4",
"sinon": "^11.1.2",
"typescript": "^4.4.4",
"typescript-lit-html-plugin": "^0.9.0"
},
"scripts": {
"start": "web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .",
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
"lint:types": "tsc",
"lint": "npm run lint:eslint",
"format": "npm run format:eslint",
"test": "web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit",
"test:watch": "web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium",
"gen:wc": "wca analyze \"*.js\" --outFile custom-elements.json"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
],
"overrides": [
{
"files": [
"demo/**/*.js",
"test/**/*.js",
"**/demo/**/*.html"
],
"rules": {
"no-console": "off",
"no-unused-expressions": "off",
"no-plusplus": "off",
"no-param-reassing": "off",
"class-methods-use-this": "off",
"import/no-extraneous-dependencies": "off"
}
},
{
"files": [
"**/*.js"
],
"rules": {
"no-plusplus": "off",
"no-continue": "off",
"class-methods-use-this": "off"
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
}
}