【文件属性】:
文件名称:toolbox:适用于iFixit的可重用React组件库
文件大小:320KB
文件格式:ZIP
更新时间:2021-05-07 05:31:32
JavaScript
工具箱
用于的可重用React组件库。
安装
npm install @ifixit/toolbox
开发设置
# Clone the repo
git clone https://github.com/iFixit/toolbox.git
cd toolbox
# Install the dependencies
npm install
# Start the styleguide dev server
npm start
代码风格
工具箱遵循《 。 代码风格和品质由执行和。 您可以使用lint:fix脚本格式化代码:
npm run lint:fix
提交消息格式
Toolbox遵循中的提交消息。 运行npm run cm而不是git commit将指导您完成提交过程。
每个提交消息都包含一个标题,一个正文和一个页脚。 标头具有一种特殊的格式,其中包括类型,范围和主题:
<
【文件预览】:
toolbox-master
----.eslintrc.json(1KB)
----doczrc.js(545B)
----.gitignore(47B)
----.babelrc(122B)
----package.json(3KB)
----commitlint.config.js(200B)
----package-lock.json(1.16MB)
----src()
--------components()
--------index.js(1KB)
--------index.mdx(424B)
--------constants()
--------internal()
----.travis.yml(358B)
----README.md(6KB)
----.eslintignore(18B)
----netlify.toml(64B)
----docs()
--------components()
----setup-test-env.js(88B)