@swensonpn/proposal-es-build-scripts

0.0.26 • Public • Published

Proposal Ecmascript Build Tool

Command line tool for building vanilla JavaScript projects, with code linting, tests, and a development server.

About

This project is needed for implementation of vanilla front-end projects such as the bootstrapping functionality required for a micro front-end framework or for theme projects maintained by NeSIS and possibly the campuses.

The project primarily uses Gulp as its build tool, but using it directly means replicating much of the code and configuration in every front-end project. This command-line tool encapsulates the logic into a single pre-configured dependency that can be customized if the need arises.

Basic Usage

# package.json
{
  "name": "project-name",
  ...
  "devDependencies": {
    "@nesis/proposal-es-build-scripts": "0.0.25"
  }
}

Advanced Usage

# package.json
{
  "name": "project-name",
  ...
  "devDependencies": {
    "@nesis/proposal-es-build-scripts": "0.0.25"
  },
  "_build": {
    "bundle": {
      "entries": {
        "name": "http",
        "input": "src/http/index.mjs"
      },
      {
        "name": "http_worker",
        "input":"src/http/worker.mjs"
      }
    },
    "config": {
      "eslint":{},
      "mocha":{},
      "rollup": {

      }
    },
    "tasks": [
      "path/to/custom/task.js"
    ],
    "workflows": {
      "name": {
        "description": "Something to display in the help",
        "workflow": [
          "task",
          "anothertask",
          {
            "series": [
              "task"
            ]
          }
        ]
      }
    }
  }
}

Resources

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.261latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.261
0.0.250
0.0.240
0.0.230
0.0.220
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10
0.0.00

Package Sidebar

Install

npm i @swensonpn/proposal-es-build-scripts

Weekly Downloads

1

Version

0.0.26

License

ISC

Unpacked Size

34.9 kB

Total Files

26

Last publish

Collaborators

  • swensonpn