1.0.14 • Published 7 years ago

dir-babel v1.0.14

Weekly downloads
64
License
ISC
Repository
github
Last release
7 years ago

Little script on top of babel to compare src and lib before running babel on needed files

Install

npm install --save-dev dir-babel

usage

add to package.json scripts

scripts: {
  ....
  "build": "npm run dir-babel --src-dir=src --out-dir=lib"
  ....
}

This will compare all source files in scr-dir and only transpile files that are newer or midding in out-dir

arguments:

  • --src-dir - source folder
  • --out-dir - destination folder (folder to put transpiled files to)
  • --watch - run in watch mode
  • --copy-files - copy files that are not needed to be transplied (images, styles, e.t.c.). When given, all thoe files will be copied from src-dir for out-dir
  • --skip-initial-build - do not do initial build
1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago