@backtrack/preset-node-app

backtrack preset to bootstrap a node application

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Feb 17, 2019Aug 7, 2018Minified + gzip package size for @backtrack/preset-node-app in KB

Readme

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

@backtrack/preset-node-app

npm Linux Build Status Windows Build Status Code Coverage

About

backtrack preset that bootstraps a node app.

Features

Installation

npm install --save-dev @backtrack/preset-node-app flow-bin

Usage

// backtrack.config.js

'use strict';

module.exports = {
    presets: ['@backtrack/node-app'],
};

Options

// backtrack.config.js

'use strict';

module.exports = {
    presets: [
        [
            '@backtrack/node-app',
            {
                /**
                 * Disable flow
                 *
                 * default: true
                 */
                flow: false,

                /**
                 * Use node ^10
                 *
                 * default: '^8.9.0'
                 */
                nodeVersion: '^10',

                /**
                 * Use npm >=6
                 *
                 * default: '>=5.6.0'
                 */
                npmVersion: '>=6',

                /**
                 * Use custom babel config file
                 */
                babelConfig: './.babelrc.js',
            },
        ],
    ],
};

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.