generated from IBM/pwa-lit-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.33 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
{
"name": "pwa-lit-template",
"version": "0.1.0",
"private": true,
"description": "A template for building Progressive Web Applications using LitElement 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 \"**/*{html,js,json,md,ts,webmanifest}\" --ignore-path .gitignore --write",
"format:stylelint": "npm run lint:stylelint -- --fix",
"lint": "npm-run-all --parallel lint:*",
"lint:eslint": "eslint \"**/*.{js,ts}\" --ignore-path .gitignore",
"lint:stylelint": "stylelint \"src/{components,pages}/**/*.ts\" --ignore-path .gitignore",
"lit:type-checking": "lit-analyzer \"src/{components,pages}/**/*.ts\" --strict",
"serve": "web-dev-server --watch",
"start": "npm run serve",
"test": "echo \"Error: no test specified\"",
"type-checking": "tsc --noEmit && npm run lit:type-checking"
},
"dependencies": {
"@vaadin/router": "^1.7.4",
"lit-element": "^2.4.0",
"pwa-helper-components": "~0.2.10",
"tslib": "^2.1.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/plugin-proposal-decorators": "^7.12.13",
"@open-wc/building-rollup": "^1.9.4",
"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-typescript": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"@web/dev-server": "~0.1.8",
"@web/dev-server-esbuild": "~0.2.11",
"@web/dev-server-rollup": "~0.3.2",
"@web/rollup-plugin-copy": "~0.2.0",
"chalk": "^4.1.0",
"deepmerge": "^4.2.2",
"eslint": "^7.20.0",
"eslint-config-ibmresearch": "~0.19.0",
"eslint-plugin-lit": "^1.3.0",
"eslint-plugin-lit-a11y": "^1.0.1",
"eslint-plugin-wc": "^1.2.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"lit-analyzer": "^1.2.1",
"npm-run-all": "^4.1.5",
"prettier": "~2.2.1",
"prettier-plugin-package": "^1.3.0",
"rimraf": "^3.0.2",
"rollup": "^2.39.0",
"stylelint": "^13.10.0",
"stylelint-config-ibmresearch": "~0.6.1",
"typescript": "~4.1.5"
},
"babel": {
"plugins": [
"@babel/plugin-proposal-class-properties",
[
"@babel/plugin-proposal-decorators",
{
"decoratorsBeforeExport": true
}
]
]
},
"eslintConfig": {
"extends": "ibmresearch",
"overrides": [
{
"files": "src/**/*",
"extends": "ibmresearch/typescript-lit-html",
"rules": {
"@typescript-eslint/no-non-null-assertion": "off"
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{html,js,json,md,ts,webmanifest}": "prettier --ignore-path .gitignore --write",
"**/*.{js,ts}": "eslint --ignore-path .gitignore --fix",
"src/{components,pages}/**/*.ts": "stylelint --ignore-path .gitignore --fix"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"overrides": [
{
"files": "*.yml",
"options": {
"singleQuote": false
}
}
]
},
"stylelint": {
"extends": "stylelint-config-ibmresearch"
}
}