TypeScript库框架和可调试示例(framework-ts)

提供TypeScript库的框架和可调试的示例。快速开始:

  1. 克隆 Git 仓库:git clone https://github.com/devel0/skeleton-ts.git YOURDIR
  2. 进入目录:cd YOURDIR
  3. 安装依赖:yarn install
  4. 打开 VSCode:code .
  5. 按 F5 开始调试
  6. 选择包名称,并在 package.json 中更改名称(如要发布到 npm,请用 npm view PKGNAME 检查可用性)。
  7. 使用提供的脚本在本地发布:local-publish
  8. 从另一个项目中安装:yalc add PKGNAME
  9. 在公共仓库上发布,调整变量。
zip
skeleton-ts-master.zip 预估大小:17个文件
folder
skeleton-ts-master 文件夹
file
prepatch-and-publish 133B
file
package.json 440B
file
tslint.json 339B
file
jest.config.js 238B
file
LICENSE 1KB
folder
src 文件夹
folder
example 文件夹
file
example.ts 103B
folder
test 文件夹
file
hello-world.test.ts 189B
folder
lib 文件夹
file
hello-world.ts 104B
file
index.ts 36B
file
.npmignore 17B
file
tsconfig.json 205B
file
local-publish 107B
file
.gitignore 329B
file
README.md 1KB
file
yarn.lock 149KB
file
minor-and-publish 130B
folder
.vscode 文件夹
file
launch.json 748B
zip 文件大小:65.39KB