Skip to content

Commit

Permalink
Remove Typescript so that only one language is used in the project (ES6)
Browse files Browse the repository at this point in the history
  • Loading branch information
corinadev authored and mpvader committed Oct 25, 2018
1 parent f77325a commit 4cfca89
Show file tree
Hide file tree
Showing 18 changed files with 285 additions and 371 deletions.
9 changes: 0 additions & 9 deletions .babelrc

This file was deleted.

4 changes: 4 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
presets: ["@babel/preset-env"],
plugins: [["transform-react-jsx", { pragma: "h" }], ["@babel/plugin-proposal-class-properties"]]
}
4 changes: 2 additions & 2 deletions dist/bundle.js

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions jestconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"]
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?)$",
"moduleFileExtensions": ["js", "jsx", "json", "node"]
}
267 changes: 100 additions & 167 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4cfca89

Please sign in to comment.