React Rollup TypeScript 起步器

本入门工具包提供了一个方便的起点,帮助开发者轻松创建可投入生产的 JavaScript 库。它集成了以下组件:

  • 模块捆绑器(Rollup)
  • UI 构建库(React)
  • 测试框架(Jest)
  • 开发环境(Storybook)

使用说明:

  • 构建项目:npm run build
  • 监视模式构建:npm run start
  • 运行测试:npm run test
  • 启动 Storybook:npm run storybook
  • 构建 Storybook:npm run build-storybook
  • 将 Storybook 部署到 GitHub Pages:npm run deploy-storybook

欢迎贡献!

zip
react-rollup-ts-starter-master.zip 预估大小:49个文件
folder
react-rollup-ts-starter-master 文件夹
file
rollup.config.js 1KB
folder
stories 文件夹
folder
components 文件夹
file
navbar.stories.js 1KB
folder
atoms 文件夹
file
select.stories.js 640B
file
tabpanel.stories.js 1KB
file
input.stories.js 997B
file
textarea.stories.js 568B
file
alert.stories.js 1KB
file
button.stories.js 1KB
folder
forms 文件夹
file
form.stories.js 2KB
file
yarn.lock 334KB
folder
src 文件夹
file
index.tsx 148B
folder
components 文件夹
folder
TabPanel 文件夹
file
index.tsx 39B
file
TabPanel.tsx 2KB
file
TabPanel.scss 452B
folder
Button 文件夹
file
index.tsx 35B
file
Button.tsx 378B
file
Button.css 56B
file
Button.type.tsx 409B
folder
TextInput 文件夹
file
index.tsx 41B
file
TextInput.tsx 169B
file
TextInput.test.tsx 238B
file
TextInput.type.tsx 24B
folder
__snapshots__ 文件夹
file
TextInput.test.tsx.snap 90B
file
TextInput.scss 29B
folder
lib 文件夹
folder
components 文件夹
folder
TabPanel 文件夹
file
TabPanel.d.ts 450B
file
index.d.ts 40B
folder
Button 文件夹
file
Button.d.ts 193B
file
index.d.ts 36B
file
Button.type.d.ts 480B
folder
TextInput 文件夹
file
TextInput.type.d.ts 33B
file
TextInput.test.d.ts 12B
file
TextInput.d.ts 168B
file
index.d.ts 42B
file
index.d.ts 151B
file
index.js 6KB
folder
.storybook 文件夹
file
sourceStyle.js 1KB
file
config.js 2KB
file
preview-head.html 49B
file
addons.js 524B
folder
manager-head.html 文件夹
file
tsconfig.json 44B
folder
assets 文件夹
file
styles_ltr.css 141KB
file
.prettierrc 99B
file
README.md 2KB
file
statistics.html 64KB
file
jest.config.json 242B
file
.gitignore 300B
file
package-lock.json 711KB
file
package.json 3KB
zip 文件大小:300.07KB