Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/eccenca/ecc-dotfiles

This project contains common dotfiles for ui projects, e.g. for babel and eslint.
https://github.com/eccenca/ecc-dotfiles

Last synced: about 1 month ago
JSON representation

This project contains common dotfiles for ui projects, e.g. for babel and eslint.

Awesome Lists containing this project

README

        

# dotfiles

This repository provides common files for elds-ui javascript repositories:

* `.babelrc` configuration
* `.eslintrc` configuration
* `.editorconfig` configuration
* Several files are added to `.npmignore` and `.gitignore` files between a `#START` and an `#END` tag.
* `.gitlab` configuration folder is copied to the current project

To use this package simply install it as a dev dependency and run it afterwards:

```
npm install --save-dev ecc-dotfiles
node_modules/.bin/ecc-link-dotfiles
```

or add it as an init script to the package.json to run it after each `npm install`

```
{
"name": "example",
"version": "6.2.0",
"scripts": {
"init": "ecc-link-dotfiles",
"prepublish": "npm run init && npm run build"
},
"devDependencies": {
"ecc-dotfiles": "^2.6.0"
}
}
```