ts-sdk
Paul 6e1402ab85 chore:Singleton 5 years ago
.vscode add bundle tool 5 years ago
example chore:Singleton 5 years ago
src chore:Singleton 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 fix merge error 5 years ago
tsconfig.cjs.json fix build 5 years ago
tsconfig.json fix build 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