UNPKG

swagger-diff

Version:
95 lines (94 loc) 2.73 kB
{ "name": "swagger-diff", "version": "0.6.0", "description": "Swagger Diff", "author": "Nicolas Fortin <nicolas.fortin37@gmail.com>", "license": "MIT", "main": "./lib/index.js", "files": [ "bin", "lib", "dist", "src" ], "scripts": { "clean": "rimraf lib dist", "lint": "eslint .", "test": "mocha --compilers js:babel-register --recursive --watch-extensions json", "test:watch": "npm test -- --watch", "check": "npm run lint && npm run test", "build:genRulesIndex": "node generateRulesIndex.js", "build:lib": "babel src -d lib && cpy src/**/*.json lib", "build:dist": "webpack --config webpack.config.js", "build": "npm run clean && npm run build:genRulesIndex && npm run build:lib && npm run build:dist", "preversion": "npm run build && npm run check", "postversion": "git push && git push --tags && npm run clean", "prepublish": "npm run build", "postpublish": "npm run clean" }, "repository": { "type": "git", "url": "git://github.com/zallek/swagger-diff.git" }, "homepage": "https://github.com/zallek/swagger-diff", "bugs": "https://github.com/zallek/swagger-diff/issues", "keywords": [ "swagger", "diff", "deep-diff", "versioning" ], "engines": { "node": ">=0.10" }, "dependencies": { "chalk": "^1.1.1", "commander": "^2.9.0", "debug": "^2.2.0", "deep-diff": "^0.3.3", "jsonfile": "^2.2.3", "lodash.defaultsdeep": "^3.10.0", "lodash.foreach": "^3.0.3", "lodash.get": "^3.7.0", "lodash.isnumber": "^3.0.1", "lodash.isobject": "^3.0.2", "lodash.isplainobject": "^3.2.0", "lodash.mapvalues": "^3.0.1", "lodash.omit": "^3.1.0", "lodash.pick": "^3.1.0", "lodash.zipobject": "^3.0.0", "semver": "^5.0.3", "swagger-parser": "^3.3.0", "json-schema-ref-parser": "zallek/json-schema-ref-parser#v1", "extend": "^3.0.0" }, "devDependencies": { "babel-cli": "^6.5.1", "babel-core": "^6.5.2", "babel-eslint": "^6.1.2", "babel-loader": "^6.2.3", "babel-plugin-add-module-exports": "^0.1.2", "babel-preset-es2015": "^6.5.0", "babel-preset-stage-2": "^6.5.0", "babel-register": "^6.5.2", "chai": "^3.0.0", "cpy": "^3.4.1", "eslint": "^2.9.0", "eslint-config-airbnb-base": "^3.0.1", "eslint-plugin-import": "^1.7.0", "estraverse": "^4.2.0", "estraverse-fb": "^1.3.1", "expect": "^1.6.0", "json-loader": "^0.5.4", "mocha": "^2.2.5", "mock-local-storage": "^1.0.2", "require-all": "^2.0.0", "rimraf": "^2.4.3", "sinon": "^1.17.1", "webpack": "^1.12.13", "yargs": "^3.5.3" }, "bin": { "swagger-diff": "bin/swagger-diff.js" } }