ts-sdk
Paul 3c14833034 new version 5 years ago
.vscode add bundle tool 5 years ago
example eslint main.ts 5 years ago
src new version 5 years ago
test add test 5 years ago
.babelrc add babel 5 years ago
.editorconfig first commit 5 years ago
.eslintrc.js add eslint 5 years ago
.gitignore fix build 5 years ago
.prettierrc first commit 5 years ago
README.md add reademe 5 years ago
jest.config.js rename 5 years ago
package.json new version 5 years ago
tsconfig.json build es5 5 years ago
webpack.config.js eslint main.ts 5 years ago
yarn.lock eslint main.ts 5 years ago

README.md

开发环境

运行 npm start可以打开浏览器在console里面看demo运行效果。example目录编写一些使用demo,发布npm包的时候不需要webpack打包

发布npm包

  1. 运行 npm build
  2. npm publish