valido
Advanced tools
Comparing version 2.0.20 to 2.1.0
{ | ||
"name": "valido", | ||
"version": "2.0.20", | ||
"version": "2.1.0", | ||
"description": "Check and validation library", | ||
"main": "dist/index.js", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "npm run transpile && mocha", | ||
"deploy-patch": "npm version patch && npm publish && git add . && git commit -m", | ||
"deploy-minor": "npm version minor && npm publish && git add . && git commit -m", | ||
"deploy-major": "npm version major && npm publish && git add . && git commit -m", | ||
"transpile": "babel src --retain-lines --out-dir dist --copy-files", | ||
"test": "mocha", | ||
"prepublish": "npm test" | ||
@@ -33,12 +29,8 @@ }, | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"chai": "^4.1.2", | ||
"eslint": "^4.11.0", | ||
"lodash": "^4.17.4", | ||
"mocha": "^4.0.1", | ||
"chai": "^4.2.0", | ||
"eslint": "^5.6.1", | ||
"lodash": "^4.17.11", | ||
"mocha": "^5.2.0", | ||
"mocha-eslint": "^4.1.0" | ||
} | ||
} |
@@ -8,4 +8,2 @@ # Valido | ||
[![Teamcity](https://teamcity.moooji.com/app/rest/builds/buildType:(id:Valido_Main)/statusIcon?guest=1)](https://teamcity.moooji.com/app/rest/builds/buildType:(id:Valido_Main)/statusIcon?guest=1) | ||
## Installing | ||
@@ -12,0 +10,0 @@ `npm install valido` |
@@ -7,6 +7,6 @@ "use strict"; | ||
const chai = require("chai"); | ||
const valido = require("../dist/index"); | ||
const valido = require("../index"); | ||
const expect = chai.expect; | ||
const predicateDir = path.join(__dirname, "../dist/predicates"); | ||
const predicateDir = path.join(__dirname, "../predicates"); | ||
const predicateTestsDir = path.join(__dirname, "./predicates"); | ||
@@ -13,0 +13,0 @@ const predicateFiles = fs.readdirSync(predicateDir); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5
39379
50
1022
334
1