create-poi-react-app

0.1.5 • Public • Published

create-poi-react-app

NPM version NPM downloads CircleCI donate chat

The create-react-app that you're familiar with but uses Poi instead of react-scripts.

preview

Install

yarn global add create-poi-react-app
create-poi-react-app my-app
# Or use the shorter alias 
cpra my-app
 
# Or use `yarn create` or `npx` 
yarn create poi-react-app my-app
npx create-poi-react-app my-app

Usage

Folder structure:

.
├── package.json
├── poi.config.js
├── public
│   ├── favicon.ico
│   ├── index.html
│   └── manifest.json
├── src
│   ├── App.css
│   ├── App.js
│   ├── App.test.js
│   ├── index.css
│   ├── index.js
│   ├── logo.svg
│   └── registerServiceWorker.js
└── yarn.lock

Yeah it's exactly the same as a create-react-app project but with an extra poi.config.js.

yarn dev

Starts development server.

yarn build

Builds your app to ./dist folder.

yarn test

Starts the test runner.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

create-poi-react-app © EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).

egoist.moe · GitHub @EGOIST · Twitter @_egoistlily

Readme

Keywords

none

Package Sidebar

Install

npm i create-poi-react-app

Weekly Downloads

6

Version

0.1.5

License

MIT

Last publish

Collaborators

  • rem