Skip to content

Commit

Permalink
Merge pull request #7 from atom-ide-community/codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Aug 31, 2020
2 parents bb81615 + 48923d6 commit dd0aeb9
Show file tree
Hide file tree
Showing 3 changed files with 498 additions and 343 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ let plugins = [
require("@babel/plugin-syntax-import-meta"),
[require("@babel/plugin-proposal-class-properties"), { loose: true }],
require("@babel/plugin-proposal-json-strings"),

// compile time code generation
require("babel-plugin-codegen"),
require("babel-plugin-preval"),
];


Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@
"@babel/preset-env": "7.11.0",
"@babel/preset-flow": "7.10.4",
"@babel/preset-react": "7.10.4",
"babel-plugin-add-module-exports": "^1.0.2"
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-codegen": "^4.0.1",
"babel-plugin-preval": "^5.0.0"
},
"peerDependencies": {
"@babel/cli": "7.10.5",
"@babel/core": "7.11.1"
"@babel/core": "7.11.4"
},
"devDependencies": {
"@babel/cli": "7.10.5",
"@babel/core": "7.11.1",
"npm-check-updates": "7.0.3"
"@babel/core": "7.11.4",
"npm-check-updates": "8.0.1"
}
}
Loading

0 comments on commit dd0aeb9

Please sign in to comment.