mirror of
https://github.com/jlengrand/create-1.git
synced 2026-03-10 08:11:25 +00:00
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"name": "owc-app",
|
|
"version": "0.0.0",
|
|
"description": "Webcomponent owc-app following open-wc recommendations",
|
|
"license": "MIT",
|
|
"author": "owc-app",
|
|
"scripts": {
|
|
"format": "npm run format:eslint && npm run format:prettier",
|
|
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
|
|
"format:prettier": "prettier \"**/*.js\" --write --ignore-path .gitignore",
|
|
"lint": "npm run lint:eslint && npm run lint:prettier",
|
|
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
|
|
"lint:prettier": "prettier \"**/*.js\" --check --ignore-path .gitignore",
|
|
"start": "web-dev-server --app-index index.html --node-resolve --open --watch"
|
|
},
|
|
"dependencies": {
|
|
"lit-element": "^2.0.1",
|
|
"lit-html": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@open-wc/eslint-config": "^2.0.0",
|
|
"@web/dev-server": "^0.0.12",
|
|
"husky": "^1.0.0",
|
|
"lint-staged": "^10.0.0",
|
|
"prettier": "^2.0.4"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"@open-wc/eslint-config",
|
|
"eslint-config-prettier"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid"
|
|
}
|
|
}
|