UNPKG

@iamkenos/iris

Version:

Test API endpoints with Axios & Jest using a collection of custom matchers and built-in utility functions.

129 lines (128 loc) 4.02 kB
{ "name": "@iamkenos/iris", "version": "0.5.0", "description": "Test API endpoints with Axios & Jest using a collection of custom matchers and built-in utility functions.", "bin": { "iris": "bin/iris.js" }, "scripts": { "prepare": "husky install", "release:first": "standard-version --first-release", "release:minor": "standard-version --release-as minor", "release:patch": "standard-version --release-as patch", "release:major": "standard-version --release-as major", "lint": "eslint ./", "prebuild": "rimraf build && rimraf *.tgz", "build": "tsc --build tsconfig.build.json", "postbuild": "run-s postbuild:**", "postbuild:paths": "resolve-tspaths", "postbuild:cp:resources": "shx cp -R ./src/cli/resources build/cli/resources", "postbuild:cp:fixtures": "shx cp -R ./demo/fixtures build/cli/resources", "postbuild:cp:config": "shx cp -R ./demo/jest.config.ts build/cli/resources", "postbuild:cp:specs": "shx cp -R ./demo/specs build/cli/resources", "postbuild:cp:snapshots": "shx cp -R ./demo/snapshots build/cli/resources", "postbuild:rm:snapshots": "rimraf ./build/cli/resources/snapshots/schema/actual", "postbuild:mv:tsconfig": "shx mv ./build/cli/resources/tsconfig.test.json ./build/cli/resources/tsconfig.json", "pack": "npm run build && npm pack", "test:demo": "jest --config demo/jest.config.ts", "prereport:demo": "allure -q generate demo/results/allure/ -c -o demo/results/allure/html/", "report:demo": "allure open demo/results/allure/html/", "test:unit": "echo TODO" }, "keywords": [ "api-test", "jest", "axios" ], "author": "iamkenos <alexis.matunog@gmail.com>", "repository": { "type": "git", "url": "git+ssh://git@github.com/iamkenos/iris.git" }, "license": "ISC", "main": "./build/index.js", "types": "./build/index.d.ts", "typesVersions": { "*": { "client": [ "./build/client/index.d.ts" ], "common": [ "./build/common/index.d.ts" ], "config": [ "./build/config/index.d.ts" ], "matchers": [ "./build/matchers/index.d.ts" ], "steps": [ "./build/steps/index.d.ts" ] } }, "exports": { ".": { "import": "./src/index.ts", "require": "./build/index.js" }, "./client": { "import": "./src/client/index.ts", "require": "./build/client/index.js" }, "./common": { "import": "./src/common/index.ts", "require": "./build/common/index.js" }, "./config": { "import": "./src/config/index.ts", "require": "./build/config/index.js" }, "./matchers": { "import": "./src/matchers/index.ts", "require": "./build/matchers/index.js" }, "./steps": { "import": "./src/steps/index.ts", "require": "./build/steps/index.js" } }, "dependencies": { "@apidevtools/json-schema-ref-parser": "^11.1.0", "@types/fs-extra": "^11.0.4", "@types/jest": "^29.5.11", "ajv": "^8.12.0", "ajv-errors": "^3.0.0", "ajv-formats": "^2.1.1", "allure-commandline": "^2.25.0", "axios": "^1.6.2", "callsites": "^3.1.0", "change-case": "^4.1.2", "dotenv": "^16.3.1", "fs-extra": "^11.1.1", "jest": "^29.7.0", "jest-allure": "0.1.3", "jest-extended": "^4.0.2", "jest-html-reporter": "^3.10.2", "jest-jasmine2": "^29.7.0", "npm-run-all": "^4.1.5", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "tsconfig-paths": "^4.2.0", "typescript": "^5.2.0", "yargs": "^17.7.2" }, "devDependencies": { "@commitlint/cli": "^18.4.3", "@commitlint/config-conventional": "^18.4.3", "@types/yargs": "^17.0.32", "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", "eslint": "^8.54.0", "eslint-config-standard": "^17.1.0", "husky": "^8.0.3", "resolve-tspaths": "^0.8.17", "shx": "^0.3.4", "standard-version": "^9.5.0" } }