Skip to content

Commit

Permalink
Merge pull request #34 from dabapps/babel-peer-deps
Browse files Browse the repository at this point in the history
Add babel deps as peers
  • Loading branch information
JakeSidSmith authored Nov 30, 2020
2 parents 4221609 + 92123d2 commit 4cc701d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ As of version `0.4` Node less than `10.13` is not supported.
Install `@dabapps/create-webpack-config`:

```shell
npm i @dabapps/create-webpack-config -S
npm i @dabapps/create-webpack-config -P
```

Install peer dependencies (TypeScript must be at least version 2):

```shell
npm i typescript webpack@5 webpack-cli@4 core-js@3 -S
npm i typescript webpack@5 webpack-cli@4 core-js@3 @babel/core@7 @babel/generator@7 -P
```

## Setup
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dabapps/create-webpack-config",
"version": "0.4.3",
"version": "0.4.4",
"description": "A utility for creating webpack configs with common settings",
"main": "src/index.js",
"scripts": {
Expand Down Expand Up @@ -60,6 +60,8 @@
"tslint": "^5.20.1"
},
"peerDependencies": {
"@babel/core": "7",
"@babel/generator": "7",
"core-js": "3",
"typescript": ">= 2",
"webpack": "5",
Expand Down

0 comments on commit 4cc701d

Please sign in to comment.