-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.45 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
{
"name": "storybook-lit",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.14.5",
"@babel/eslint-parser": "^7.14.5",
"@babel/eslint-plugin": "^7.14.5",
"@mdx-js/react": "^1.6.22",
"@open-wc/eslint-config": "^4.3.0",
"@storybook/addon-actions": "^6.3.0-rc.9",
"@storybook/addon-docs": "^6.3.0-rc.9",
"@storybook/addon-essentials": "^6.3.0-rc.9",
"@storybook/addon-links": "^6.3.0-rc.9",
"@storybook/builder-webpack5": "^6.3.0-rc.9",
"@storybook/manager-webpack5": "^6.3.0-rc.9",
"@storybook/web-components": "^6.3.0-rc.9",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"babel-loader": "^8.2.2",
"concurrently": "^6.2.0",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"lit-html": "^2.0.0-rc.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"regenerator-runtime": "^0.13.7",
"sass": "^1.35.1",
"typescript": "^4.3.3",
"vite": "^2.3.7",
"web-component-analyzer": "^1.1.6"
},
"dependencies": {
"@app/helper": "link:./src/helper",
"lit": "^2.0.0-rc.2"
},
"scripts": {
"dev": "concurrently -n storybook,vite -c magenta,blue 'yarn storybook:dev' 'yarn vite:dev'",
"vite:dev": "vite",
"vite:build": "tsc && vite build",
"storybook:dev": "start-storybook -p 6008 --ci --quiet",
"storybook:build": "build-storybook",
"wca:ce": "wca analyze \"src/components/**/*.ts\" --outFiles custom-elements.json",
"wca:vscode": "wca analyze \"src/components/**/*.ts\" --outFiles .vscode/web-component.html-data.json --format vscode",
"lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore --write"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"ignorePatterns": [
"*.js",
"*.config.ts",
"*.stories.ts",
"*.stories.tsx",
"*.stories.mdx",
"*/helper/vite.ts"
],
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
],
"plugins": [
"@typescript-eslint/eslint-plugin"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"import/no-unresolved": "off",
"import/extensions": "off",
"wc/guard-super-call": "off",
"wc/no-self-class": "off"
}
},
"prettier": {
"singleQuote": true,
"semi": false
}
}