This repository has been archived by the owner on May 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
103 lines (103 loc) · 3.23 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
{
"name": "pwa-lit-template",
"version": "0.1.0",
"private": true,
"description": "A template for building Progressive Web Applications using Lit and Vaadin Router",
"license": "MIT",
"repository": "github:IBM/pwa-lit-template",
"scripts": {
"build": "rimraf server/dist/ && rollup --config",
"format": "npm-run-all format:*",
"format:eslint": "npm run lint:eslint -- --fix",
"format:prettier": "prettier '**/*' --ignore-unknown --ignore-path .gitignore --write",
"format:stylelint": "npm run lint:stylelint -- --fix",
"lint": "npm-run-all --parallel lint:*",
"lint:eslint": "eslint . --ignore-path .gitignore",
"lint:stylelint": "stylelint '**/*.html' 'src/{components,pages}/**/*.ts' --ignore-path .gitignore",
"prepare": "npx simple-git-hooks",
"serve": "web-dev-server --watch",
"start": "npm run serve",
"test": "echo \"Error: no test specified\"",
"types:check": "npm-run-all --parallel types:check:*",
"types:check:lit-analyzer": "lit-analyzer src/{components,pages}/**/*.ts --strict",
"types:check:tsc": "tsc --noEmit"
},
"dependencies": {
"@vaadin/router": "^1.7.5",
"lit": "^2.7.1",
"pwa-helper-components": "~0.2.10",
"tslib": "^2.5.0"
},
"devDependencies": {
"@open-wc/building-rollup": "^2.2.2",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-typescript": "^8.5.0",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@web/dev-server": "~0.1.37",
"@web/dev-server-esbuild": "~0.3.5",
"@web/dev-server-rollup": "~0.3.21",
"@web/rollup-plugin-copy": "~0.3.0",
"deepmerge": "^4.3.1",
"eslint": "^8.37.0",
"eslint-config-ibmresearch": "~0.25.1",
"eslint-plugin-lit": "^1.8.2",
"eslint-plugin-lit-a11y": "^2.4.0",
"eslint-plugin-wc": "^1.4.0",
"lit-analyzer": "^1.2.1",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"picocolors": "^1.0.0",
"postcss-html": "^1.5.0",
"postcss-lit": "^1.1.0",
"prettier": "~2.8.7",
"prettier-plugin-package": "^1.3.0",
"rimraf": "^4.4.1",
"rollup": "^2.79.1",
"simple-git-hooks": "^2.8.1",
"stylelint": "^14.16.1",
"stylelint-config-ibmresearch": "~0.16.0",
"typescript": "~4.9.5"
},
"eslintConfig": {
"extends": "ibmresearch",
"overrides": [
{
"files": "src/**/*",
"extends": "ibmresearch/typescript-lit",
"rules": {
"@typescript-eslint/no-non-null-assertion": "off"
}
}
]
},
"nano-staged": {
"**/*": "prettier --ignore-unknown --ignore-path .gitignore --write",
"**/*.{js,ts}": "eslint --ignore-path .gitignore --fix",
"**/*.html": "stylelint --ignore-path .gitignore --fix",
"src/{components,pages}/**/*.ts": "stylelint --ignore-path .gitignore --fix"
},
"prettier": {
"singleQuote": true
},
"simple-git-hooks": {
"pre-commit": "./node_modules/.bin/nano-staged"
},
"stylelint": {
"extends": "stylelint-config-ibmresearch",
"overrides": [
{
"files": [
"**/*.html"
],
"customSyntax": "postcss-html"
},
{
"files": [
"src/{components,pages}/**/*.ts"
],
"customSyntax": "postcss-lit"
}
]
}
}