|
14 | 14 | "format": "prettier --write \"**/*.{js<% if (needsEslint) { %>,cjs<% } %><% if (needsTypeScript) { %>,ts<% } %>,json,css,html,md}\"",
|
15 | 15 | <%_ } _%>
|
16 | 16 | <%_ if (needsEslint) { _%>
|
17 |
| - "lint<% if (needsStylelint) { %>:script<% } %>": "eslint --ext .js,.cjs<% if (needsTypeScript) { %>,.ts<% } %> .", |
| 17 | + "lint<% if (needsStylelint) { %>:script<% } %>": "eslint .", |
18 | 18 | <%_ } _%>
|
19 | 19 | <%_ if (needsStylelint) { _%>
|
20 | 20 | "lint<% if (needsEslint) { %>:style<% } %>": "stylelint \"src/**/*.css\"",
|
|
30 | 30 | },
|
31 | 31 | "dependencies": {
|
32 | 32 | "@babel/runtime": "^7.25.0",
|
33 |
| - "@vue-mini/core": "^1.0.1", |
| 33 | + "@vue-mini/core": "^1.0.2", |
34 | 34 | "promise-polyfill": "^8.3.0"
|
35 | 35 | },
|
36 | 36 | "devDependencies": {
|
37 |
| - "@babel/core": "^7.24.9", |
| 37 | + "@babel/core": "^7.25.2", |
38 | 38 | "@babel/plugin-transform-runtime": "^7.24.7",
|
39 |
| - "@babel/preset-env": "^7.25.0", |
| 39 | + "@babel/preset-env": "^7.25.3", |
40 | 40 | <%_ if (needsTypeScript) { _%>
|
41 | 41 | "@babel/preset-typescript": "^7.24.7",
|
42 | 42 | <%_ } _%>
|
43 |
| - "@babel/traverse": "^7.25.0", |
44 |
| - "@babel/types": "^7.25.0", |
| 43 | + "@babel/traverse": "^7.25.3", |
| 44 | + "@babel/types": "^7.25.2", |
45 | 45 | "@rollup/plugin-commonjs": "^26.0.1",
|
46 | 46 | "@rollup/plugin-node-resolve": "^15.2.3",
|
47 | 47 | "@rollup/plugin-replace": "^5.0.7",
|
48 | 48 | "@rollup/plugin-terser": "^0.4.4",
|
49 | 49 | <%_ if (needsTypeScript && needsVitest) { _%>
|
50 |
| - "@types/node": "^20.14.12", |
51 |
| - <%_ } _%> |
52 |
| - <%_ if (needsTypeScript && needsEslint) { _%> |
53 |
| - "@typescript-eslint/eslint-plugin": "^7.17.0", |
54 |
| - "@typescript-eslint/parser": "^7.17.0", |
| 50 | + "@types/node": "^22.0.2", |
55 | 51 | <%_ } _%>
|
56 | 52 | <%_ if (needsVitest) { _%>
|
57 |
| - "@vitest/coverage-v8": "^2.0.4", |
| 53 | + "@vitest/coverage-v8": "^2.0.5", |
58 | 54 | <%_ } _%>
|
59 | 55 | "babel-plugin-autocomplete-index": "^0.2.0",
|
60 | 56 | "babel-plugin-module-resolver": "^5.0.2",
|
61 | 57 | "babel-plugin-transform-inline-environment-variables": "^0.4.4",
|
62 | 58 | "chokidar": "^3.6.0",
|
63 | 59 | "cross-env": "^7.0.3",
|
64 | 60 | <%_ if (needsEslint) { _%>
|
65 |
| - "eslint": "^8.57.0", |
| 61 | + "eslint": "^9.8.0", |
66 | 62 | <%_ if (needsPrettier) { _%>
|
67 | 63 | "eslint-config-prettier": "^9.1.0",
|
68 | 64 | <%_ } _%>
|
69 | 65 | <%_ } _%>
|
70 | 66 | "fs-extra": "^11.2.0",
|
| 67 | + <%_ if (needsEslint) { _%> |
| 68 | + "globals": "^15.9.0", |
| 69 | + <%_ } _%> |
71 | 70 | "kolorist": "^1.8.0",
|
72 | 71 | "postcss": "^8.4.40",
|
73 | 72 | "postcss-load-config": "^6.0.1",
|
74 | 73 | "postcss-pxtorpx-pro": "^2.0.0",
|
75 | 74 | <%_ if (needsPrettier) { _%>
|
76 | 75 | "prettier": "^3.3.3",
|
77 | 76 | <%_ } _%>
|
78 |
| - "rollup": "^4.19.1", |
| 77 | + "rollup": "^4.19.2", |
79 | 78 | <%_ if (needsStylelint) { _%>
|
80 |
| - "stylelint": "^16.7.0", |
| 79 | + "stylelint": "^16.8.1", |
81 | 80 | "stylelint-config-standard": "^36.0.1",
|
82 | 81 | <%_ } _%>
|
83 | 82 | "terser": "^5.31.3",
|
84 | 83 | <%_ if (needsTypeScript) { _%>
|
85 | 84 | "typescript": "^5.5.4",
|
86 | 85 | <%_ } _%>
|
| 86 | + <%_ if (needsTypeScript && needsEslint) { _%> |
| 87 | + "typescript-eslint": "^8.0.0", |
| 88 | + <%_ } _%> |
87 | 89 | <%_ if (needsVitest) { _%>
|
88 |
| - "vitest": "^2.0.4", |
| 90 | + "vitest": "^2.0.5", |
89 | 91 | <%_ } _%>
|
90 | 92 | trailing-comma
|
91 | 93 | },
|
|
0 commit comments