85 lines
2.2 KiB
JSON
85 lines
2.2 KiB
JSON
{
|
|
"devDependencies": {
|
|
"@babel/core": "^7.13.10",
|
|
"@babel/preset-env": "^7.13.10",
|
|
"@open-wc/eslint-config": "^4.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.17.0",
|
|
"@typescript-eslint/parser": "^4.17.0",
|
|
"@web/dev-server": "^0.1.8",
|
|
"babel-loader": "^8.2.2",
|
|
"concurrently": "^5.3.0",
|
|
"css-loader": "^5.2.0",
|
|
"eslint": "^7.21.0",
|
|
"eslint-config-prettier": "^7.2.0",
|
|
"husky": "^4.3.8",
|
|
"lint-staged": "^10.5.4",
|
|
"prettier": "^2.2.1",
|
|
"style-loader": "^2.0.0",
|
|
"ts-loader": "^8.0.18",
|
|
"tslib": "^2.1.0",
|
|
"typescript": "^4.2.3",
|
|
"webpack": "^5.25.0",
|
|
"webpack-cli": "^4.5.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",
|
|
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
|
|
"build": "webpack"
|
|
},
|
|
"name": "elex-theme",
|
|
"version": "0.0.0",
|
|
"description": "Webcomponent elex-theme following open-wc recommendations",
|
|
"author": "elex-theme",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@material/mwc-button": "^0.20.0",
|
|
"@material/mwc-drawer": "^0.20.0",
|
|
"@material/mwc-icon-button": "^0.20.0",
|
|
"@material/mwc-top-app-bar": "^0.20.0",
|
|
"@material/mwc-top-app-bar-fixed": "^0.20.0",
|
|
"easymde": "^2.14.0",
|
|
"lit-element": "^2.4.0",
|
|
"lit-html": "^1.3.0"
|
|
},
|
|
"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": [
|
|
"info",
|
|
"always",
|
|
{
|
|
"ignorePackages": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.ts": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|