← 全部工具

infrablocks/ruby_npm

热度 65 更新于 开发与构建

A simple Ruby wrapper for invoking NPM commands.

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

RubyNPM

A simple wrapper around the npm binary to allow execution from within a Ruby program, RSpec test or Rakefile.

Installation

Add this line to your application's Gemfile:

gem 'ruby_npm'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rubynpm

Usage

To require RubyNPM:

require 'ruby_npm'

Documentation

  • API docs

Development

To install dependencies and run the build, run the pre-commit build:

./go

This runs all unit tests and other checks including coverage and code linting / formatting.