connect-validation
Version:
A middleware that provides `addError()` and `sendError()` response methods.
30 lines (21 loc) • 511 B
Plain Text
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
NODE_LOCAL_BIN=./node_modules/.bin
test: lint mocha
install:
@npm install
lint: jshint
clean:
rm -rf node_modules
jshint:
@$(NODE_LOCAL_BIN)/jshint test.js
mocha:
@$(NODE_LOCAL_BIN)/mocha test.js --reporter spec
demo:
node demo.js