UNPKG

miniapp-basepath-middleware

Version:
61 lines (60 loc) 1.73 kB
{ "name": "miniapp-basepath-middleware", "version": "0.1.5", "description": "middleware for miniapp request base path.", "main": "dist/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "rollup -c -w", "pro": "cross-env NODE_ENV=production rollup -c", "build": "cross-env NODE_ENV=production rollup -c", "prepare": "npm run build", "precommit": "lint-staged" }, "lint-staged": { "*.js": [ "eslint --fix" ] }, "keywords": [ "miniapp", "request", "basepath", "middleware" ], "author": "fangqifan", "license": "MIT", "repository": { "type": "git", "url": "git@github.com:fangqifan/miniapp-basepath-middleware.git" }, "bugs": { "url": "https://github.com/fangqifan/miniapp-basepath-middleware/issues" }, "homepage": "https://github.com/fangqifan/miniapp-basepath-middleware", "devDependencies": { "babel-eslint": "^8.2.6", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.7.0", "cross-env": "^5.2.0", "eslint": "^3.19.0", "eslint-config-airbnb-base": "^11.1.3", "eslint-plugin-import": "^2.2.0", "lint-staged": "^7.0.0", "rollup": "^0.41.6", "rollup-plugin-babel": "^2.7.1", "rollup-plugin-commonjs": "^8.0.2", "rollup-plugin-eslint": "^3.0.0", "rollup-plugin-node-builtins": "^2.1.2", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-uglify": "^1.0.2", "rollup-watch": "^3.2.2" }, "dependencies": { "just-extend": "^3.0.0", "miniapp-middleware-contracts": "^0.2.0", "request-middleware-pipeline": "^0.1.0", "url-join": "^4.0.0" } }