UNPKG

erra

Version:
99 lines (98 loc) 3.15 kB
{ "name": "erra", "version": "0.4.8", "description": "mock工具", "repository": "https://github.com/hughfenghen/Erra", "keywords": [ "mock", "debug", "breakpoint", "tamper", "modify", "proxy", "http" ], "main": "", "files": [ "./src", "./dist", "./bin", "./static", "./example", "./tsconfig.json", "./jest.config.js", "./.postcss", "./preview.gif", "./README.md" ], "bin": "./bin/erra.js", "author": "fenghen", "license": "MIT", "scripts": { "server:bin": "node ./dist/server/server/index.js -c", "server:dev": "nodemon --watch 'src/**/*.ts' --ignore 'test/**/*.test.ts' --exec node --inspect -r ts-node/register ./src/server/index.ts -c ./example/erra.config.yaml", "client:bin": "http-server dist --ssl --cert static/erra.crt.pem --key static/erra.key.pem", "client:dev": "parcel ./src/client/index.html --out-dir dist/client --public-url '/erra' --cert static/erra.crt.pem --key static/erra.key.pem", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test": "jest --silent", "build:client": "parcel build ./src/client/index.html --out-dir dist/client --public-url '/erra'", "build:server": "tsc --outDir dist/server", "docs:dev": "cp README.md docs && vuepress dev docs", "docs:build": "cp README.md docs && vuepress build docs", "docs:deploy": "sh docs/deploy.sh", "prepublishOnly": "yarn run test && yarn run build:client && yarn run build:server" }, "dependencies": { "@types/lodash": "^4.14.132", "antd": "^3.23.6", "brace": "^0.11.1", "commander": "^3.0.2", "es6-promisify": "^6.0.2", "events": "^3.0.0", "http-proxy": "^1.17.0", "ip": "^1.1.5", "js-yaml": "^3.13.1", "lodash": "^4.17.15", "lru-cache": "^5.1.1", "mockjs": "^1.0.1-beta3", "node-http-proxy-text": "git+https://github.com/hughfenghen/node-http-proxy-text.git", "pem": "^1.14.2", "react": "^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0", "react-ace": "^7.0.4", "react-dom": "^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0", "serve-handler": "^6.1.2", "shelljs": "^0.8.3", "socket.io": "^2.2.0", "socket.io-client": "^2.2.0", "uuid": "^3.3.2" }, "devDependencies": { "@babel/core": "^7.4.4", "@babel/plugin-transform-runtime": "^7.4.4", "@babel/preset-env": "^7.4.4", "@babel/preset-typescript": "^7.3.3", "@types/http-proxy": "^1.17.0", "@types/jest": "^24.0.13", "@types/koa": "^2.0.49", "@types/mockjs": "^1.0.2", "@types/node": "^12.0.2", "@types/socket.io": "^2.1.2", "autoprefixer": "^9.6.1", "babel-jest": "^24.8.0", "babel-plugin-module-resolver": "^3.2.0", "eslint-plugin-jest": "^22.5.1", "http-server": "^0.11.1", "jest": "^24.8.0", "less": "^3.10.3", "nodemon": "^1.19.2", "parcel-bundler": "^1.12.4", "parcel-plugin-static-files-copy": "^2.2.1", "postcss-modules": "^1.4.1", "ts-jest": "^24.2.0", "ts-node": "^8.1.1", "typescript": "^3.7.2", "typescript-plugin-css-modules": "^1.2.1", "vuepress": "^1.2.0" } }