1.3.1 • Published 5 years ago
@ngineer/config-webpack v1.3.1
ngineer
Web development made easy.
A collection of extendable configuration files and cli commands.
- ava
- babel
- commitlint
- husky
- nyc
- postcss
- prettier
- rollup
- stylelint
- tslint
- tsconfig
- webpack
Create Ngineer app
Create React apps on the fly.
Includes SSR and a mock server.
yarn create ngineer-app
Bin
yarn add @ngineer/cli
Usage
$ ngineer <input> [...flags]
Options
--prod, -p enable production mode
--fix, -f fix linting errors
--tsc, -t pack with tsc
--rollup, -r pack with rollup.js
--watch, -w watch files
--update, -u update snapshots
Transpile
Ngineer allows transpiling via tsc, rollup or babel (default)
ngineer
ngineer --rollup
ngineer --tsc
Build
Ngineer builds isomorphic React apps.
ngineer build
Develop
Ngineer serves isomorphic React apps via a dev server.
ngineer dev-server
Clean
Ngineer cleans output folders and more
ngineer clean
ngineer clean node_modules
Format
Ngineer will format files with prettier.
ngineer format "**/*.tsx?"
Lint
Ngineer will lint files with stylelint and tslint.
ngineer lint "**/*.tsx?"
Test
Ngineer uses Ava for testing and nyc for coverage.
ngineer test