• 顾颢's avatar
    chore: add Windows compatibility for npm scripts (#1170) · 06d79f89
    顾颢 提交于
    <!-- This is an auto-generated description by cubic. -->
    
    ## Summary by cubic
    Make npm scripts work on Windows by replacing rm -rf with rimraf and
    using cross-env for environment variables. This enables local dev and
    packaging on Windows without WSL.
    
    - **Refactors**
    - Changed clean to use rimraf and delete out and scaffold/node_modules.
    - Prefixed dev:engine, staging:engine, and staging:gateway with
    cross-env.
    
    - **Dependencies**
      - Added rimraf ^6.0.1. Run npm install.
    
    <!-- End of auto-generated description by cubic. -->
    Co-authored-by: 's avatar顾颢 <guhao@dayee.com>
    06d79f89
正在分析文件…
package.json 5.9 KB