-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
58 lines (58 loc) · 1.63 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
{
"devDependencies": {
"@open-wc/building-rollup": "^1.9.4",
"@open-wc/eslint-config": "^4.2.0",
"@open-wc/testing": "^2.5.32",
"@web/dev-server": "^0.1.10",
"@web/test-runner": "^0.12.17",
"deepmerge": "^4.2.2",
"eslint": "^7.23.0",
"eslint-config-prettier": "^7.2.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.43.1",
"rollup-plugin-copy": "^3.4.0"
},
"scripts": {
"lint": "eslint --ext .js,.html . --ignore-path .gitignore && prettier \"**/*.js\" --check --ignore-path .gitignore",
"format": "eslint --ext .js,.html . --fix --ignore-path .gitignore && prettier \"**/*.js\" --write --ignore-path .gitignore",
"test": "web-test-runner --coverage",
"test:watch": "web-test-runner --watch",
"build": "rimraf dist && rollup -c rollup.config.js",
"start:build": "npm run build && web-dev-server --root-dir dist --app-index index.html --open --compatibility none",
"start": "web-dev-server"
},
"name": "travel-app",
"version": "0.0.2",
"description": "Webcomponent travel-app following open-wc recommendations",
"author": "travel-app",
"license": "MIT",
"dependencies": {
"lit-html": "^1.3.0",
"lit-element": "^2.4.0"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
]
}
}