Skip to content

Commit 383e1c4

Browse files
committed
Added babel scripts
Signed-off-by: Jaid <jaid.jsx@gmail.com>
1 parent 2f4c01d commit 383e1c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
},
3131
"scripts": {
3232
"clean": "rimraf dist/ test/**/dist/",
33+
"babel:prod": "rimraf dist/src-transpiled/production && cross-env NODE_ENV=production babel --out-dir dist/src-transpiled/production --source-maps true src",
34+
"babel:dev": "rimraf dist/src-transpiled/production && babel --out-dir dist/src-transpiled/development src",
3335
"build:prod": "cross-env NODE_ENV=production webpack",
3436
"build:dev": "webpack",
3537
"test": "jest && npm run build:prod && cross-env MAIN=dist/package/production jest",

0 commit comments

Comments
 (0)