Socket
Socket
Sign inDemoInstall

@easypost/build

Package Overview
Dependencies
17
Maintainers
7
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @easypost/build

build tools for easypost frontends


Version published
Weekly downloads
38
increased by1800%
Maintainers
7
Created
Weekly downloads
 

Readme

Source

node-build

Tools for generating webpack config to build easypost projects like @easypost/api.

  • npm install --save @easypost/node-build

Support

This package is meant to build @easypost packages only, and will not accept public issues unless relating to packages under the @easypost NPM namespace.

Building

  • Add "build": "ep-node-build" to your npm scripts
  • Add "watch": "ep-node-build --watch" to your npm scripts too
  • Add "lint": "ep-node-build lint" to your npm scripts for maximum points. You can run it with --fix too.

Run npm run build or npm run watch respectively.

Customizing

This will automatically load and merge any ${CWD}/webpack.config.js you happen to be using. If you need further customization, create a node-build.js file, which exports a function that takes webpack config and returns webpack config (see ./examples/node-build.js for a template.)

Changelog

2.6.6

  • Undoes previous versions changes because it introduced a breaking change, bumps mini-css-extract-plugin to fix a high severity "Regular Expression Denial of Service" vulnerability

2.6.5

  • Update css-loader, file-loader, and postcss-loader deps to resolve vulnerabilities

2.6.4

  • Fix copy-webpack-plugin usage
  • Update some npm packages to resolve vulnerabilities

2.6.0

  • Add support for:
    • Nullish coalescing operator
    • Optional chaining operator
  • Update most @babel and webpack dependencies to latest and add to peerDeps

2.5.0

  • Improve handling of compiling files from node_modules with a better regex.

License

MIT Licensed. See LICENSE file for details. Copyright (c) 2019 Easypost (Simpler Postage, Inc).

FAQs

Last updated on 10 Jun 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc