Skip to content

Files

Latest commit

author
Nick Balestra
Jan 28, 2017
d5bf5ee · Jan 28, 2017

History

History
42 lines (30 loc) · 1.21 KB

File metadata and controls

42 lines (30 loc) · 1.21 KB

cycle-scripts

Cycle-app core flavor.

Language

ES6 ( Babel ) configured with:

Bundler

Webpack configured with

Scripts

  • npm start: Start development server listening on port 8000
  • npm test: Run the default test tool
  • npm run build: Generate a production-ready build content, on the build folder (this folder is gitignored)
  • npm run eject: Copy flavor's dependencies and configurations to the project folder, update package.json and remove the dependency on the flavored cycle-scripts. This is irreversible.

Boilerplate:

The flavor generate the following file structure:

my-awesome-cycle-app/
├── node_modules/
├── public/
│   ├── favicon.ico
│   └── index.html
├── src/
│   ├── app.js
│   ├── app.test.js
│   └── index.js
└── package.json

Config files

  • .babelrc (Added on the root after running the eject script)