$ git clone https://github.com/devonzuegel/aldine
$ cd aldine
$ yarn installAll commands defaults to development environment. You can set NODE_ENV to production or use the npm commands below.
# Running
$ npm start # This starts the app in development mode
# Starting it with the production build
$ NODE_ENV=production npm start # or
$ npm run start:prod
# Building
$ npm build # This builds the app in development mode
# Commands below builds the production build
$ NODE_ENV=production npm build # or
$ npm run build:prod
# Testing
$ npm test # One-time run
$ grunt watch # Continuously runs tests every time a file is savedstylelint **/*.csslists all violations of formatting rulesstylefmt -r **/*.css -c .stylelintrcfixes some violations.stylelintrcdefines Aldine's CSS formatting rules
tslint --fix src/**/*.ts?fixes Typescript errorstslint.jsondefines Aldine's Typescript formatting rules- Configuration for the Typescript compiler and ATL (Awesome Typescript Loader) is defined in
tsconfig.json. These are enforced any time the project is compiled (e.g.npm start,npm test),