We're OAK'S LAB
The creative ecosystem specializing in building businesses, architecting software and educating the future leaders in tech.
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
$ yarn add @oakslab/ooo-config --dev
or
$ npm install --save-dev @oakslab/ooo-config
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");
- 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.