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: 12 months ago
JSON representation
This project contains common dotfiles for ui projects, e.g. for babel and eslint.
- Host: GitHub
- URL: https://github.com/eccenca/ecc-dotfiles
- Owner: eccenca
- Created: 2016-05-11T14:04:09.000Z (about 10 years ago)
- Default Branch: develop
- Last Pushed: 2022-02-11T21:56:05.000Z (over 4 years ago)
- Last Synced: 2025-05-16T02:06:15.802Z (about 1 year ago)
- Language: JavaScript
- Size: 273 KB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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"
}
}
```