-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
78 lines (78 loc) · 2.77 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
{
"scripts": {
"lint:eslint": "eslint --ext .ts,.html . --ignore-path .gitignore",
"format:eslint": "eslint --ext .ts,.html . --fix --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.js\" \"**/*.ts\" --check --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.js\" \"**/*.ts\" --write --ignore-path .gitignore",
"lint": "npm run lint:eslint && npm run lint:prettier",
"format": "npm run format:eslint && npm run format:prettier",
"test": "tsc && karma start --coverage",
"test:watch": "concurrently --kill-others --names tsc,karma \"npm run tsc:watch\" \"karma start --auto-watch=true --single-run=false\"",
"storybook": "concurrently --kill-others --names tsc,storybook \"npm run tsc:watch\" \"start-storybook --node-resolve --watch --open\"",
"storybook:build": "build-storybook",
"build": "rimraf dist && tsc && rollup -c rollup.config.js",
"start:build": "npm run build && es-dev-server --root-dir dist --app-index index.html --open --compatibility none",
"start": "concurrently --kill-others --names tsc,es-dev-server \"npm run tsc:watch\" \"es-dev-server --app-index index.html --node-resolve --open --watch\"",
"tsc:watch": "tsc --watch",
"cypress:run": "cypress run --headless --browser chrome --config pageLoadTimeout=10000",
"cypress:open": "cypress open"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^5.4.6",
"@open-wc/building-rollup": "^1.0.0",
"@open-wc/demoing-storybook": "^2.0.0",
"@open-wc/eslint-config": "^2.0.0",
"@open-wc/testing": "^2.0.0",
"@open-wc/testing-karma": "^3.0.0",
"@types/node": "13.11.1",
"@typescript-eslint/eslint-plugin": "^2.20.0",
"@typescript-eslint/parser": "^2.20.0",
"concurrently": "^5.1.0",
"cypress": "^5.3.0",
"deepmerge": "^3.2.0",
"es-dev-server": "^1.5.0",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^1.0.0",
"lint-staged": "^10.0.0",
"prettier": "^2.0.4",
"rimraf": "^2.6.3",
"rollup": "^2.3.4",
"ts-loader": "^8.0.4",
"tslib": "^1.11.0",
"typescript": "^3.9.7",
"webpack": "^4.44.2"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"name": "litelement-website",
"version": "0.0.0",
"description": "Webcomponent litelement-website following open-wc recommendations",
"author": "litelement-website",
"license": "MIT",
"dependencies": {
"@vaadin/router": "^1.7.2",
"lit-element": "^2.0.1",
"lit-html": "^1.0.0"
}
}