New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@perp/common

Package Overview
Dependencies
Maintainers
7
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@perp/common

Perpetual Protocol Curie (v2) backend common library

  • 0.1.14
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
7
Weekly downloads
 
Created
Source

common

Run all tests

  1. Add .env to the local dir
L2_WEB3_ENDPOINT=
SUBGRAPH_ENDPOINTS=
SUBGRAPH_NAME=
  1. Run
npm run clean | npm run build | npm run test

Publish NPM package

  1. Make sure privateConstants files won't be included
npm run clean
npm run build
# Following command should output nothing
npm pack --dry-run 2>&1 > /dev/null | grep privateConstants
  1. npm run release

Using NPM >= v8.11.0

If your npm >= v8.11.0, running npm pack packs almost no files in package. This is because npm follows .gitignore in workspace directory and excludes the /build directory. A workaround might be removing /build from .gitignore before run npm pack, or using leagcy npm version.

https://github.com/npm/cli/issues/5001

Keywords

FAQs

Package last updated on 31 Jan 2023

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