I would like to have repository with default NPM modules and its configs for all future NPM projects.
For now the configs consists of tsconfig.json
, tslint.json
, .prettierrc
.
The goal is to have a simple way for creating new project with custom defaults and also have possibility of changing configs for all of these projects from one place.
I tried to create my own NPM module with package.json
containing dependencies I want to have in all my new projects and its configs in root. The problem is obvious - if I install this package into new project, modules (and configs) are scoped to my custom module and not to my newly created project.
Does anyone has any idea how to deal with this?