-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
136 lines (136 loc) · 4.46 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
136
{
"name": "oscd-supervision",
"description": "Webcomponent for editing GOOSE and SMV supervision LNs of IEC 61850 SCL files",
"license": "Apache-2.0",
"author": "Daniel Mulholland",
"version": "0.0.0",
"main": "dist/oscd-supervision.js",
"module": "dist/oscd-supervision.js",
"exports": {
".": "./dist/oscd-supervision.js"
},
"scripts": {
"start": "npm run build && concurrently -k -r \"tsc -b --watch --preserveWatchOutput\" \"wds\"",
"start:build": "npm run build && es-dev-server --root-dir dist --app-index index.html --compatibility none --open",
"start:bundle": "npm run bundle && es-dev-server --root-dir dist --app-index index.html --compatibility none --open",
"test": "playwright install && wtr --coverage",
"test:watch": "npm run build && concurrently -k -r \"tsc -b --watch --preserveWatchOutput\" \"wtr --watch --coverage\"",
"test:update": "npm run build && wtr --update-visual-baseline",
"analyze": "cem analyze --litelement",
"deploy": "npm run bundle && gh-pages --dist 'dist'",
"build": "npm run compile",
"compile": "tsc -b",
"bundle": "rimraf dist && rollup -c rollup.config.js",
"doc": "npm run analyze -- --exclude dist && typedoc --out dist/doc oscd-supervision.ts",
"prepublish": "npm run lint && npm run build && npm run doc",
"lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
"format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
"prepare": "husky install"
},
"dependencies": {
"@material/mwc-button": "^0.27.0",
"@material/mwc-checkbox": "^0.27.0",
"@material/mwc-dialog": "^0.27.0",
"@material/mwc-formfield": "^0.27.0",
"@material/mwc-icon": "^0.27.0",
"@material/mwc-icon-button": "^0.27.0",
"@material/mwc-icon-button-toggle": "^0.27.0",
"@material/mwc-list": "^0.27.0",
"@material/mwc-menu": "^0.27.0",
"@material/mwc-textfield": "^0.27.0",
"@open-wc/testing": "^4.0.0",
"@openenergytools/scl-lib": "^0.12.1",
"@openscd/open-scd-core": "^0.0.2",
"@openscd/oscd-filtered-list": "^1.1.1",
"@web/test-runner-commands": "^0.9.0",
"@web/test-runner-playwright": "^0.11.0",
"@web/test-runner-visual-regression": "^0.9.0",
"lit": "^3.1.0",
"pixelmatch": "^5.3.0",
"pngjs": "^7.0.0"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.9.0",
"@open-wc/building-rollup": "^2.0.2",
"@open-wc/eslint-config": "^12.0.2",
"@open-wc/testing": "^3.1.6",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.5",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.5",
"@types/object-inspect": "^1.8.1",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"@web/dev-server": "^0.4.1",
"@web/rollup-plugin-import-meta-assets": "^2.2.1",
"@web/test-runner": "^0.18.0",
"concurrently": "^8.2.2",
"es-dev-server": "^2.1.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-tsdoc": "^0.2.17",
"gh-pages": "^6.1.1",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"rollup-plugin-copy": "^3.5.0",
"tslib": "^2.6.2",
"typedoc": "^0.25.4",
"typescript": "^5.3.3"
},
"customElements": "custom-elements.json",
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"@open-wc",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-unused-vars": [
"error"
],
"@typescript-eslint/no-non-null-assertion": "off",
"import/no-unresolved": "off",
"import/extensions": [
"error",
"always",
{
"ignorePackages": true
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.spec.ts"
]
}
],
"lit/no-classfield-shadowing": "off",
"no-duplicate-imports": "off",
"no-unused-vars": "off",
"no-redeclare": "off",
"no-shadow": "off"
}
},
"prettier": {
"arrowParens": "avoid",
"singleQuote": true,
"trailingComma": "none"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}