npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ofs-scs-backend-dev

v0.0.5

Published

## 一、运行环境

Downloads

14

Readme

项目概况

一、运行环境

2.6.14 vue 1.2 ofs-ui 16 node 4 typescript

二、项目运行

安装依赖

本项目统一使用 pnpm 管理第三方依赖,相关操作指令请查阅 pnpm 官方文档.

pnpm install

本地开发环境编译

pnpm start

线上环境编译

pnpm build_dev   # 开发环境
pnpm build_test  # 测试环境
pnpm build_gray  # 灰度环境
pnpm build_pro   # 生产环境

查看打包分析

pnpm report

检测和修复代码格式

pnpm lint

三、代码提交

请务必遵循以下团队代码提交类型规范

'feat' // 新增功能
'fix' // 修复缺陷
'perf' // 性能优化
'ui' // UI 调整
'style' // 代码格式
'docs' // 文档变更
'test' // 测试用例
'refactor' // 代码重构
'build' // 构建流程、外部依赖变更 (如升级 npm 包、修改打包配置等)
'revert' // 回滚 commit
'wip' // 正在开发中
'types' // 类型定义文件
'chore' // 不属于以上类型的其他类型(日常事务)

可以在 git add 后,使用以下命令以交互模式提交代码

pnpm commit

四、项目开发资料

  • 蓝湖地址(原型及设计文档):https://lanhuapp.com/web/#/item/project/product?tid=28a72436-1ffb-46fa-b8fc-5b0db74fe494&pid=a7f4e7f5-e91e-47e6-8da6-215a1f459088&versionId=4efb4f2a-8e98-41ff-a35d-edf002079d52&docId=eeaf8e06-a30d-4c7e-852d-3bfab3e1a1b0&docType=axure&pageId=a01bcc081f374d52a925710c1c709058&image_id=eeaf8e06-a30d-4c7e-852d-3bfab3e1a1b0&parentId=3666d9f0-0790-4af0-b9a5-9b5be3cfeacf
  • Tapd 地址(需求文档):https://www.tapd.cn/44241244/prong/iterations/card_view
  • 接口文档地址:

五、项目地址

  • 测试环境地址:http://tscs.officemate.cn/scspro/
  • 灰色环境地址:http://grayscs.officemate.cn/scspro/
  • 正式环境地址:http://scs.officemate.cn/scspro/

六、项目结构

|-- 根目录
    |-- .browserslistrc      浏览器兼容范围
    |-- .commitlint.config   代码提交信息规范配置
    |-- .editorconfig        编辑器统一格式配置
    |-- .env.local           环境变量:开发环境(本地)
    |-- .env.pro             环境变量:生产环境
    |-- .env.gray            环境变量:灰度环境
    |-- .env.test            环境变量:测试环境
    |-- .env.dev             环境变量:开发环境(线上)
    |-- .eslintrc.js         ESLint 配置
    |-- .eslintignore        ESLint 忽略文件配置
    |-- .gitignore           Git 忽略文件配置
    |-- .npmrc               npm 源配置
    |-- babel.config.js      Babel 配置
    |-- config
        |-- moduleFederation 模块联邦相关配置
    |-- pnpm-lock.yaml 
    |-- package.json         包说明文件
    |-- README.md
    |-- vue.config.js        vue-cli 配置
    |-- tsconfig.json        typescript 配置
    |-- public               静态资源文件目录
    |-- types                ts 全局类型文件
    |-- src
        |-- App.vue
        |-- main.js
        |-- shims-tsx.d.ts   支持以 .tsc 结尾的文件
        |-- shims-vue.d.ts   vue 声明
        |-- assets           公共资源目录
        |-- components       公共组件目录
        |-- directives       指令相关目录
        |-- filters          过滤器目录
        |-- icons            svg 图标
        |-- layout           公共布局目录
        |-- mixins           混入目录
        |-- plugins          插件目录
        |-- router           路由模块目录
        |-- api              服务模块目录
        |-- store            状态管理目录
        |-- styles           全局样式目录
        |-- utils            工具模块目录
        |-- views            页面视图目录

七、相关链接