1
+ {
2
+ "name" : " @preignition/template" ,
3
+ "version" : " 0.0.0" ,
4
+ "description" : " Webcomponent preignition-template following open-wc recommendations" ,
5
+ "author" : " preignition-template" ,
6
+ "license" : " MIT" ,
7
+ "main" : " index.js" ,
8
+ "module" : " index.js" ,
9
+ "scripts" : {
10
+ "start" : " es-dev-server --app-index demo/index.html --node-resolve --open --watch" ,
11
+ "lint:eslint" : " eslint --ext .js,.html . --ignore-path .gitignore" ,
12
+ "format:eslint" : " eslint --ext .js,.html . --fix --ignore-path .gitignore" ,
13
+ "lint:prettier" : " prettier \" **/*.js\" --check --ignore-path .gitignore" ,
14
+ "format:prettier" : " prettier \" **/*.js\" --write --ignore-path .gitignore" ,
15
+ "lint" : " npm run lint:eslint && npm run lint:prettier" ,
16
+ "format" : " npm run format:eslint && npm run format:prettier" ,
17
+ "test" : " karma start --coverage" ,
18
+ "test:watch" : " karma start --auto-watch=true --single-run=false" ,
19
+ "test:update-snapshots" : " karma start --update-snapshots" ,
20
+ "test:prune-snapshots" : " karma start --prune-snapshots" ,
21
+ "test:bs" : " karma start karma.bs.config.js --coverage"
22
+ },
23
+ "dependencies" : {
24
+ "lit-html" : " ^1.1.2" ,
25
+ "lit-element" : " ^2.2.1"
26
+ },
27
+ "devDependencies" : {
28
+ "es-dev-server" : " ^1.23.0" ,
29
+ "eslint" : " ^6.1.0" ,
30
+ "@open-wc/eslint-config" : " ^2.0.0" ,
31
+ "@open-wc/prettier-config" : " ^0.1.10" ,
32
+ "husky" : " ^1.0.0" ,
33
+ "lint-staged" : " ^8.0.0" ,
34
+ "@open-wc/testing-karma" : " ^3.0.0" ,
35
+ "deepmerge" : " ^3.2.0" ,
36
+ "@open-wc/testing-karma-bs" : " ^1.0.0" ,
37
+ "@open-wc/testing" : " ^2.0.0"
38
+ },
39
+ "eslintConfig" : {
40
+ "extends" : [
41
+ " @open-wc/eslint-config" ,
42
+ " eslint-config-prettier"
43
+ ]
44
+ },
45
+ "prettier" : " @open-wc/prettier-config" ,
46
+ "husky" : {
47
+ "hooks" : {
48
+ "pre-commit" : " lint-staged"
49
+ }
50
+ },
51
+ "lint-staged" : {
52
+ "*.js" : [
53
+ " eslint --fix" ,
54
+ " prettier --write" ,
55
+ " git add"
56
+ ]
57
+ }
58
+ }
0 commit comments