0.0.6 • Published 4 years ago

thilllon-tools v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

tools

tools

reference

https://medium.com/cameron-nokes/the-30-second-guide-to-publishing-a-typescript-package-to-npm-89d93ff7bccd

  1. add "declaration" : true to "tsconfig.json"
  2. Add "types": "index.d.ts" to your package.json
  3. ensure dist folder is ignored in .gitignore
    • source codes => git repository
    • transpiled codes => npm/yarn repository
  4. run build by "tsc"
  5. run npm publish
    • local test method: at root directory, run "npm link". then go to another project,
0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago