@htyf-mp/cli 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/cli.js +3 -1
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -219,7 +219,9 @@ async function main() {
219
219
  }
220
220
  delete pkg_info['scripts']['web']
221
221
  delete pkg_info['scripts']['web:dev']
222
- fse.writeJSONSync(pkg_path, JSON.stringify(pkg_info, undefined, 2))
222
+ fse.writeJSONSync(pkg_path, pkg_info, {
223
+ spaces: 2
224
+ })
223
225
  }
224
226
  if (tempType === 'expo') {
225
227
  fse.copySync(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htyf-mp/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "红糖云服app小程序模板-cli",
5
5
  "type": "module",
6
6
  "bin": "cli.js",