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

https://github.com/mridang/example-grunt

A reference repository that I use for keeping track of how a grunt project should be set up
https://github.com/mridang/example-grunt

babel browserify eslint grunt jshint lebab mocha prettier uglify

Last synced: about 2 months ago
JSON representation

A reference repository that I use for keeping track of how a grunt project should be set up

Awesome Lists containing this project

README

          

A reference project on how I set up a Grunt toolchain with the following tools:

1. Babel
2. Prettier
3. JSHint
4. ESLint
5. Lebab

# Auditing

``
npm audit fix
``

# Testing

```
npx mocha --reporter=markdown
npx nyc --reporter=html --reporter=text mocha
npx nyc --reporter=html --reporter=text mocha --reporter=markdown
```

## Choosing a Node Version

Use only LTS versions and define that in the `.nvmrc` file

## Updating packages downloaded from the registry

Updating local and global packages you downloaded from the registry helps
keep your code and tools stable, usable, and secure.

### Updating local packages

We recommend regularly updating the local packages your project depends on
to improve your code as improvements to its dependencies are made.

Navigate to the root directory of your project and ensure it contains a
package.json file:

```
cd /path/to/project
```

In your project root directory, run the update command:

```
npm update
```

To test the update, run the outdated command. There should not be any output.

```
npm outdated
```