Skip to content

Commit

Permalink
Merge pull request #2 from beforeyoubid/feature/typescript
Browse files Browse the repository at this point in the history
Feature/typescript
  • Loading branch information
alice-byb authored Feb 9, 2021
2 parents c59f1ac + 852b73a commit 3e40468
Show file tree
Hide file tree
Showing 26 changed files with 1,659 additions and 829 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"node": "current"
}
}
]
],
"@babel/preset-typescript"
]
}
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,23 @@ jobs:
key: node_modules-{{ checksum "yarn.lock" }}
paths:
- ~/app/node_modules/
typescript:
<<: *defaults
steps:
- checkout
- restore_cache:
key: node_modules-{{ checksum "yarn.lock" }}
- run: NODE_ENV=development yarn
- run: yarn ts
- save_cache:
key: node_modules-{{ checksum "yarn.lock" }}
paths:
- ~/app/node_modules/

workflows:
version: 2
application:
jobs:
- unit-test
- lint
- typescript
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
*.lock
*.md
LICENSE
./dist
./coverage
dist/
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"sourceType": "module"
},
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"env": {
Expand Down
14 changes: 14 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
node_modules
coverage
.circleci
.eslintrc
.babelrc
.eslintignore
src/__tests__
./dist
.prettierrc
jest.config.ts
yarn-error.log
tsconfig.json
.codeclimate.yml
./src/**
Loading

0 comments on commit 3e40468

Please sign in to comment.