Skip to content

Eronana/typescript-package-sample

Repository files navigation

typescript-package-sample

a sample project for typescript package

How to use

  • install deps: npm i
  • run test: npm test
  • run cover: npm run cover
  • run lint: npm run lint
  • watch code: npm run watch
  • build: npm run build
  • test pack before publish: npm pack
  • publish: npm publish

Directories

  • .vscode: VS Code settings
  • src: source code
  • test: test code
  • dist: generated by TypeScript compiler from src, you should modify it
  • coverage: generate by npm run cover, you could found coverage result in it

Notice

.npmignore is in whitelist mode right now, please update it if you added any other file

About

a sample project for typescript package

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors