forked from IBM/pwa-lit-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.91 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
{
"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",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"build": "rimraf server/dist/ && rollup --config",
"format": "npm-run-all format:*",
"format:eslint": "npm run lint:eslint -- --fix",
"format:prettier": "prettier . --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 src/{components,pages}/**/*.ts --ignore-path .gitignore",
"prepare": "husky install",
"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.4",
"lit": "^2.0.0",
"pwa-helper-components": "~0.2.10",
"tslib": "^2.3.1"
},
"devDependencies": {
"@open-wc/building-rollup": "^1.10.0",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-typescript": "^8.2.5",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"@web/dev-server": "~0.1.25",
"@web/dev-server-esbuild": "~0.2.14",
"@web/dev-server-rollup": "~0.3.9",
"@web/rollup-plugin-copy": "~0.3.0",
"chalk": "^4.1.2",
"deepmerge": "^4.2.2",
"eslint": "^7.32.0",
"eslint-config-ibmresearch": "~0.23.0",
"eslint-plugin-lit": "^1.5.1",
"eslint-plugin-lit-a11y": "^1.0.1",
"eslint-plugin-wc": "^1.3.2",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"lit-analyzer": "^1.2.1",
"npm-run-all": "^4.1.5",
"prettier": "~2.4.1",
"prettier-plugin-package": "^1.3.0",
"rimraf": "^3.0.2",
"rollup": "^2.57.0",
"stylelint": "^13.13.1",
"stylelint-config-ibmresearch": "~0.8.1",
"typescript": "~4.2.4"
},
"eslintConfig": {
"extends": "ibmresearch",
"overrides": [
{
"files": "src/**/*",
"extends": "ibmresearch/typescript-lit",
"rules": {
"@typescript-eslint/no-non-null-assertion": "off"
}
}
]
},
"lint-staged": {
"**/*.{html,js,json,md,ts,webmanifest,yml}": "prettier --ignore-path .gitignore --write",
"**/*.{js,ts}": "eslint --ignore-path .gitignore --fix",
"src/{components,pages}/**/*.ts": "stylelint --ignore-path .gitignore --fix"
},
"prettier": {
"singleQuote": true,
"overrides": [
{
"files": "*.{yaml,yml}",
"options": {
"singleQuote": false
}
}
]
},
"stylelint": {
"extends": "stylelint-config-ibmresearch"
}
}