https://github.com/vukanac/ci-base-nodejs
CI with NodeJs and TravisCI
https://github.com/vukanac/ci-base-nodejs
ci
Last synced: 9 months ago
JSON representation
CI with NodeJs and TravisCI
- Host: GitHub
- URL: https://github.com/vukanac/ci-base-nodejs
- Owner: vukanac
- License: mit
- Created: 2017-12-12T21:13:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T16:18:34.000Z (over 2 years ago)
- Last Synced: 2025-02-10T15:17:45.268Z (11 months ago)
- Topics: ci
- Language: JavaScript
- Size: 328 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project: CI Base with TravisCI
[](https://travis-ci.org/vukanac/ci-base-nodejs)
## Description
> CI with NodeJs and TravisCI
Code is hosted on *GitHub* and tests are run on *TravisCI* on every push to `master` branch.
This is base set of tools that help writing JavaScript code.
They are not obligatory but they are great help!
### eslint
Eslint will help you to write code with consistent style (quotation, indentation, unused variable, ...).
### flow
Consider using `@flow` for type checking.
If file starts with `/* @flow */` it will be checked for type use consistency.
It will tell if you return type that is not expected, or eg. pass parameter of
string and number is expected.
For example check `src/index.js`.
### The best use
Install plugins to Sublime Text 3:
* SublimeLinter
* SublimeLinter-contrib-eslint
* SublimeLinter-flow
* ESLint-Formatter
Optional:
* Babel
* DocBlockr
* FileManager
* GitGutter
* Pretty JSON
* SublimeLinter-annotations
## Install
git clone https://github.com/vukanac/ci-base-nodejs.git jsstarter
cd jsstarter
npm install
## Start dev
npm run flow start
npm run flow status
npm test
npm run flow stop
Watching for changes:
npm run test-watch
## Test
npm test
## License
MIT
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fvukanac%2Fci-base-nodejs?ref=badge_large)
Vladimir Vukanac