Skip to content

Commit

Permalink
build: Configure babel build
Browse files Browse the repository at this point in the history
  • Loading branch information
nervetattoo committed Mar 23, 2020
1 parent d2c7371 commit ceaba40
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"presets": [
[
"@babel/preset-env"
],
"@babel/preset-react"
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
yarn-error.log
build
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"build": "babel src -d build",
"release": "standard-version"
},
"keywords": [
"sanity",
"plugin",
"mermaid",
"graph"
],
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
Expand All @@ -18,13 +24,16 @@
"husky": "^4.2.3",
"precise-commits": "^1.0.2",
"prettier": "^2.0.1",
"react": "^16.8.0",
"standard-version": "^7.1.0"
},
"dependencies": {
"debounce-fn": "^4.0.0",
"mermaid": "^8.4.8",
"prop-types": "^15.7.2",
"react": "^16.13.1"
"prop-types": "^15.7.2"
},
"peerDependencies": {
"react": "^16.8.0"
},
"config": {
"commitizen": {
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3654,7 +3654,7 @@ react-is@^16.8.1:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==

react@^16.13.1:
react@^16.8.0:
version "16.13.1"
resolved "https://registry.yarnpkg.com/react/-/react-16.13.1.tgz#2e818822f1a9743122c063d6410d85c1e3afe48e"
integrity sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==
Expand Down

0 comments on commit ceaba40

Please sign in to comment.