generated from openscd/oscd-component
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
86 lines (86 loc) · 3.13 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
{
"name": "@openscd/oscd-action-icon",
"description": "Webcomponent oscd-action-icon following open-wc recommendations",
"license": "Apache-2.0",
"author": "Alliander",
"version": "1.0.0",
"browser": "./dist/OscdActionIcon.js",
"module": "./dist/OscdActionIcon.js",
"files": [
"dist/**/*"
],
"exports": {
".": "./dist/OscdActionIcon.js"
},
"type": "module",
"scripts": {
"analyze": "cem analyze",
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
"build": "tsc && npm run analyze -- --exclude dist",
"prepublish": "tsc && npm run analyze -- --exclude dist",
"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": "tsc --p tsconfig.test.json && wtr --coverage",
"test:unit": "tsc --p tsconfig.test.json && wtr --group default",
"test:visual": "tsc --p tsconfig.test.json && wtr --group visual",
"test:update": "tsc --p tsconfig.test.json && wtr --group visual --update-visual-baseline",
"test:watch": "tsc --p tsconfig.test.json && concurrently -k -r \"tsc --p tsconfig.test.json --watch --preserveWatchOutput\" \"wtr --watch\"",
"storybook": "tsc --p tsconfig.test.json && npm run analyze -- --exclude dist && concurrently -k -r \"tsc --p tsconfig.test.json --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
"storybook:build": "tsc --p tsconfig.test.json && npm run analyze -- --exclude dist && build-storybook",
"deploy": "npm run storybook:build && gh-pages --dist storybook-static"
},
"dependencies": {
"@material/mwc-icon": "^0.27.0",
"lit": "^2.7.4",
"lit-element": "2.5.1",
"lit-html": "1.4.1"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@custom-elements-manifest/analyzer": "^0.4.17",
"@open-wc/eslint-config": "^8.0.2",
"@open-wc/testing": "^3.1.6",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@web/dev-server": "^0.1.34",
"@web/dev-server-storybook": "^0.5.4",
"@web/test-runner": "^0.14.0",
"@web/test-runner-playwright": "^0.9.0",
"@web/test-runner-visual-regression": "^0.7.0",
"cem-plugin-readme": "^0.1.4",
"concurrently": "^5.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-tsdoc": "^0.2.17",
"gh-pages": "^4.0.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.4.1",
"tslib": "^2.3.1",
"typescript": "^4.5.2"
},
"customElements": "custom-elements.json",
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run analyze",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}