Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daggerok/daggerok-names

example of open source library
https://github.com/daggerok/daggerok-names

mocha opensource

Last synced: 25 days ago
JSON representation

example of open source library

Awesome Lists containing this project

README

        

# open source project [![Build Status](https://travis-ci.org/daggerok/daggerok-names.svg?branch=master)](https://travis-ci.org/daggerok/daggerok-names)

1. run `npm init`
2. add LICENSE, README.md and CODE_OF_CONDUCT.md files
3. implement your library
4. add tess: `npm i mocha assert`
5. add linting: `npm eslint`, `./node_modules/.bin/eslint --init`
6. add CI: `touch .travis.yml`
7. add code coverage: `npm i nyc`
8. add git hook (prepush) to do not brake anything: `npm i husky` (ignoe them with: `git push ... --no-verify`)
9. configure file matters for the npm registry: `npm i pack`, see "files" in package.json file
10. share library: `npm version`, `npm login`, `npm publish`