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

daruma

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daruma

Build tool inspired by Rust's Cargo package manager

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

daruma

The JavaScript build tool.

What is this?

A tool that gets you up and running writing ES2015+ JavaScript with no fuss.

Why do I want this?

If you've ever had to start a node project or library from scratch with all of the cool features like ES2015 with babel and bundling with webpack, you know it can be a hassle. Daruma allows you to focus on what's most important: building your project.

Who is this for?

Primarily for those who don't want to go through the hassle of setting up an ES2015+ project but still want to flexibility that a starter kit can't provide.

Getting Started

Install Daruma from npm npm install -g daruma

Initialize a new project

daruma new <projectname> [-l for libraries with a specific bundled outfile]

Enter the Project Directory

cd <projectname>

Write ES2015+ code in your src/ folder. (index.js is the entry for libraries)

then ...

Test your code

Write tests in your test/ directory using whatever assertion library you'd like and run daruma test to run tests using Mocha

Compile your EsNext JavaScript

daruma build [-w for watching files] [-p for production library builds]

You now have valid ES5 code in your dist/ folder! Wasn't that easy?

Daruma leverages the power of...

  • npm
  • Babel
  • Webpack
  • Shelljs
  • Mocha
  • Vorpal

...to give you a clean and easy development experience.

This wouldn't be possible without those projects, so thank you JavaScript ecosystem. :)

Roadmap:

Features wanted:

  • daruma new <projectname> -l (Project Initialization for Library with single entry point)
  • daruma new <projectname> (Project initialization for compiling whole source)
  • daruma init [-l] (Transform a directory for use with daruma)
  • daruma build [-p -w for libs] (Compile project depending on project type. Bundled file to dist/ for lib and compile whole src/ tree to dist/ for normal projects. -p is for compiling minimized 'production' code and -w watches for changes)
  • daruma test (First class testing)
  • daruma install <packagename(s)> (Add package(s) from NPM and save to package.json)
  • daruma uninstall <packagename(s)> (Remove dependencies from project and package.json)
  • daruma update update the version of daruma on your machine
  • daruma pre-build scripts

Keywords

FAQs

Package last updated on 06 May 2016

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