-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
135 lines (135 loc) · 3.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "@vaadin-component-factory/vcf-element",
"version": "1.0.0",
"description": "--elementdescription--",
"main": "out-tsc/vcf-element.js",
"module": "out-tsc/vcf-element.js",
"types": "out-tsc/vcf-element.d.ts",
"type": "module",
"author": "Vaadin Ltd",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/vaadin-component-factory/vcf-element.git"
},
"files": [
"out-tsc",
"src",
"vcf-element.ts"
],
"keywords": [
"lit",
"typescript",
"vaadin",
"vaadin-component-factory",
"web-component"
],
"scripts": {
"analyze": "cem analyze --litelement --globs \"src/**/*.ts\" --outdir demo",
"analyze:watch": "run-s \"analyze -- --watch\"",
"build": "run-s clean analyze build:compile",
"build:bundle": "rollup -c",
"build:compile": "tsc",
"build:prod": "run-s build build:bundle",
"build:watch": "run-s \"build:compile -- --watch\"",
"clean": "rimraf build out-tsc demo/custom-elements.json",
"format": "run-s format:**",
"format:eslint": "eslint --ext .ts,.html . --fix --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.js\" \"**/*.ts\" --write --ignore-path .gitignore",
"lint": "run-s lint:**",
"lint:eslint": "eslint --ext .ts,.html . --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.js\" \"**/*.ts\" --check --ignore-path .gitignore",
"postinstall": "node util/init.js",
"prepublishOnly": "run-s build analyze",
"publish": "node util/publish.js",
"serve": "wds --app-index build/index.html --node-resolve --open --watch",
"start": "run-p analyze:watch build:watch start:dev",
"start:dev": "wds --app-index demo/index.html --node-resolve --open --watch",
"test": "run-s build:compile \"test:run -- --coverage\"",
"test:dev": "run-p \"build:watch -- --preserveWatchOutput\" \"test:run -- --watch\"",
"test:run": "wtr",
"test:watch": "run-s build:compile test:dev"
},
"dependencies": {
"lit": "^2.4.1"
},
"devDependencies": {
"@api-viewer/demo": "^1.0.0-pre.6",
"@api-viewer/docs": "^1.0.0-pre.6",
"@custom-elements-manifest/analyzer": "^0.6.6",
"@open-wc/building-rollup": "^2.2.1",
"@open-wc/eslint-config": "^8.0.2",
"@open-wc/testing": "^3.1.6",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@vaadin-component-factory/vcf-anchor-nav": "^23.3.0",
"@vaadin-component-factory/vcf-element-util": "^0.3.4",
"@vaadin/button": "^23.3.2",
"@vaadin/icon": "^23.3.2",
"@vaadin/vaadin-lumo-styles": "^23.3.2",
"@web/dev-server": "^0.1.34",
"@web/test-runner": "^0.14.0",
"@webcomponents/webcomponentsjs": "^2.7.0",
"concurrently": "^5.3.0",
"deepmerge": "^4.2.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"rollup-plugin-copy": "^3.4.0",
"tslib": "^2.3.1",
"typescript": "^4.5.2"
},
"customElements": "demo/custom-elements.json",
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"@open-wc",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-shadow": "off",
"no-dupe-class-members": "off",
"no-undef": "off",
"no-unused-vars": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/extensions": [
"error",
"always",
{
"ignorePackages": true
}
]
},
"env": {
"browser": true,
"es6": true
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}