0.0.26 • Published 3 years ago

@swensonpn/proposal-es-build-scripts v0.0.26

Weekly downloads
62
License
ISC
Repository
-
Last release
3 years ago

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

0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.21

3 years ago

0.0.22

3 years ago

0.0.23

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.1

3 years ago

0.0.2

3 years ago

0.0.0

3 years ago

1.0.0

3 years ago