TypeScript-React-Starter React+TypeScript项目模板

要是你正在找一个能快速上手的 React 和 TypeScript 组合的基础模板,typescript-react-starter蛮值得一试。它集成了Webpackts-jest,而且还自带了运行时环境变量的配置。你可以用yarn start直接启动开发,yarn test跑单元测试,yarn build生成生产环境代码,流程简单清晰,适合快速搭建项目。

如果你对FP-TS有点了解,使用起来会更顺手。还有,整个项目使用yarn管理,依赖管理也方便。这个模板挺适合那些减少配置工作,快速投入开发的前端开发者。

如果你正在做 React 项目,不妨试试看这个 starter,节省不少配置时间。

zip
typescript-react-starter-master.zip 预估大小:43个文件
folder
typescript-react-starter-master 文件夹
file
.gitignore 932B
file
Dockerfile 355B
file
package.json 3KB
folder
webpack 文件夹
file
webpack.prod.ts 235B
file
webpack.common.ts 976B
file
tsconfig.json 161B
file
webpack.dev.ts 291B
folder
src 文件夹
folder
core 文件夹
file
environment.ts 1KB
file
short-report.ts 2KB
file
math.spec.ts 146B
file
math.ts 189B
folder
framework 文件夹
folder
adt 文件夹
file
variant.ts 789B
folder
context 文件夹
file
safe-context.tsx 415B
folder
effects 文件夹
file
process-env.ts 264B
file
log-with.ts 270B
folder
auth 文件夹
file
SignIn.tsx 3KB
file
App.spec.tsx 935B
file
index.html 175B
folder
contexts 文件夹
file
start-app-env.ts 362B
file
index.tsx 2KB
file
App.tsx 1KB
file
.nvmrc 5B
file
jest.config.js 247B
file
LICENSE 1KB
folder
public 文件夹
file
env.js 478B
file
.DS_Store 6KB
file
entrypoint.sh 589B
file
tsconfig.spec.json 105B
file
tsconfig.json 6KB
folder
.github 文件夹
folder
workflows 文件夹
file
main.yml 751B
file
.eslintrc.js 1KB
folder
scripts 文件夹
file
ensure-deduplicate.sh 236B
folder
hooks 文件夹
file
pre-push.sh 50B
file
README.md 178B
file
prettier.config.js 302B
file
.eslintignore 18B
file
nginx.conf 2KB
folder
.vscode 文件夹
file
settings.json 436B
folder
test 文件夹
file
env.ts 50B
file
tsconfig.json 114B
file
index.ts 44B
file
setup-window-mock.ts 366B
file
yarn.lock 359KB
zip 文件大小:168.49KB