├── .czrc ├── .editorconfig ├── .gitignore ├── .huskyrc ├── .lintstagedrc ├── .prettierrc ├── CHANGELOG.md ├── README.md ├── commitlint.config.js ├── docs └── README.md ├── jestconfig.json ├── package.json ├── src ├── __tests__ │ └── Greeter.test.ts └── index.ts ├── tsconfig.json ├── tslint.json └── yarn.lock /.czrc: -------------------------------------------------------------------------------- 1 | { "path": "cz-conventional-changelog" } 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/.gitignore -------------------------------------------------------------------------------- /.huskyrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/.huskyrc -------------------------------------------------------------------------------- /.lintstagedrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/.lintstagedrc -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | # 文档 2 | -------------------------------------------------------------------------------- /jestconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/jestconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/package.json -------------------------------------------------------------------------------- /src/__tests__/Greeter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/src/__tests__/Greeter.test.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export const Greeter = (name: string) => `Hello ${name}` 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaomingplus/npm-typescript-boilerplate/HEAD/yarn.lock --------------------------------------------------------------------------------