Skip to content

Commit

Permalink
refactor: Mv default arg of BABEL_OUTPUT_DIR to transpile:react (#1370)
Browse files Browse the repository at this point in the history
refactor: Mv default arg of BABEL_OUTPUT_DIR to transpile:react
  • Loading branch information
ptbrowne authored Jan 29, 2020
2 parents 9f900e5 + 9c21d35 commit 6fd975e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
"screenshots": "node scripts/screenshots.js --screenshot-dir ./screenshots --styleguide-dir ./build/react",
"test": "yarn test:jest",
"test:jest": "jest",
"transpile:react": "babel react/ --out-dir $BABEL_OUTPUT_DIR/react --verbose",
"transpile:helpers": "env babel helpers/ --out-dir $BABEL_OUTPUT_DIR/helpers --verbose",
"transpile": "env BABEL_OUTPUT_DIR=${BABEL_OUTPUT_DIR:-transpiled} BABEL_ENV=${BABEL_ENV:-transpilation} bash -c \"yarn transpile:react && yarn transpile:helpers\"",
"transpile:react": "env BABEL_OUTPUT_DIR=${BABEL_OUTPUT_DIR:-transpiled} bash -c \"babel react/ --out-dir \\$BABEL_OUTPUT_DIR/react --verbose\"",
"transpile:helpers": "env BABEL_OUTPUT_DIR=${BABEL_OUTPUT_DIR:-transpiled} bash -c \"env babel helpers/ --out-dir \\$BABEL_OUTPUT_DIR/helpers --verbose\"",
"transpile": "env BABEL_ENV=${BABEL_ENV:-transpilation} bash -c \"yarn transpile:react && yarn transpile:helpers\"",
"transpile:es5": "env BABEL_OUTPUT_DIR=es5 BABEL_ENV=transpilationES5 yarn transpile",
"posttranspile": "postcss transpiled/react/stylesheet.css --replace",
"posttranspile:es5": "postcss es5/react/stylesheet.css --replace",
Expand Down

0 comments on commit 6fd975e

Please sign in to comment.