@hx-midway/static-file
Version:
Midwayjs static-file alias 自动扫描,支持路径索引,允许 /path/index.html -> /path/
43 lines (42 loc) • 1.11 kB
JSON
{
"name": "@hx-midway/static-file",
"version": "1.0.0",
"description": "Midwayjs static-file alias 自动扫描,支持路径索引,允许 /path/index.html -> /path/ ",
"main": "dist/index.js",
"typings": "index.d.ts",
"scripts": {
"build": "mwtsc --cleanOutDir",
"test": "cross-env NODE_ENV=unittest jest",
"cov": "jest --coverage",
"lint": "mwts check",
"lint:fix": "mwts fix"
},
"keywords": ["midwayjs", "component", "midway-static-file", "static-file"],
"author": "小灰熊",
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"index.d.ts"
],
"license": "MIT",
"devDependencies": {
"@midwayjs/core": "^3.12.0",
"@midwayjs/logger": "^3.1.0",
"@midwayjs/mock": "^3.12.0",
"@types/jest": "^29.2.0",
"@types/node": "^16.11.22",
"cross-env": "^6.0.0",
"jest": "^29.2.2",
"mwts": "^1.3.0",
"mwtsc": "^1.4.0",
"ts-jest": "^29.0.3",
"typescript": "~4.8.0"
},
"dependencies": {
"@midwayjs/static-file": "3"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}