Skip to content

Commit

Permalink
move configs to package.json, delete yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
ejnshtein committed Jan 9, 2021
1 parent 162c4e4 commit 3dfc874
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 2,376 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

23 changes: 0 additions & 23 deletions .eslintrc

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

29 changes: 0 additions & 29 deletions jest.json

This file was deleted.

64 changes: 63 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "tsc",
"lint": "eslint ./src --ignore-pattern *.test.*",
"lint:fix": "eslint ./src --ignore-pattern *.test.* --fix",
"test": "jest --config jest.json",
"test": "jest",
"pretest": "npm run build",
"pb": "np",
"build:docs": "typedoc",
Expand Down Expand Up @@ -65,5 +65,67 @@
"typedoc-plugin-nojekyll": "^1.0.1",
"typedoc-plugin-sourcefile-url": "^1.0.6",
"typescript": "^4.1.3"
},
"eslintConfig": {
"ignorePatterns": [
"dist/*"
],
"env": {
"node": true
},
"extends": [
"standard",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"camelcase": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"no-prototype-builtins": "off",
"@typescript-eslint/no-var-requires": "warn"
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"arrowParens": "always",
"trailingComma": "none"
},
"jest": {
"testRegex": [
"(/__tests__/.*|(\\.|/))\\.[jt]sx?$"
],
"testEnvironment": "node",
"preset": "ts-jest",
"setupFilesAfterEnv": [
"./jest/jest.setup.ts"
],
"globals": {
"ts-jest": {
"isolatedModules": true
}
},
"collectCoverage":true,
"collectCoverageFrom": [
"**/*.{ts,js}"
],
"coveragePathIgnorePatterns": [
"node_modules",
"__test__",
"jest",
"dist",
"coverage",
"docs",
"types",
"src/lib"
]
}
}
Loading

0 comments on commit 3dfc874

Please sign in to comment.