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

formelio

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formelio

Forms for human beings

  • 0.0.8
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Forms for human beings

NPM JavaScript Style Guide

See https://sgmonda.github.io/formelio/ for documentation and usage examples.

Installation

npm install --save formelio

Usage

import React, { Component } from 'react';

import MyComponent from 'formelio';
import 'formelio/dist/index.css';

class Example extends Component {
  render() {
    return <MyComponent />;
  }
}

License

GPL-3.0 © Sergio Garcia Mondaray

Development

Git hooks

This project uses git hooks for:

Environment
First time
$ npm i

To prevent Invalid hook call error during development of another app using formelio as file dependency, I mean:

// path/to/myOtherProject/package.json

"dependencies": {
  "formelio": "path/to/formelio",
}

We should link react version from formelio project. Example:

$ npm link path/to/myOtherProject/node_modules/react-dom
$ cd path/to/myOtherProject/ && npm i
Once working
  • Terminal 1: Open dev server, to compile and bundle everything on every change:

    $ npm run dev
    
  • Terminal 2: Open test watcher, to run tests on every change:

    $ npm run dev:test
    
  • Terminal 3: Serve (watching) the example

    $ npm run dev:site
    
Deployment

To publish on npm:

$ npm publish

To update gh pages:

$ npm run site:deploy

FAQs

Package last updated on 22 Apr 2021

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