better-project-name
TypeScript icon, indicating that this package has built-in type declarations

0.3.0-alpha.0 • Public • Published

ts project template

clone

git clone https://github.com/HcySunYang/template-ts.git
git remote rm origin
git remote add origin {https://github.com/user/repo.git}

Modify metadata

package.json

  • name
  • repository
  • author
  • types

README.md

Describe your project

rollup.config.js

Currently it is the basic configuration, you can modify it according to your needs.

Features

  • yarn dev for dev
  • yarn build for build
  • yarn test for tests
    • write test files in the tests folder
    • ((\\.|/)(test|spec))\\.tsx?$
    • writing dts tests in the test-dts folder
  • yarn commit for commit
  • yarn changelog generate changelog
  • pre-commit hook & lint-staged
  • format on save when using vscode(prettier)
  • integrate github action(only work on the main branch)
  • yarn release for releasing your package
    • --dry dry run
    • --skipTests skip tests
    • --skipBuild skip build
    • --preId specify pre-release preid: yarn release --preId alpha
    • You can specify the version: yarn release [version]

Readme

Keywords

none

Package Sidebar

Install

npm i better-project-name

Weekly Downloads

2

Version

0.3.0-alpha.0

License

MIT

Unpacked Size

3.87 kB

Total Files

8

Last publish

Collaborators

  • hcysunyang