-
- Downloads
feat(dx): enable TypeScript support
Showing
- .eslintrc.cjs 6 additions, 1 deletion.eslintrc.cjs
- .husky/pre-push 4 additions, 0 deletions.husky/pre-push
- package-lock.json 861 additions, 1 deletionpackage-lock.json
- package.json 11 additions, 4 deletionspackage.json
- src/shims-vue.d.ts 5 additions, 0 deletionssrc/shims-vue.d.ts
- tsconfig.json 20 additions, 0 deletionstsconfig.json
- vite.config.ts 0 additions, 0 deletionsvite.config.ts
.husky/pre-push
0 → 100755
This diff is collapsed.
... | ... | @@ -4,10 +4,11 @@ |
"scripts": { | ||
"serve": "vite", | ||
"dev": "vite", | ||
"build": "vite build", | ||
"lint": "npm run lint-eslint && npm run lint-prettier", | ||
"lint-eslint": "eslint --color --ext .js,.vue --ignore-path .gitignore --ignore-path .eslintignore src/", | ||
"build": "vue-tsc --noEmit && vite build", | ||
"lint": "npm run lint-eslint && npm run lint-prettier && npm run lint-types", | ||
"lint-eslint": "eslint --color --ext .js,.ts,.vue --ignore-path .gitignore --ignore-path .eslintignore src/", | ||
"lint-prettier": "prettier . --check --ignore-path .gitignore --ignore-path .prettierignore", | ||
"lint-types": "vue-tsc --noEmit", | ||
"format": "npm run lint-prettier -- --write && npm run lint-eslint -- --fix", | ||
"spell": "npx cspell -c cspell.json **/*.{txt,js,ts,md}", | ||
"prepare": "husky install" | ||
... | ... | @@ -38,7 +39,11 @@ |
"vuex": "^4.1.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.11.18", | ||
"@typescript-eslint/eslint-plugin": "^5.49.0", | ||
"@typescript-eslint/parser": "^5.49.0", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vue/eslint-config-typescript": "^11.0.2", | ||
"autoprefixer": "^10.4.4", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^7.32.0", | ||
... | ... | @@ -51,7 +56,9 @@ |
"rollup-plugin-visualizer": "^5.8.3", | ||
"sass": "^1.56.0", | ||
"tailwindcss": "^3.0.24", | ||
"vite": "^4.0.4" | ||
"typescript": "^4.9.4", | ||
"vite": "^4.0.4", | ||
"vue-tsc": "^1.0.24" | ||
}, | ||
"homepage": "https://gitlab.servus.at/aura/dashboard", | ||
"license": "AGPL-3.0-only" | ||
... | ... |
src/shims-vue.d.ts
0 → 100644
tsconfig.json
0 → 100644
File moved
Please register or sign in to comment