Package Exports
- typescript-sdk-nebula
- typescript-sdk-nebula/dist/typescript-sdk-nebula.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (typescript-sdk-nebula) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
typescript-sdk-nebula
一套无需额外配置的 TypeScript SDK 前端开发模板,能够帮助开发者快速搭建自己的规范工程环境
技术栈
- 编程语言:TypeScript 4.x + JavaScript
- 构建工具:Webpack
- 代码规范:EditorConfig + Prettier + ESLint + Airbnb JavaScript Style Guide
- 提交规范:Commitlint
- Git Hook 工具:husky + lint-staged
- 接口文档:Vuepress
- 单元测试:Jest + ts-jest
如何使用
安装依赖
npm install
修改 package.json
和 webpack.common.js
以适应自身需要
需要修改的部分包括:webpack.common.js
里的 output
打包后的产物配置、package.json
里的 name
、 repository
等等
本地调试
npm run dev
代码打包
npm run build
许可
MIT Copyright © 2021 nekobc1998923