This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
forked from thepassle/generic-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 2.03 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
{
"name": "@generic-components/components",
"version": "1.1.6",
"description": "Set of generic, accessible, zero dependency components",
"author": "Pascal Schilp",
"license": "MIT",
"type": "module",
"main": "index.js",
"module": "index.js",
"homepage": "https://genericcomponents.netlify.app/",
"repository": "https://github.com/thepassle/generic-components",
"scripts": {
"analyze": "custom-elements-manifest analyze",
"start": "es-dev-server --node-resolve --open --watch",
"lint:eslint": "eslint --ext .js . --ignore-path .gitignore --ignore-pattern web_modules/**/*.*",
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore --ignore-pattern web_modules/**/*.*",
"lint:prettier": "prettier \"**/*.js\" --check --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.js\" --write --ignore-path .prettierignore",
"lint": "npm run lint:eslint && npm run lint:prettier",
"format": "npm run format:eslint && npm run format:prettier",
"test": "web-test-runner **/*/*.test.js --coverage --node-resolve",
"test:watch": "web-test-runner **/*/*.test.js --coverage --node-resolve --watch"
},
"devDependencies": {
"@a11y/focus-trap": "^1.0.5",
"@custom-elements-manifest/analyzer": "^0.3.12",
"@open-wc/eslint-config": "^1.0.0",
"@open-wc/prettier-config": "^0.1.10",
"@open-wc/testing": "^2.5.17",
"@web/test-runner": "^0.7.21",
"es-dev-server": "^1.57.2",
"eslint": "^6.1.0",
"husky": "^1.0.0",
"lint-staged": "^8.0.0",
"lit-html": "1.1.1",
"sinon": "^7.5.0"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
],
"rules": {
"wc/no-constructor-attributes": "off"
}
},
"prettier": "@open-wc/prettier-config",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix --ignore-pattern web_modules/**/*.*",
"prettier --write",
"git add"
]
},
"customElements": "custom-elements.json"
}