【文件属性】:
文件名称:要点灯
文件大小:266KB
文件格式:ZIP
更新时间:2021-02-20 20:49:24
TypeScript
要点灯
要求
节点v12 +
安装
下载并安装
克隆此仓库: git clone https://github.com/kobajs/gist-light.git )或git clone git@github.com:kobajs/gist-light.git (SSH)
[可选]全局安装Yarn: npm install -g yarn
安装项目依赖项: npm install或yarn install
发展
添加新组件或功能时,它将自动刷新,从而带来更好的开发人员体验:
npm start
运行测试
在重构或添加新功能之前,请确保测试正常:
npm run test
运行故事书
运行隔离的环境来开发组件:
npm run storybook
运行构建
生成准备用于生产分发的已编译源代码:
npm run build
运行组件生成器( PLUS )
生成具有所有项目标准的组
【文件预览】:
gist-light-main
----.plop()
--------generators()
--------plopfile.js(137B)
--------templates()
----public()
--------manifest.json(492B)
--------index.html(2KB)
--------robots.txt(67B)
--------favicon.ico(4KB)
--------logo512.png(9KB)
--------logo192.png(5KB)
----yarn.lock(611KB)
----src()
--------index.tsx(851B)
--------serviceWorkerRegistration.ts(5KB)
--------components()
--------service-worker.ts(3KB)
--------assets()
--------features()
--------api()
--------App.tsx(335B)
--------react-app-env.d.ts(40B)
--------setupTests.ts(241B)
--------reportWebVitals.ts(425B)
----.storybook()
--------main.js(238B)
--------preview.js(283B)
----tsconfig.json(503B)
----README.md(2KB)
----.gitignore(310B)
----package.json(2KB)