/matrix-miniapp

matrix 前端技术能力矩阵 小程序端

Primary LanguageJavaScript

Welcome

Mono Repo

  • how to use

    • install

      npm i
    • dev

      npm run dev
    • build

      npm run build
  • deps installation

    • how to install deps for all projects

      npm install package-name -ws
    • how to install deps for specific project

      npm install package-name -w=@ma/project-name
    • how to install deps at root level

      npm install package-name -W

Folder Structure

  • print the folder structure

    • command # 🖥️ mac

      • tree -L 3 -I 'node_modules|dist'
    .
    ├── README.md
    ├── apps
    │   └── wechat
    │       ├── miniprogram
    │       └── project.config.json
    ├── changelog.config.js
    ├── commitlint.config.ts
    ├── docs                          // vuepress v2
    │   ├── README.md
    │   └── package.json
    ├── package-lock.json
    ├── package.json
    └── packages                      // shared js libs
        └── utils
            ├── package.json
            └── src
  • how it is organized

    • by tech stack

      • by domain
        • by domain scene / story
    • by documentation

    • by shared packages