bookshelf-shield
Advanced tools
Comparing version 2.0.0 to 2.1.0
'use strict'; | ||
require('babel/register'); | ||
const Shield = require('./Shield.js'); | ||
@@ -5,0 +3,0 @@ const wrapRelations = require('./wrapRelations.js'); |
{ | ||
"name": "bookshelf-shield", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Access control list based authorization for bookshelf models", | ||
@@ -14,2 +14,3 @@ "main": "lib/main.js", | ||
"lodash": "3.6.0", | ||
"precommit-hook": "^3.0.0", | ||
"thenify-all": "1.6.0" | ||
@@ -33,3 +34,6 @@ }, | ||
"scripts": { | ||
"test": "grunt test" | ||
"test": "grunt test", | ||
"lint": "jshint lib/. test/.", | ||
"validate": "npm ls", | ||
"build": "babel lib/main.js -o dist/main.js && git add dist/main.js" | ||
}, | ||
@@ -45,3 +49,9 @@ "repository": { | ||
}, | ||
"homepage": "https://github.com/dylancwood/bookshelf-shield" | ||
"homepage": "https://github.com/dylancwood/bookshelf-shield", | ||
"pre-commit": [ | ||
"lint", | ||
"validate", | ||
"test", | ||
"build" | ||
] | ||
} |
58753
29
1331
6
+ Addedprecommit-hook@^3.0.0
+ Addedcli@1.0.1(transitive)
+ Addedconsole-browserify@1.1.0(transitive)
+ Addeddate-now@0.1.4(transitive)
+ Addeddom-serializer@0.2.2(transitive)
+ Addeddomelementtype@1.3.12.3.0(transitive)
+ Addeddomhandler@2.3.0(transitive)
+ Addeddomutils@1.5.1(transitive)
+ Addedentities@1.0.02.2.0(transitive)
+ Addedexit@0.1.2(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedgit-validate@2.2.4(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedhtmlparser2@3.8.3(transitive)
+ Addedisarray@0.0.1(transitive)
+ Addedjshint@2.13.6(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedminimatch@3.0.83.1.2(transitive)
+ Addedprecommit-hook@3.0.0(transitive)
+ Addedreadable-stream@1.1.14(transitive)
+ Addedstring_decoder@0.10.31(transitive)
+ Addedstrip-json-comments@1.0.4(transitive)