mirror of
https://github.com/jlengrand/simple-food-diary.git
synced 2026-03-10 08:41:19 +00:00
87 lines
2.5 KiB
JSON
87 lines
2.5 KiB
JSON
{
|
|
"devDependencies": {
|
|
"@open-wc/building-rollup": "^1.10.0",
|
|
"@open-wc/eslint-config": "^4.3.0",
|
|
"@open-wc/testing": "^2.5.33",
|
|
"@typescript-eslint/eslint-plugin": "^4.25.0",
|
|
"@typescript-eslint/parser": "^4.25.0",
|
|
"@web/dev-server": "^0.1.17",
|
|
"@web/test-runner": "^0.12.20",
|
|
"concurrently": "^5.3.0",
|
|
"deepmerge": "^4.2.2",
|
|
"eslint": "^7.27.0",
|
|
"eslint-config-prettier": "^7.2.0",
|
|
"husky": "^4.3.8",
|
|
"lint-staged": "^10.5.4",
|
|
"prettier": "^2.2.1",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.50.0",
|
|
"rollup-plugin-copy": "^3.4.0",
|
|
"tslib": "^2.2.0",
|
|
"typescript": "^4.2.4"
|
|
},
|
|
"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\"",
|
|
"clean": "rimraf dist",
|
|
"azure-local": "swa start http://localhost:8000/ --api api",
|
|
"full-start": "npm start && concurrently npm run azure-local"
|
|
},
|
|
"name": "simple-food-diary",
|
|
"version": "0.0.0",
|
|
"description": "Webcomponent simple-food-diary following open-wc recommendations",
|
|
"author": "simple-food-diary",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@azure/static-web-apps-cli": "^0.6.1",
|
|
"@fortawesome/fontawesome-free": "^5.15.3",
|
|
"fa-icons": "^0.2.0",
|
|
"lit": "*"
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"@open-wc/eslint-config",
|
|
"eslint-config-prettier"
|
|
],
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"wc/guard-super-call": "off",
|
|
"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"
|
|
]
|
|
}
|
|
}
|