UNPKG

aspida-mock

Version:

TypeScript friendly RESTful API mock for aspida

111 lines (110 loc) 2.95 kB
{ "name": "aspida-mock", "version": "0.11.1", "description": "TypeScript friendly RESTful API mock for aspida", "author": "Solufa <solufa2020@gmail.com>", "license": "MIT", "main": "./dist/cjs/index.js", "bin": "bin/index.js", "exports": { ".": { "require": "./dist/cjs/index.js", "import": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts" }, "./package.json": "./package.json" }, "scripts": { "dev": "npm run build && aspida && node bin/index.js", "build": "rimraf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json", "lint": "eslint --ext .js,.ts. && prettier --check \"./**/*.ts\"", "lint:fix": "eslint --ext .js,.ts . --fix && prettier --write \"./**/*.ts\"", "test": "jest", "typecheck": "tsc --noEmit" }, "homepage": "https://github.com/aspida/aspida-mock#readme", "repository": { "type": "git", "url": "git+https://github.com/aspida/aspida-mock.git" }, "bugs": { "url": "https://github.com/aspida/aspida-mock/issues" }, "files": [ "dist" ], "keywords": [ "aspida", "typescript", "mock" ], "eslintConfig": { "env": { "es6": true, "node": true, "browser": true }, "extends": [ "standard", "plugin:@typescript-eslint/recommended", "plugin:jest/recommended", "prettier" ], "parserOptions": { "ecmaVersion": 2018, "sourceType": "module" }, "root": true, "rules": { "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/camelcase": "off", "@typescript-eslint/no-explicit-any": "off" } }, "prettier": { "printWidth": 100, "arrowParens": "avoid", "singleQuote": true, "overrides": [ { "files": [ "*.md", "*.yml" ], "options": { "singleQuote": false } } ] }, "peerDependencies": { "aspida": "" }, "devDependencies": { "@aspida/node-fetch": "^1.13.3", "@types/jest": "^29.5.3", "@types/node-fetch": "^2.6.4", "@typescript-eslint/eslint-plugin": "^6.2.1", "@typescript-eslint/parser": "^6.2.1", "eslint": "^8.46.0", "eslint-config-prettier": "^8.10.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.28.0", "eslint-plugin-jest": "^27.2.3", "eslint-plugin-n": "^16.0.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-standard": "^5.0.0", "jest": "^29.6.2", "node-fetch": "^2.6.12", "prettier": "^2.8.8", "prettier-plugin-organize-imports": "^3.2.3", "rimraf": "^5.0.1", "ts-jest": "^29.1.1", "typescript": "^5.1.6" } }