jk-build-suite
A suite of build tools for providing dev ENV to JIKE.
Last updated 2 years ago by sunebear .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jk-build-suite 
SYNC missed versions from official npm registry.

JK-Build-Suite

A suite of build tools for providing dev ENV to JIKE, which is a formula = JK-* + IMPL + ENV. There is a list that explains what the factors stand for:

  • JK-* - Basic, common and independent libraries/components, you would find them via filter jk-.

  • IMPL - An implentation of a special BLL requirement. Generally, the name prefix of IMPL projects is jike-.

  • ENV - Nowadays, frondend projects must use build-structure to compile source files. But Webpack is suck, our code should be esay to run. Highly customizable build system will take days and days when initializing a project. So we need a unified and config-less build suite in dev environment.

Installation

$ npm i --save-dev jk-build-suite

CLI Usage

# Start a dev server, via Webpack Dev Server
$ jkbs start --config webpack.config.js

# Build source for production, via Webpack
$ NODE_ENV=production jkbs build --config webpack.config.js

# Upload static files to CDN, via Gulp
$ jkbs deploy 'dist/static/**' --output build-suite

Configuration Template

import {
  createWebpackConfig,
  mergeWebpackConfig
} from 'jk-build-suite'

const buildSuiteConfig = {
  DIST_DIR: 'dist'
}

const baseConfig = createWebpackConfig(
  buildSuiteConfig
)

const instanceConfig = {
  entry: {
    app: 'src/main'
  }
}

module.exports = mergeWebpackConfig(
  baseConfig,
  instanceConfig
)

The template is pithy, see the test/config directory for more complicated configurations.

Supported Languages

  • Template: HTML, EJS, Pug
  • Style: CSS, Stylus
  • Script: JavaScript, TypeScript, Vue

License

MIT

Current Tags

  • 0.1.34                                ...           latest (2 years ago)

42 Versions

  • 0.1.34                                ...           2 years ago
  • 0.1.33                                ...           2 years ago
  • 0.1.32                                ...           2 years ago
  • 0.1.31                                ...           2 years ago
  • 0.1.30                                ...           2 years ago
  • 0.1.29                                ...           2 years ago
  • 0.1.28                                ...           2 years ago
  • 0.1.27                                ...           2 years ago
  • 0.1.26                                ...           2 years ago
  • 0.1.25                                ...           2 years ago
  • 0.1.24                                ...           2 years ago
  • 0.1.23                                ...           2 years ago
  • 0.1.22                                ...           2 years ago
  • 0.1.21                                ...           2 years ago
  • 0.1.20                                ...           2 years ago
  • 0.1.19                                ...           2 years ago
  • 0.1.18                                ...           2 years ago
  • 0.1.17                                ...           2 years ago
  • 0.1.16                                ...           2 years ago
  • 0.1.15                                ...           2 years ago
  • 0.1.14                                ...           2 years ago
  • 0.1.13                                ...           2 years ago
  • 0.1.12                                ...           2 years ago
  • 0.1.11                                ...           2 years ago
  • 0.1.10                                ...           2 years ago
  • 0.1.9                                ...           2 years ago
  • 0.1.8                                ...           2 years ago
  • 0.1.7                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |