-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
103 lines (103 loc) · 3.21 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
{
"private": true,
"name": "amenity-finder",
"description": "An example application built with web components only",
"license": "MIT",
"author": "amenity-finder",
"repository": "https://github.com/inventage/amenity-finder",
"version": "1.0.0",
"scripts": {
"build": "rimraf dist && rollup -c rollup.config.js",
"postbuild": "cp dist/index.html dist/200.html",
"deploy": "surge --domain https://amenity-finder-v1.surge.sh dist",
"format": "run-p format:*",
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.js\" --write --ignore-path .gitignore",
"format:prettier-package-json": "prettier-package-json --write ./package.json",
"lint": "run-p lint:*",
"lint:analyze": "lit-analyzer 'src/**/*.js' --strict",
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.js\" --check --ignore-path .gitignore",
"start": "es-dev-server --app-index index.html --node-resolve --open --watch",
"start:build": "npm run build && es-dev-server --root-dir dist --app-index index.html --open --compatibility none",
"test": "karma start --coverage",
"test:watch": "karma start --auto-watch=true --single-run=false",
"test:wtr": "wtr 'test/**/*.test.js' --coverage --playwright --browsers chromium firefox webkit",
"test:wtr:watch": "wtr 'test/**/*.test.js' --watch"
},
"dependencies": {
"@inventage/leaflet-map": "^0.7.0",
"@material/mwc-button": "^0.18.0",
"@material/mwc-drawer": "^0.18.0",
"@material/mwc-icon": "^0.18.0",
"@material/mwc-icon-button": "^0.18.0",
"@material/mwc-linear-progress": "^0.18.0",
"@material/mwc-list": "^0.18.0",
"@material/mwc-textfield": "^0.18.0",
"@material/mwc-top-app-bar": "^0.18.0",
"geodesy": "^2.2.1",
"lit-element": "^2.4.0",
"lit-html": "^1.3.0",
"page": "^1.11.6"
},
"devDependencies": {
"@open-wc/building-rollup": "^1.9.0",
"@open-wc/eslint-config": "^3.0.0",
"@open-wc/testing": "^2.5.25",
"@open-wc/testing-karma": "^4.0.5",
"@web/test-runner": "^0.7.21",
"@web/test-runner-playwright": "^0.5.6",
"deepmerge": "^4.2.2",
"es-dev-server": "^1.57.4",
"eslint": "^7.8.1",
"eslint-config-prettier": "^6.11.0",
"husky": "^4.3.0",
"karma-sabarivka-reporter": "^3.2.3",
"lint-staged": "^10.3.0",
"lit-analyzer": "^1.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1",
"prettier-package-json": "^2.1.3",
"rimraf": "^3.0.2",
"rollup": "^2.26.11",
"rollup-plugin-copy": "^3.3.0",
"sinon": "^9.0.3"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
],
"rules": {
"no-return-assign": "off",
"no-console": [
"error",
{
"allow": [
"info",
"error"
]
}
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"package.json": [
"prettier-package-json --write"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"printWidth": 160
}
}