$ git clone https://github.com/devonzuegel/aldine
$ cd aldine
$ yarn install
All 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 saved
stylelint **/*.css
lists all violations of formatting rulesstylefmt -r **/*.css -c .stylelintrc
fixes some violations.stylelintrc
defines Aldine's CSS formatting rulestslint --fix src/**/*.ts?
fixes Typescript errorstslint.json
defines Aldine's Typescript formatting rulestsconfig.json
. These are enforced any time the project is compiled (e.g. npm start
, npm test
),