mirror of
https://github.com/jlengrand/better-setup-mic.git
synced 2026-03-10 08:01:24 +00:00
79 lines
2.2 KiB
JSON
79 lines
2.2 KiB
JSON
{
|
|
"devDependencies": {
|
|
"eslint": "^7.30.0",
|
|
"@open-wc/eslint-config": "^4.3.0",
|
|
"@typescript-eslint/parser": "^4.28.3",
|
|
"@typescript-eslint/eslint-plugin": "^4.28.3",
|
|
"prettier": "^2.2.1",
|
|
"eslint-config-prettier": "^7.2.0",
|
|
"husky": "^4.3.8",
|
|
"lint-staged": "^10.5.4",
|
|
"@web/test-runner": "^0.12.20",
|
|
"@open-wc/testing": "^2.5.33",
|
|
"@open-wc/building-rollup": "^1.10.0",
|
|
"deepmerge": "^4.2.2",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.53.1",
|
|
"@web/dev-server": "^0.1.18",
|
|
"concurrently": "^5.3.0",
|
|
"typescript": "^4.3.5",
|
|
"tslib": "^2.3.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
|
|
"format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
|
|
"test": "tsc && wtr --coverage",
|
|
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
|
|
"build": "rimraf dist && tsc && rollup -c rollup.config.js",
|
|
"start:build": "npm run build && web-dev-server --root-dir dist --app-index index.html --open --compatibility none",
|
|
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\""
|
|
},
|
|
"name": "better-setup-mic",
|
|
"version": "0.0.0",
|
|
"description": "Webcomponent better-setup-mic following open-wc recommendations",
|
|
"author": "better-setup-mic",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"lit-html": "^1.4.1",
|
|
"lit-element": "^2.5.1"
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"@open-wc/eslint-config",
|
|
"eslint-config-prettier"
|
|
],
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"no-unused-vars": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error"
|
|
],
|
|
"import/no-unresolved": "off",
|
|
"import/extensions": [
|
|
"error",
|
|
"always",
|
|
{
|
|
"ignorePackages": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.ts": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
]
|
|
}
|
|
} |