UNPKG

specmatic

Version:
74 lines (73 loc) 2.1 kB
{ "name": "specmatic", "version": "2.18.1", "specmaticVersion": "2.18.1", "description": "Node wrapper for Specmatic", "main": "dist/index.js", "scripts": { "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "build": "npm test && rimraf dist && npm run build:types && npm run build:js", "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src --out-dir dist --ignore 'src/**/__tests__/**/*.ts' --extensions \".ts,.js,.tsx\" --source-maps inline", "test": "rimraf coverage && jest --coverage", "prepack": "node src/downloadSpecmaticJar.js", "prepare": "npm run prepack && npm run build:types && npm run build:js" }, "repository": { "type": "git", "url": "git+https://github.com/specmatic/specmatic-node.git" }, "keywords": [ "contract", "testing", "specmatic", "contract driven development", "cdd", "openapi", "swagger", "asyncapi", "api", "mocking", "stubbing" ], "author": "Sahil Sharma (sahilaug@gmail.com)", "license": "ISC", "bugs": { "url": "https://github.com/specmatic/specmatic-node/issues" }, "homepage": "https://github.com/specmatic/specmatic-node#readme", "bin": { "specmatic": "dist/bin/index.js" }, "specmatic": { "logLevel": "debug" }, "dependencies": { "axios": "^1.7.7", "fast-xml-parser": "^4.5.0", "terminate": "^2.8.0", "tree-kill": "^1.2.2", "winston": "^3.14.2" }, "devDependencies": { "@babel/cli": "^7.25.6", "@babel/core": "^7.25.2", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.25.4", "@babel/preset-typescript": "^7.24.7", "@types/express": "^5.0.0", "@types/jest": "^29.5.13", "@types/jest-when": "^3.5.5", "@types/node": "^22.7.2", "@types/supertest": "^6.0.2", "express": "^4.21.0", "jest": "^29.7.0", "jest-extended": "^6.0.0", "jest-mock-extended": "^3.0.7", "jest-when": "^3.6.0", "rimraf": "^6.0.1", "supertest": "^7.0.0", "typescript": "^5.6.2" } }