- Install Node.js
- Install global:
npm install -g yarn bower
- Set path (e.g.
cd C:\xampp\htdocs\jojoee.com\gulp-starter
) - Go to project: (e.g.
cd simple
) - Install dependencies:
bower install && npm install
- Code style: Airbnb
- Less
- ES6
- Testing with
mocha
- Browsersync
- Inject compliled
css
without refresh - Add UI automated testing (e.g. Zombie.js, Nightwatch)
- Implement Shields.io
- Implement JSHint
- Implement JSCS
Start: `npm run build` or `npm run build.watch`
Test: `npm run test` or `npm run test.watch`
- PHP
- Browsersync
- Inject compliled
css
without refresh - Implement
phpcs
and add it intotravis
Need to
- Setup PHP server
- Setup proxy in `gulpfile.js`
Start: `npm run build.watch`
- Sass
- Testing with
mocha
- Browsersync
- Inject compliled
css
without refresh - Add UI automated testing (e.g. Zombie.js, Nightwatch)
Start: `npm run build` or `npm run build.watch`
Test: `npm run test` or `npm run test.watch`
- Sass
- Testing with
mocha
- Browsersync
- JSHint
- Uglify
- Concat
- Inject compliled
css
without refresh - Add UI automated testing (e.g. Zombie.js, Nightwatch)
Start: `npm run build` or `npm run build.watch`
Test: `npm run test` or `npm run test.watch`
- TypeScript
- Browsersync
- Testing
- Css preprocessor
-
tsconfig.json
-
tslint.json
Start: `npm run build` or `npm run build.watch`
Test: `npm run test` or `npm run test.watch`
Other
- `npm install -g typescript`
- `tsc js/main.ts`