forked from OpenEnergyTools/scl-template-update
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.35 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 3.35 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
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
{
"name": "@com-pas/scl-template-update",
"description": "OpenSCD plugin for updating DataTypeTemplates",
"license": "Apache-2.0",
"author": "CoMPAS",
"version": "0.0.0",
"scripts": {
"prepare": "npm run build",
"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",
"test": "npm run compile && wtr --coverage",
"test:watch": "npm run compile && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch --coverage\"",
"compile": "tsc",
"build": "rimraf dist && rollup -c rollup.config.js",
"start:build": "web-dev-server --root-dir dist --app-index index.html --open",
"analyze": "cem analyze --litelement",
"start": "npm run compile && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
"deploy": "npm run build && gh-pages --dist dist --branch deploy"
},
"dependencies": {
"@openenergytools/tree-grid": "1.0.1",
"@scopedelement/material-web": "^3.8.0",
"@openenergytools/open-scd-core": "0.0.5",
"@open-wc/scoped-elements": "^3.0.5",
"@openscd/scl-lib": "2.0.0",
"lit": "^3.0.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.2",
"@babel/preset-env": "^7.16.4",
"@custom-elements-manifest/analyzer": "^0.4.17",
"@open-wc/building-rollup": "^2.0.2",
"@open-wc/eslint-config": "^8.0.2",
"@open-wc/testing": "^4.0.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@web/dev-server": "^0.4.6",
"@web/rollup-plugin-import-meta-assets": "^1.0.7",
"@web/dev-server-polyfill": "^1.0.4",
"@types/mocha": "^10.0.10",
"@web/test-runner": "^0.19.0",
"babel-plugin-template-html-minifier": "^4.1.0",
"concurrently": "^5.3.0",
"cpy-cli": "^5.0.0",
"deepmerge": "^4.2.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"gh-pages": "^5.0.0",
"gunzip": "^1.2.2",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"rollup": "^2.60.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-workbox": "^6.2.0",
"sinon": "^19.0.2",
"tslib": "^2.3.1",
"typescript": "5.5.4"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"@open-wc",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "_.*"
}
],
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.spec.ts"
]
}
],
"import/extensions": [
"error",
"always",
{
"ignorePackages": true
}
]
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
},
"customElements": "custom-elements.json"
}