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

firenpm.web

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firenpm.web

Setup Babel, linting and tests for your NPM module without configuration

  • 1.2.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

firenpm node version Build Status npm version

Quick start

Install command line tools:

npm -g install firenpm.cli runjs

Create your project:

firenpm your-project

...and done! Now just cd your-project and type run test. Linting, ES6 and tests work out of the box!

screen shot 2016-09-25 at 19 59 50

Make a note that your dependencies in package.json will look like this:

{
  "name": "package-name",
  "version": "1.0.0",
  // ...
  "dependencies": {},
  "devDependencies": {
    "firenpm": "X.X.X"
  },
  // ...
}

there is no test tools, eslint or babel plugins there! That means you don't need to care about maintaining those dependencies, that's a job of firenpm.

What's inside ?

firenpm ecosystem consist of 2 npm modules: firenpm.cli and firenpm.

  • firenpm.cli - command line tool which generates project structure for you, from firenpm template
  • firenpm - provides necessary devDependencies

Tools used by firenpm:

  • babel (with presets: es2015, react and stage-2)
  • eslint (with standard and standard-react config)
  • mocha
  • mochaccino (test asserts, mocking)
  • runjs (minimalistic building tool)

Web extension

For testing packages which should work within the browser like React components there is firenpm.web extension.

To create project with that extension:

firenpm your-project --web

then

cd your-project
run test # will do tests on fake dom (jsdom)
run web # it will open up the browser, with your code

Web extension provides webpack setup which will run your code in the browser for visual testing purposes. In your devDependencies firenpm.web packages will be installed. Package stores all necessary tools, so you don't have to manage all webpack dependencies.

FAQs

Package last updated on 01 Oct 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