-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.53 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.53 KB
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
{
"name": "@inventage/matomo-opt-out",
"version": "1.3.0",
"description": "A web component to let visitors opt-out of Matomo tracking",
"author": "Inventage AG <info@inventage.com>",
"repository": "inventage/matomo-opt-out",
"license": "MIT",
"main": "index.js",
"module": "index.js",
"type": "module",
"files": [
"index.js",
"custom-elements.json",
"LICENSE",
"CHANGELOG.md",
"README.md",
"src/*"
],
"keywords": [
"web-components",
"lit-element",
"lit-html",
"matomo",
"opt-out",
"tracking",
"analytics"
],
"scripts": {
"prepare": "npm run build:analyze:json",
"build": "run-s build:**",
"start": "es-dev-server --app-index demo/index.html --node-resolve --open --watch",
"start:build": "npm run build && es-dev-server --root-dir dist --app-index index.html --compatibility none --open",
"build:rollup": "rimraf dist && rollup -c rollup.config.js",
"build:analyze:json": "wca analyze src/*.js --outFile custom-elements.json",
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:analyze",
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.{js,html}\" --check --ignore-path .gitignore",
"lint:analyze": "lit-analyzer --strict \"src/**/*.js\"",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.{js,html}\" --write --ignore-path .gitignore"
},
"dependencies": {
"http-jsonp": "^1.1.1",
"lit-element": "^3.3.2",
"lit-html": "^2.5.0"
},
"devDependencies": {
"@open-wc/building-rollup": "^1.7.0",
"@open-wc/eslint-config": "^3.0.0",
"deepmerge": "^4.2.2",
"es-dev-server": "^1.57.2",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"lit-analyzer": "^1.2.1",
"npm-run-all": "^4.1.5",
"prettier": "2.0.5",
"rimraf": "^3.0.2",
"rollup": "^2.26.4",
"web-component-analyzer": "^1.1.6"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run build:analyze:json && git add custom-elements.json",
"pre-push": "npm run lint"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
]
},
"publishConfig": {
"access": "public"
},
"np": {
"yarn": false
}
}