-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(pouchdb/express-pouchdb#232) - Modernize pouchdb-seamless-auth
- Loading branch information
1 parent
9aee614
commit a773d17
Showing
8 changed files
with
294 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
dist | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
sudo: false | ||
language: node_js | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
|
||
node_js: | ||
- "0.10" | ||
|
||
services: | ||
- couchdb | ||
|
||
before_install: | ||
- npm i -g npm@^2.0.0 | ||
|
||
before_script: | ||
- npm prune | ||
|
||
script: npm run $COMMAND | ||
|
||
env: | ||
matrix: | ||
- COMMAND='helper -- lint' | ||
- COMMAND='helper -- js-test' | ||
- COMMAND='build' | ||
|
||
#after_success: | ||
# - npm run helper -- semantic-release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,38 @@ | ||
{ | ||
"name": "pouchdb-seamless-auth", | ||
"version": "1.0.2", | ||
"main": "index.js", | ||
"description": "Seamless switching between online (CouchDB) and offline (PouchDB) authentication.", | ||
"repository": "marten-de-vries/pouchdb-seamless-auth", | ||
"keywords": [ | ||
"pouch", | ||
"pouchdb", | ||
"couch", | ||
"couchdb", | ||
"users", | ||
"authentication", | ||
"auth", | ||
"seamless", | ||
"online", | ||
"offline" | ||
], | ||
"license": "Apache-2.0", | ||
"author": "Marten de Vries", | ||
"dependencies": { | ||
"pouchdb-promise": "^0.0.0", | ||
"extend": "^1.2.1", | ||
"promise-nodify": "^1.0.0", | ||
"pouchdb-auth": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"browserify": "^4.1.8", | ||
"uglify-js": "^2.4.13", | ||
"es3ify": "^0.1.3" | ||
}, | ||
"scripts": { | ||
"build-js": "mkdir -p dist && browserify index.js -s SeamlessAuth -g es3ify -o dist/pouchdb-seamless-auth.js", | ||
"build": "npm run build-js; cd dist; uglifyjs pouchdb-seamless-auth.js -mc > pouchdb-seamless-auth.min.js" | ||
} | ||
"name": "pouchdb-seamless-auth", | ||
"version": "1.0.3", | ||
"main": "index.js", | ||
"description": "Seamless switching between online (CouchDB) and offline (PouchDB) authentication.", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/marten-de-vries/pouchdb-seamless-auth.git" | ||
}, | ||
"keywords": [ | ||
"pouch", | ||
"pouchdb", | ||
"couch", | ||
"couchdb", | ||
"users", | ||
"authentication", | ||
"auth", | ||
"seamless", | ||
"online", | ||
"offline" | ||
], | ||
"license": "Apache-2.0", | ||
"author": "Marten de Vries", | ||
"dependencies": { | ||
"pouchdb-promise": "^0.0.0", | ||
"extend": "^1.2.1", | ||
"promise-nodify": "^1.0.0", | ||
"pouchdb-auth": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"pouchdb-plugin-helper": "^2.0.1" | ||
}, | ||
"scripts": { | ||
"helper": "./node_modules/.bin/pouchdb-plugin-helper", | ||
"test": "npm run helper -- test", | ||
"build": "npm run helper -- build SeamlessAuth" | ||
} | ||
} |
Oops, something went wrong.