Cycle Scripts TypeScript Webpack
Create-cycle-app core flavor.
Language
TypeScript
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 thebuild
folder (this folder is gitignored) -
npm run eject
: Copy flavor's dependencies and configurations to the project folder, updatepackage.json
and remove the dependency on the flavoredcycle-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.ts
│ ├── app.test.ts
│ └── index.ts
├── package.json
└── tsconfig.json
### Config files
* .babelrc (Added on the root after running the eject script)
* .tsconfig.json