-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
49 lines (49 loc) · 1.79 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
{
"name": "example-vanilla-set-game",
"version": "0.0.0",
"description": "Webcomponent example-vanilla-set-game following open-wc recommendations",
"author": "example-vanilla-set-game",
"homepage": "https://github.com/open-wc/open-wc/",
"license": "MIT",
"repository": "https://github.com/open-wc/open-wc/",
"dependencies": {
"lit-html": "^0.12.0"
},
"scripts": {
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .js,.html . --fix",
"format:prettier": "prettier '**/*.js' --write",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:eslint": "eslint --ext .js,.html .",
"lint:prettier": "prettier '**/*.js' --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
"site:build": "npm run storybook:build",
"storybook:build": "build-storybook -o _site",
"storybook:start": "start-storybook -p 9001",
"test": "karma start",
"test:watch": "karma start --auto-watch=true --single-run=false",
"test:es5": "karma start karma.es5.config.js",
"test:es5:watch": "karma start karma.es5.config.js --auto-watch=true --single-run=false",
"test:es5:bs": "karma start karma.es5.bs.config.js"
},
"devDependencies": {
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.0",
"@open-wc/eslint-config": "^0.3.0",
"@open-wc/prettier-config": "^0.1.0",
"@open-wc/storybook": "^0.2.0",
"@open-wc/testing": "^0.8.0",
"@open-wc/testing-karma": "^0.4.0",
"@open-wc/testing-karma-bs": "^0.2.0",
"@open-wc/testing-wallaby": "^0.1.3",
"husky": "^1.0.0",
"lint-staged": "^8.0.0",
"webpack-merge": "^4.1.5"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}