repo-temp
v1.0.2
Published
Modern standard front-end open source repository template
Downloads
19
Maintainers
Readme
English | 简体中文
Features
- Monorepo
- TypeScript
- esbuild(dev)
- Rollup(build)
- Jest
- ESLint
- Prettier
- git hooks
- ...
Usage
Install yarn
, npm publish
depends on the behavior of yarn
:
$ npm install --global yarn
The default package manager is pnpm
:
$ npm install --global pnpm
Install using the CLI :
$ npx repo-temp init
dev
Run the local development environment :
$ npm run dev
build
Build the production version :
$ npm run build
release
Publish to NPM :
$ npm run release
release local test
Only print, do not execute commands :
$ npm run release -- --dry
Other
changelog
Change log syntax reference: conventional-changelog-cli
generate change log :
$ npm run changelog
npm package name
Specify the name of the release on NPM in package.json
.
{
"config": {
"npmName": "core"
}
}