bobpack
It's a builder!
Last updated a year ago by soinou .
MIT · Original npm · Tarball · package.json
$ cnpm install bobpack 
SYNC missed versions from official npm registry.

Bob (the builder)

Warning Totally in development, totally not usable, mostly for my personal use, so I won't do support on this

Builder generating a webpack configuration from a fluid API

Usage:

// In a webpack.config.js

const { bob } = require("bobpack");

module.exports = (env, options) =>
    // For example to target node.js
    bob(env, options, "node")
        // What to use to build the source maps
        .devtool("#source-map")

        // Could also be used like this
        .devtool(production => (production ? "#source-map" : "#cheap-module-source-map"))

        // Adds an entry (name => path)
        .entry("index", "packages/index.ts")

        // Can create multiple entries and use an array instead of a string
        .entry("cli", ["packages/cli/.entry1.ts", "packages/cli/entry2.ts"])

        // Modules to use (See below for available ones)
        .modules("typescript")

        // Optional namespace for your source code
        .namespace("@bob", "packages")

        // Where to output stuff
        .output("bin")

        // Resolve
        .resolve("packages")

        // Clean
        .clean("bin")

        // Build configuration
        .build();

Current Tags

  • 0.5.6                                ...           latest (a year ago)

22 Versions

  • 0.5.6                                ...           a year ago
  • 0.5.5                                ...           a year ago
  • 0.5.4                                ...           a year ago
  • 0.5.3                                ...           a year ago
  • 0.5.2                                ...           a year ago
  • 0.5.1                                ...           a year ago
  • 0.5.0                                ...           a year ago
  • 0.4.8                                ...           a year ago
  • 0.4.6                                ...           a year ago
  • 0.4.5                                ...           a year ago
  • 0.4.4                                ...           a year ago
  • 0.4.3                                ...           a year ago
  • 0.4.2                                ...           a year ago
  • 0.4.1                                ...           a year ago
  • 0.4.0                                ...           a year ago
  • 0.3.1                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 23
Dependencies (26)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |