1.0.0 • Published 1 year ago

react-cron-cn v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

✨ Online preview

https://mkgrow.github.io/cron-react/#/

📦 Install

npm install cron-react
yarn add cron-react

🔨 Usage

import React from 'react';
import Cron from 'cron-react';

const App = () => (
  <>
    <Cron defaultType='customize' value={value} onChange={setValue} />
  </>
);

⌨️ Development

clone locally:

$ git clone git@github.com:mkgrow/cron-react.git
$ cd cron-react
$ npm install
$ npm start

Open your browser and visit http://localhost:8000

🤖 Command introduction

NameDescriptionRemarks
npm installInstall dependencies-
npm startProject beginingDocument usage dumi, component development and documentation development together
npm testComponent test-
npm run test:coverageCode coverage review-
npm run prettierCode prettier-
npm run buildComponent packagingUse father
npm run docs:buildDocument packaging-
npm run docs:deployDocument releaseThe default is to use GitHub Pages
npm run deployDocument package release-

🔗 Links