Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@runs/builder

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@runs/builder

Highly configurable project builder based on Parcel

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Early stage development. Not intended for prod use.

Usage (CLI):

runs-builder --config builder.json --app api

Options:

  • --config: Path to config file.
  • --app: App to build.
  • --watch: Build and watch for file changes, and build again.
  • --serve: Build and serve the app (if it's a front-end web app).
  • --native: To be combined with --serve to run this app as a node app. Also can be combined with --watch.

Example conf:

JSON file or JS file that returns an array in this format:

The config property accepts all configs that are Parcel compatible.

[
  {
    "name": "api",
    "entry": "./index.ts",
    "config": {
      "outDir": "./build",
      "cache": false,
      "target": "node",
      "logLevel": 3,
      "sourceMaps": true,
      "detailedReport": true,
      "bundleNodeModules": false
    }
  }
]

You can add virtually any number of apps to build, you must specify the --app option.

FAQs

Package last updated on 04 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc