Napolean Paced Mischeviously

    This package has been deprecated

    Author message:

    This module has been deprecated. Please use https://github.com/chrisblossom/backtrack-preset-node instead.

    @backtrack/preset-node-module

    0.5.8 • Public • Published

    This module has been deprecated. Please use chrisblossom/backtrack-preset-node instead.

    @backtrack/preset-node-module

    npm Linux Build Status Windows Build Status Code Coverage

    About

    backtrack preset that sets up a node module.

    Features

    Installation

    npm install --save-dev @backtrack/preset-node-module

    Usage

    // backtrack.config.js
     
    'use strict';
     
    module.exports = {
        presets: ['@backtrack/node-module'],
    };

    Options

    'use strict';
     
    module.exports = {
        presets: [
            [
                '@backtrack/node-module',
                {
                    /**
                     * Enable Babel using @babel/preset-env
                     *
                     * default: false
                     */
                    babel: true,
     
                    /**
                     * Enable Typescript
                     * Additional requirement: npm install --save-dev typescript
                     *
                     * default: false
                     */
                    typescript: true,
     
                    /**
                     * Enable flow
                     * Additional requirement: npm install --save-dev flow-bin
                     *
                     * default: false
                     */
                    flow: true,
     
                    /**
                     * Use node >=8.9.0
                     *
                     * default: '>=6.9.0'
                     */
                    nodeVersion: '>=8.9.0',
     
                    /**
                     * Use npm >=5.0.0
                     *
                     * default: '>=3.10.10'
                     */
                    npmVersion: '>=5.0.0',
                },
            ],
        ],
    };

    Install

    npm i @backtrack/preset-node-module

    DownloadsWeekly Downloads

    43

    Version

    0.5.8

    License

    MIT

    Unpacked Size

    118 kB

    Total Files

    38

    Last publish

    Collaborators

    • avatar