GithubHelp home page GithubHelp logo

rakeshmenon / dotfiles-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pagesource/dotfiles-generator

0.0 1.0 0.0 18 KB

Utility to auto-generate dotfiles like .gitignore, .npmignore, .editorconfig etc. in your project.

License: MIT License

JavaScript 100.00%

dotfiles-generator's Introduction

Dotfiles Generator

Utility to auto-generate dotfiles like .gitignore, .npmignore, .editorconfig etc. in your project.

npm GitHub issues GitHub license

Installation | Usage | Available dotfiles | Contributing | License

Installation

Global Installation

Global installation is recommended, it allow you to generate and update dotfiles in any folder without specifying an absolute path.

npm install dotfiles-generator --global

Local Installation

You can also install dotfiles-generator locally as a dev dependency, and it will automatically add the common dotfiles required for any project. If a dotfile already exist, it will not overwrite instead skip it.

npm install dotfiles-generator --save-dev 

Usage

Once the dotfiles-generator is installed globally, you can add all available dotfiles by passing their name as argument. For e.g.

dotfiles-generator .gitignore .editorconfig

This will add .gitignore and .editorconfig in your current working directory.

If you have installled dotfiles-generator as local dependency, you can still access the command line by running from node_modules/.bin

node node_modules/.bin/dotfiles-generator .gitignore .editorconfig

Overwriting

If any of the dotfile already exist, dotfiles-generator will not overwrite it. To force overwrite, you need to pass --overwrite. For e.g.

dotfiles-generator .gitignore .editorconfig --overwrite

Available dotfiles

.gitignore
.editorconfig
.npmignore
.stylelintrc

Additional information on dotfiles

.stylelintrc: Stylelint configuration (stylelint.io)

Contributing

If you also like the idea of creating standard dotfiles, which can be shared with others, and you think you can contribute by improving the currently available dotfiles or adding new ones, please send a pull request.

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

dotfiles-generator's People

Contributors

sun1l avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.