Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.

Support Bower and NPM #21

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ or you can use CloudFlare CDN:
<link href="//cdnjs.cloudflare.com/ajax/libs/authy-form-helpers/2.3/form.authy.min.css" media="screen" rel="stylesheet" type="text/css">
<script src="//cdnjs.cloudflare.com/ajax/libs/authy-form-helpers/2.3/form.authy.min.js" type="text/javascript"></script>

## Install with Bower or NPM

bower install authy-form-helpers --save

or

npm install authy-form-helpers --save

## Registration form (user enabling two factor)

Expand Down
30 changes: 30 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "authy-form-helpers",
"version": "2.4.0",
"homepage": "https://github.com/authy/authy-form-helpers",
"authors": [
"Authy Inc. <[email protected]>"
],
"description": "Authy javascripts and css file to help create quick forms for the authy api",
"main": [
"src/form.authy.min.js",
"src/form.authy.min.css"
],
"moduleType": [
"globals"
],
"keywords": [
"Authy",
"2fa",
"form",
"helper"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require('./src/form.authy.min.js');
24 changes: 24 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "authy-form-helpers",
"version": "2.4.3",
"description": "Authy javascripts and css file to help create quick forms for the authy api",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cepinos/authy-form-helpers.git"
},
"keywords": [
"2fa",
"Form",
"helpers"
],
"author": "Authy Inc. <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/cepinos/authy-form-helpers/issues"
},
"homepage": "https://github.com/cepinos/authy-form-helpers#readme"
}