-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
61 lines (61 loc) · 1.93 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
{
"name": "tei-render",
"version": "0.0.1",
"description": "Webcomponent tei-render following open-wc recommendations",
"author": "tei-render",
"license": "MIT",
"main": "index.js",
"module": "index.js",
"scripts": {
"start": "es-dev-server --app-index demo/index.html --node-resolve --open --watch",
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
"lint:prettier": "prettier \"**/*.js\" --check --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.js\" --write --ignore-path .gitignore",
"lint": "npm run lint:eslint && npm run lint:prettier",
"format": "npm run format:eslint && npm run format:prettier",
"test": "karma start --coverage",
"test:watch": "karma start --auto-watch=true --single-run=false",
"test:update-snapshots": "karma start --update-snapshots",
"test:prune-snapshots": "karma start --prune-snapshots",
"test:bs": "karma start karma.bs.config.js --coverage",
"storybook": "start-storybook --node-resolve --watch --open",
"storybook:build": "build-storybook"
},
"dependencies": {
"lit-element": "^2.2.1",
"lit-html": "^1.1.2"
},
"devDependencies": {
"es-dev-server": "^1.23.0",
"eslint": "^6.1.0",
"@open-wc/eslint-config": "^2.0.0",
"@open-wc/prettier-config": "^0.1.10",
"husky": "^1.0.0",
"lint-staged": "^8.0.0",
"@open-wc/testing-karma": "^3.0.0",
"deepmerge": "^3.2.0",
"@open-wc/testing-karma-bs": "^1.0.0",
"@open-wc/testing": "^2.0.0",
"@open-wc/demoing-storybook": "^1.0.1"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
]
},
"prettier": "@open-wc/prettier-config",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}