|
7 | 7 | "start": "vite", |
8 | 8 | "build": "vite build", |
9 | 9 | "preview": "vite preview", |
10 | | - "lint": "npm run lint:eslint && npm run lint:stylelint", |
11 | | - "lint:eslint": "eslint src --ext .js,.vue", |
| 10 | + "lint": "npm run lint:eslint && npm run lint:stylelint && npm run lint:tsc", |
| 11 | + "lint:eslint": "eslint src --ext .js,.ts,.vue", |
12 | 12 | "lint:stylelint": "stylelint \"**/*.{styl,vue}\"", |
| 13 | + "lint:tsc": "tsc --noEmit", |
13 | 14 | "i18n:extract": "npx i18next-parser 'src/**/*.vue' -c i18next-parser.config.cjs", |
14 | 15 | "i18n:convert2gettext": "i18next-conv -K -l en -s locales/en/translation.json -t locales/en/translation.po", |
15 | 16 | "test": "echo \"Error: no test specified\" && exit 1", |
|
28 | 29 | "vue": "^3.5.17" |
29 | 30 | }, |
30 | 31 | "devDependencies": { |
| 32 | + "@types/lodash": "^4.14.202", |
| 33 | + "@types/markdown-it": "^12.2.3", |
| 34 | + "@types/node": "^20.19.9", |
| 35 | + "@typescript-eslint/eslint-plugin": "^8.38.0", |
| 36 | + "@typescript-eslint/parser": "^8.38.0", |
31 | 37 | "@vitejs/plugin-vue": "^5.2.4", |
| 38 | + "@vue/eslint-config-typescript": "^14.6.0", |
| 39 | + "@vue/tsconfig": "^0.4.0", |
32 | 40 | "eslint": "^9.0.0", |
33 | 41 | "eslint-plugin-vue": "^9.25.0", |
34 | 42 | "eslint-plugin-vue-pug": "^0.5.4", |
35 | 43 | "i18next-conv": "^15.1.1", |
36 | | - "i18next-parser": "^9.3.0", |
| 44 | + "i18next-parser": "^9.0.0", |
37 | 45 | "pug": "^3.0.3", |
38 | 46 | "stylelint": "^16.3.1", |
39 | 47 | "stylelint-config-standard": "^36.0.0", |
40 | 48 | "stylelint-plugin-stylus": "^1.0.0", |
41 | | - "stylus": "^0.59.0", |
| 49 | + "stylus": "^0.63.0", |
| 50 | + "typescript": "^5.3.3", |
42 | 51 | "vite": "^6.3.5", |
43 | | - "vite-bundle-visualizer": "^0.10.0" |
| 52 | + "vite-bundle-visualizer": "^0.10.0", |
| 53 | + "vite-plugin-checker": "^0.10.1", |
| 54 | + "vue-tsc": "^2.0.8" |
44 | 55 | }, |
45 | 56 | "bugs": { |
46 | 57 | "url": "https://github.com/pretalx/schedule-editor/issues" |
|
0 commit comments