|
10 | 10 | "framework": "{{ framework }}" |
11 | 11 | }, |
12 | 12 | "scripts": { |
| 13 | + "prepare": "husky", |
13 | 14 | "new": "taro new", |
14 | 15 | "build:weapp": "taro build --type weapp", |
15 | 16 | "build:swan": "taro build --type swan", |
|
75 | 76 | "solid-js": "^1.8.16"{{/if}} |
76 | 77 | },{{#if (includes "Webpack5" s=compiler)}} |
77 | 78 | "devDependencies": { |
| 79 | + "@tarojs/plugin-generator": "{{ version }}", |
| 80 | + "@commitlint/cli": "^19.8.1", |
| 81 | + "@commitlint/config-conventional": "^19.8.1", |
| 82 | + "lint-staged": "^16.1.2", |
| 83 | + "husky": "^9.1.7", |
| 84 | + "stylelint-config-standard": "^38.0.0", |
78 | 85 | "@babel/core": "^7.24.4", |
79 | 86 | "@tarojs/cli": "{{ version }}", |
80 | 87 | "@babel/plugin-transform-class-properties": "7.25.9", |
81 | 88 | "@types/webpack-env": "^1.13.6",{{#if (includes "React" "Preact" s=framework)}} |
82 | 89 | "@types/react": "^18.0.0",{{/if}}{{#if (eq compiler "Webpack5") }} |
83 | 90 | "webpack": "5.91.0", |
84 | 91 | "@tarojs/taro-loader": "{{ version }}", |
85 | | - "@tarojs/plugin-generator": "{{ version }}", |
86 | 92 | "@tarojs/webpack5-runner": "{{ version }}",{{/if}}{{#if (eq css "Sass") }} |
87 | 93 | "sass": "^1.75.0",{{/if}}{{#if (eq css "Less") }} |
88 | 94 | "less": "^4.2.0",{{/if}}{{#if (eq css "Stylus") }} |
|
113 | 119 | }{{/if}}{{#if (eq compiler "Vite") }} |
114 | 120 | "devDependencies": { |
115 | 121 | "@tarojs/plugin-generator": "{{ version }}", |
| 122 | + "@commitlint/cli": "^19.8.1", |
| 123 | + "@commitlint/config-conventional": "^19.8.1", |
| 124 | + "lint-staged": "^16.1.2", |
| 125 | + "husky": "^9.1.7", |
| 126 | + "stylelint-config-standard": "^38.0.0", |
116 | 127 | "@babel/core": "^7.24.4", |
117 | 128 | "@babel/plugin-transform-class-properties": "7.25.9", |
118 | 129 | "@tarojs/cli": "{{ version }}", |
|
0 commit comments