@znemz/js-common-gulp-monorepo-typescript

0.2.1 • Public • Published

gulp-monorepo-typescript

Gulp tasks which will build all packages in a lerna project via babel, typescript or both.

How to use

Create a gulpfile.js in the root of your lerna or monorepo project.

Note if you're using esm modules like below, then launch gulp via "gulp": "node -r esm ./node_modules/.bin/gulp", until node supports es modules by default.

import createTasks from '@znemz/js-common-gulp-monorepo-typescript';
import path from 'path';

const tsConfig = require('./tsconfig.json');
const lernaConfig = require('./lerna.json');

createTasks({ root: path.resolve(__dirname), lernaConfig, tsConfig });

Package Sidebar

Install

npm i @znemz/js-common-gulp-monorepo-typescript

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

27.8 kB

Total Files

16

Last publish

Collaborators

  • stevenheinrich
  • nmccready