https://github.com/ntamvl/mina-npm2
Mina npm
https://github.com/ntamvl/mina-npm2
Last synced: about 2 months ago
JSON representation
Mina npm
- Host: GitHub
- URL: https://github.com/ntamvl/mina-npm2
- Owner: ntamvl
- License: mit
- Created: 2016-11-03T09:12:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-03T15:19:35.000Z (over 8 years ago)
- Last Synced: 2025-01-25T15:32:28.860Z (4 months ago)
- Language: Ruby
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Mina::Npm2
## Folk from https://github.com/mina-deploy/mina-npm
Npm plugin for [mina](https://github.com/ntamvl/mina-npm2)
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'mina-npm2'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install mina-npm2
## Usage
require 'mina/npm2'
task :deploy => :environment do
deploy do
...
invoke 'npm:install'
invoke 'bower:install'
invoke 'grunt:task'
...
end
end## Configuration
set :npm_bin # default: 'npm'
set :bower_bin # default: 'bower'
set :grunt_bin # default: 'grunt'
set :npm_options # default: '--production'
set :bower_options # default: '--allow-root'
set :grunt_options # default: ''
set :grunt_task # default: 'build'## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mina-npm. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).