3.2.0 • Published 3 years ago

appcd-gulp v3.2.0

Weekly downloads
19
License
Apache-2.0
Repository
github
Last release
3 years ago

appcd-gulp

Common gulp tasks and utilities.

Visit https://github.com/appcelerator/appc-daemon for more information.

:warning: appcd-gulp@2.x requires Gulp 4. Use appcd-gulp@1.x for Gulp 3 compatibility.

Report issues to GitHub issues. Official issue tracker in JIRA.

Prerequisites

appcd-gulp requires you to globally install gulp 4.x:

[sudo] npm i -g gulp

Installation

npm i appcd-gulp --save-dev

Usage

Create a file in the root of your project called gulpfile.js:

'use strict';

require('appcd-gulp')({
	gulp:     require('gulp'),
	pkgJson:  require('./package.json'),
	template: 'standard',
	babel:    'node8'
});

There is currently only one template: standard.

You can specify the Node.js version you wish to transpile down to. Possibly values are node4, node6, node7, node8, node10, node12, and node14.

Gulp Tasks

Completely deletes all generated folders or a specific type:

$ gulp clean
$ gulp clean-coverage
$ gulp clean-dist
$ gulp clean-docs

Run eslint against your source code and tests.

$ gulp lint
$ gulp lint-src
$ gulp lint-test

Invoke Babel and transpile your code into the dist directory.

$ gulp build

Build and run unit tests using Mocha.

$ gulp test

Build and run unit tests with coverage reports using Mocha and nyc.

$ gulp coverage

Watch source files for changes to trigger a re-build.

$ gulp watch

Watch source and test files for changes to trigger a re-build and run tests.

$ gulp watch-test

Legal

This project is open source under the Apache Public License v2 and is developed by Axway, Inc and the community. Please read the LICENSE file included in this distribution for more information.

3.2.0

3 years ago

3.1.6

3 years ago

3.1.5

3 years ago

3.1.4

3 years ago

3.1.3

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.4.0

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.2.1

5 years ago

1.2.0

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.1.0-0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

1.0.0-30

6 years ago

1.0.0-29

6 years ago

1.0.0-28

6 years ago

1.0.0-27

6 years ago

1.0.0-26

6 years ago

1.0.0-25

6 years ago

1.0.0-24

6 years ago

1.0.0-23

6 years ago

1.0.0-22

6 years ago

1.0.0-21

6 years ago

1.0.0-20

6 years ago

1.0.0-19

6 years ago

1.0.0-18

6 years ago

1.0.0-17

6 years ago

1.0.0-16

6 years ago

1.0.0-15

6 years ago

1.0.0-14

6 years ago

1.0.0-13

6 years ago

1.0.0-12

6 years ago

1.0.0-11

6 years ago

1.0.0-10

6 years ago

1.0.0-9

6 years ago

1.0.0-8

6 years ago

1.0.0-7

6 years ago

1.0.0-6

6 years ago

1.0.0-5

6 years ago

1.0.0-4

6 years ago

1.0.0-3

6 years ago

1.0.0-2

6 years ago

1.0.0-1

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago