-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
113 lines (113 loc) · 3.65 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
{
"name": "super-clippy",
"description": "Webcomponent super-clippy following open-wc recommendations",
"license": "MIT",
"author": "super-clippy",
"version": "0.0.0",
"type": "module",
"main": "dist/src/index.js",
"module": "dist/src/index.js",
"exports": {
".": "./dist/src/index.js",
"./super-clippy.js": "./dist/src/super-clippy.js"
},
"scripts": {
"analyze": "cem analyze",
"start": "npm run api && npm run bundle && tspc && concurrently -k -r \"tspc --watch --preserveWatchOutput\" \"wds\"",
"bundle": "rollup -c rollup.config.js",
"build": "npm run api && npm run bundle && tspc && npm run analyze -- --exclude dist",
"prepublish": "tspc && 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": "tspc && wtr --coverage",
"test:watch": "tspc && concurrently -k -r \"tspc --watch --preserveWatchOutput\" \"wtr --watch\"",
"storybook": "tspc && npm run analyze -- --exclude dist && concurrently -k -r \"tspc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
"storybook:build": "tspc && npm run analyze -- --exclude dist && build-storybook",
"proxy": "npx spandx -c spandx.config.cjs",
"api": "node scripts/api-key-generate.js",
"prepare": "ts-patch install -s"
},
"dependencies": {
"@cpelements/pfe-navigation": "^1.0.125",
"@patternfly/elements": "^2.4.0",
"@patternfly/pfe-accordion": "^1.12.3",
"@patternfly/pfe-avatar": "^1.12.3",
"@patternfly/pfe-content-set": "^1.12.3",
"@patternfly/pfe-icon": "^1.12.3",
"@patternfly/pfe-jump-links": "^1.12.3",
"@rhds/elements": "^1.2.0",
"@shoelace-style/shoelace": "^2.11.2",
"lit": "^2.7.6",
"web-dev-server-plugin-lit-css": "^2.0.5"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.4.17",
"@open-wc/eslint-config": "^9.2.1",
"@open-wc/testing": "^3.1.6",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"@web/dev-server": "^0.1.34",
"@web/dev-server-storybook": "^0.5.4",
"@web/test-runner": "^0.14.0",
"concurrently": "^5.3.0",
"dotenv": "^16.3.1",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.4.1",
"rollup": "^2.79.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-import-css": "^3.3.1",
"rollup-plugin-minify-html-literals": "^1.2.6",
"rollup-plugin-terser": "^7.0.2",
"spandx": "^2.2.5",
"ts-patch": "^3.0.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"typescript-transform-lit-css": "^1.0.0"
},
"customElements": "custom-elements.json",
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"@open-wc",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"import/no-unresolved": "off",
"import/extensions": [
"error",
"always",
{
"ignorePackages": true
}
]
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}