@oakslab/ooo-config
v0.1.0
Published
Shared configuration files for OAK'S LAB projects
Downloads
829
Readme
We're OAK'S LAB
The creative ecosystem specializing in building businesses, architecting software and educating the future leaders in tech.
What's this?
These are configs we use on our projects.
- Common - common for each project
- Frontend - frontend specific
- Backend - backend specific
- Mobile - mobile specific
- Devops - devops specific
- QA - qa specific
- Git - git specific
Install
$ yarn add @oakslab/ooo-config --dev
or
$ npm install --save-dev @oakslab/ooo-config
Usage
tsconfig.json
{
"extends": "@oakslab/ooo-config/common/tsconfig.json",
// It's also possible to override the rules
"compilerOptions": {
"outDir": "dist",
"lib": ["es2018"]
},
"exclude": ["node_modules", "example-folder"]
}
tslint.json
{
"extends": "@oakslab/ooo-config/common/tslint.json",
// It's also possible to override the rules
"linterOptions": {
"exclude": ["example.js"]
}
}
.prettierrc.js
Name a configuration file .prettierrc.js
and import default config from this package.
module.exports = require("@oakslab/ooo-config/common/.prettierrc");
.jest.config.js
module.exports = require("@oakslab/ooo-config/common/.jest.config");
Package publishing
- Bump the version in
package.json
and commit the changes. For example0.0.3
-->0.0.4
. This package should follow Semantic Versioning 2.0.0. - Go to Release page and create a new release from the master branch. Provide the same tag version you specified in the previous step. Title and description are also important, let your team members know what has been done in this release.
- Publish release and Travis CI does the rest.