-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: uses babel 6 and ajv 3.x, which introduces json-schema 5 proposal, allow schemas without id by passing them explicitly during walk-over
- Loading branch information
Showing
7 changed files
with
48 additions
and
29 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"plugins": [ | ||
"transform-es2015-spread", | ||
"transform-es2015-destructuring", | ||
"transform-strict-mode", | ||
"transform-es2015-parameters", | ||
"transform-es2015-shorthand-properties", | ||
"transform-object-rest-spread", | ||
"transform-class-properties" | ||
] | ||
} |
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,18 +1,19 @@ | ||
{ | ||
"name": "ms-validation", | ||
"version": "0.5.7", | ||
"description": "ajv-based validation utils for mservice architecture", | ||
"main": "./lib/index.js", | ||
"scripts": { | ||
"compile": "if [[ $NODE_ENV != \"production\" ]]; then ./node_modules/.bin/babel -d ./lib --optional es7.objectRestSpread,es7.classProperties,es7.decorators ./src; fi", | ||
"compile": "./node_modules/.bin/babel -d ./lib ./src", | ||
"pretest": "npm run compile", | ||
"prepublish": "npm run compile", | ||
"test": "./node_modules/.bin/mocha --require ./test/babelhook.js --bail -R spec" | ||
"test": "./node_modules/.bin/mocha", | ||
"semantic-release": "./node_modules/.bin/semantic-release pre && npm publish && ./node_modules/.bin/semantic-release post" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/makeomatic/ms-validation.git" | ||
}, | ||
"author": "Vitaly Aminev <v@makeomatic.me>", | ||
"author": "Vitaly Aminev <v@makeomatic.ru>", | ||
"contributors": [ | ||
"Dmitry Gorbunov <[email protected]> (http://tewi.tk)" | ||
], | ||
|
@@ -22,20 +23,31 @@ | |
}, | ||
"homepage": "https://github.com/makeomatic/ms-validation#readme", | ||
"devDependencies": { | ||
"babel": "^5.8.34", | ||
"babel-core": "^5.8.33", | ||
"babel-cli": "^6.3.17", | ||
"babel-eslint": "^4.1.6", | ||
"babel-plugin-transform-class-properties": "^6.3.13", | ||
"babel-plugin-transform-es2015-destructuring": "^6.3.15", | ||
"babel-plugin-transform-es2015-parameters": "^6.3.26", | ||
"babel-plugin-transform-es2015-shorthand-properties": "^6.3.13", | ||
"babel-plugin-transform-es2015-spread": "^6.3.14", | ||
"babel-plugin-transform-object-rest-spread": "^6.3.13", | ||
"babel-plugin-transform-strict-mode": "^6.3.13", | ||
"babel-register": "^6.3.13", | ||
"chai": "^3.4.1", | ||
"eslint": "^1.10.3", | ||
"eslint-config-airbnb": "^2.0.0", | ||
"eslint-config-airbnb": "^2.1.1", | ||
"eslint-plugin-mocha": "^1.1.0", | ||
"mocha": "^2.3.4" | ||
"install": "^0.4.1", | ||
"mocha": "^2.3.4", | ||
"semantic-release": "^4.3.5" | ||
}, | ||
"dependencies": { | ||
"ajv": "^2.3.0", | ||
"ajv-i18n": "^1.1.0", | ||
"bluebird": "^3.0.6", | ||
"ajv": "^3.1.0", | ||
"bluebird": "^3.1.1", | ||
"callsite": "^1.0.0", | ||
"common-errors": "^0.5.3" | ||
}, | ||
"release": { | ||
"verifyConditions": [] | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--require babel-register | ||
-R spec | ||
|