Skip to content

Commit

Permalink
Add build to prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
David Emanuel Luksic committed Mar 31, 2020
1 parent 49020e7 commit 2905f8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
]
},
"scripts": {
"prepare": "npm run build",
"build": "npm run build-lib && npm run build-es && npm run build-node8",
"build-lib": "rimraf lib && BABEL_ENV=lib babel src --ignore __tests__,__mocks__ -d lib && COPY_TO_FOLDER=lib npm run build-flow && COPY_TO_FOLDER=lib npm run build-dts ",
"build-es": "rimraf es && BABEL_ENV=es babel src --ignore __tests__,__mocks__ -d es && COPY_TO_FOLDER=es npm run build-flow && COPY_TO_FOLDER=es npm run build-dts",
Expand All @@ -94,4 +95,4 @@
"test": "npm run coverage && npm run lint && npm run flow",
"semantic-release": "semantic-release"
}
}
}

0 comments on commit 2905f8d

Please sign in to comment.