Skip to content

Commit

Permalink
chore: move config files into package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunnerLivio committed Sep 14, 2023
1 parent 44971f1 commit 00b3f62
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 101 deletions.
28 changes: 0 additions & 28 deletions .commitlintrc.json

This file was deleted.

26 changes: 0 additions & 26 deletions .eslintrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

27 changes: 0 additions & 27 deletions jest.json

This file was deleted.

116 changes: 110 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,12 @@
"publish:npm": "npm publish --access public",
"test": "npm run test:ut && npm run test:import",
"test:e2e": "jest --config=e2e/jest-e2e.json --detectOpenHandles --forceExit",
"test:ut": "jest --config=jest.json --detectOpenHandles",
"test:ut": "jest --detectOpenHandles",
"test:ut:cov": "npm run test:ut -- --coverage",
"test:import": "ts-node tools/import-check.ts",
"release": "release-it",
"prepare": "husky install"
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"dependencies": {
"boxen": "5.1.2",
"check-disk-space": "3.4.0"
Expand Down Expand Up @@ -164,5 +159,114 @@
"@prisma/client": {
"optional": true
}
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"prettier": {
"trailingComma": "all",
"singleQuote": true
},
"renovate": {
"semanticCommits": true,
"packageRules": [{
"depTypeList": ["devDependencies"],
"automerge": true
}],
"extends": [
"config:base"
]
},
"commitlint": {
"extends": [
"@commitlint/config-angular"
],
"rules": {
"subject-case": [
2,
"always",
[
"sentence-case",
"start-case",
"pascal-case",
"upper-case",
"lower-case"
]
],
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
"sample"
]
]
}
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"transform": {
"^.+\\.ts$": "ts-jest",
"^.+\\.tsx?$": "ts-jest"
},
"setupFiles": [
"<rootDir>/node_modules/reflect-metadata/Reflect.js"
],
"testRegex": "/lib/.*\\.(test|spec).(ts|tsx|js)$",
"collectCoverageFrom": [
"lib/**/*.{js,jsx,tsx,ts}",
"!**/node_modules/**",
"!**/vendor/**"
],
"coverageReporters": [
"json",
"lcov"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint/eslint-plugin"
],
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"root": true,
"env": {
"node": true,
"jest": true
},
"rules": {
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-non-null-assertion": "off"
}
}
}
10 changes: 0 additions & 10 deletions renovate.json

This file was deleted.

0 comments on commit 00b3f62

Please sign in to comment.