Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
refactor project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
edno committed May 10, 2021
1 parent 095793d commit 72fb911
Show file tree
Hide file tree
Showing 79 changed files with 49,600 additions and 7,444 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
12 changes: 12 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
node_modules
dist
*.log
.DS_Store
.eslintcache
.vscode
# stryker temp files
.stryker-tmp
# istanbul code coverage
.nyc_output
coverage
build
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ dist
.stryker-tmp
# istanbul code coverage
.nyc_output
coverage
coverage
build
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ dist
.DS_Store
.eslintcache
.stryker-tmp
.nyc_output
.nyc_output
build
10 changes: 2 additions & 8 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
module.exports = {
projects: ["<rootDir>/tests/unit", "<rootDir>/tests/integration"],
projects: ["<rootDir>/packages"],
verbose: true,
collectCoverageFrom: ["<rootDir>/src/**/*.js"],
collectCoverageFrom: ["<rootDir>/packages/**/src/**/*.js"],
collectCoverage: true,
coverageReporters: ["json"],
coverageDirectory: "<rootDir>/.nyc_output",
testEnvironment: "node",
rootDir: __dirname,
moduleNameMapper: {
"@/(.*)": "<rootDir>/src/$1",
"@data/(.*)": "<rootDir>/tests/__data__/$1",
"@assets/(.*)": "<rootDir>/assets/$1",
},
};
Loading

0 comments on commit 72fb911

Please sign in to comment.