Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vukanac/ci-base-nodejs
CI with NodeJs and TravisCI
https://github.com/vukanac/ci-base-nodejs
ci
Last synced: 4 days 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 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T16:18:34.000Z (over 1 year ago)
- Last Synced: 2023-08-15T09:51:23.525Z (over 1 year 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
[![Build Status](https://travis-ci.org/vukanac/ci-base-nodejs.svg?branch=master)](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-FormatterOptional:
* 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 stopWatching for changes:
npm run test-watch
## Test
npm test
## License
MIT
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fvukanac%2Fci-base-nodejs.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fvukanac%2Fci-base-nodejs?ref=badge_large)
Vladimir Vukanac