This repository has been archived by the owner on May 2, 2023. It is now read-only.
/
package.json
118 lines (118 loc) · 3.35 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
{
"name": "stylized-text",
"description": "A Web Component that makes stylised text more accessible",
"license": "MIT",
"author": "Elly Loel <hello@ellyloel.com> (http://ellyloel.com)",
"keywords": [
"web-components",
"lit-element",
"typescript",
"lit",
"a11y"
],
"version": "4.2.1",
"homepage": "https://github.com/ellyloel/stylized-text",
"repository": {
"type": "git",
"url": "https://github.com/ellyloel/stylized-text.git"
},
"bugs": {
"url": "https://github.com/ellyloel/stylized-text/issues"
},
"main": "dist/src/index.js",
"files": [
"dist"
],
"module": "dist/src/index.js",
"type": "module",
"exports": {
".": "./dist/src/index.js",
"./stylized-text.js": "./dist/src/stylized-text.js",
"./stylized-text-react": "./dist/src/stylized-text-react.js"
},
"scripts": {
"analyze": "cem analyze --litelement",
"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 && wtr --coverage",
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
"storybook": "tsc && npm run analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
"storybook:build": "tsc && npm run analyze -- --exclude dist && build-storybook"
},
"dependencies": {
"@lit-labs/react": "^1.0.6",
"lit": "^2.0.2",
"tslib": "^2.3.1"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.6.4",
"@open-wc/eslint-config": "^8.0.2",
"@open-wc/testing": "next",
"@types/react": "^18.0.15",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@web/dev-server": "^0.1.28",
"@web/dev-server-storybook": "next",
"@web/test-runner": "next",
"concurrently": "^7.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.5.2"
},
"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
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"optionalDependencies": false,
"peerDependencies": false
}
]
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}