ts-sdk
adam 95aeccc811 update:兼容RN的处理,尝试 3 years ago
.vscode add bundle tool 5 years ago
example add eventemmit 5 years ago
scripts add scripts 5 years ago
src update:兼容RN的处理,尝试 3 years ago
test add miss retrun type 5 years ago
.babelrc add babel 5 years ago
.editorconfig first commit 5 years ago
.eslintrc.js add eslint 5 years ago
.gitignore incremental 5 years ago
.prettierrc first commit 5 years ago
README.md add reademe 5 years ago
package.json update:兼容RN的处理,尝试 3 years ago
tsconfig.cjs.json fix build 5 years ago
tsconfig.json incremental 5 years ago
yarn.lock update:兼容RN的处理,尝试 3 years ago

README.md

开发环境

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

发布npm包

  1. 运行 npm build
  2. npm publish