UNPKG

zyf-server

Version:

A modern HTTP static file server with Vue SSR directory listing, built for developers

107 lines (106 loc) 3.03 kB
{ "name": "zyf-server", "version": "1.3.4", "description": "A modern HTTP static file server with Vue SSR directory listing, built for developers", "main": "dist/index.js", "bin": { "zyf-server": "./bin/httpServer.js" }, "files": [ "bin", "dist", "build", "CHANGELOG.md", "README.md" ], "scripts": { "build": "npm run clean && npm run build:ts && npm run copy:assets && npm run build:webpack", "build:ts": "tsc && tsc-alias", "copy:assets": "cpy 'src/templates/*' 'dist/src/templates/'", "build:webpack": "webpack", "dev": "concurrently \"npm run dev:ts\" \"npm run dev:webpack\"", "dev:ts": "tsc --watch", "dev:webpack": "webpack --watch", "start": "node dist/src/cli/index.js", "start:dev": "ts-node src/cli/index.ts", "clean": "rimraf dist build .tsbuildinfo", "type-check": "tsc --noEmit", "lint": "eslint src --ext .ts,.tsx", "lint:fix": "eslint src --ext .ts,.tsx --fix", "format": "prettier --write \"src/**/*.{ts,tsx,json,md}\"", "test": "vitest", "test:coverage": "vitest --coverage", "prepublishOnly": "npm run clean && npm run build" }, "keywords": [ "http-server", "static-server", "file-server", "vue-ssr", "cli-tool", "development-server", "local-server", "webpack", "vue" ], "author": "zhaoyifan", "license": "ISC", "repository": { "type": "git", "url": "https://github.com/zhao-yi-fan/http-server.git" }, "bugs": { "url": "https://github.com/zhao-yi-fan/http-server/issues" }, "homepage": "https://github.com/zhao-yi-fan/http-server#readme", "engines": { "node": ">=14.0.0" }, "dependencies": { "chalk": "^4.1.2", "commander": "^11.0.0", "debug": "^4.3.4", "ejs": "^3.1.9", "element-ui": "^2.15.14", "lodash": "^4.17.21", "mime": "^3.0.0", "normalize.css": "^8.0.1", "open": "^8.4.0", "vue": "^2.7.14", "vue-server-renderer": "^2.7.14" }, "devDependencies": { "@babel/core": "^7.23.0", "@babel/preset-env": "^7.23.0", "@types/debug": "^4.1.12", "@types/ejs": "^3.1.5", "@types/lodash": "^4.14.202", "@types/mime": "^3.0.4", "@types/node": "^20.10.0", "@types/webpack-node-externals": "^3.0.4", "@typescript-eslint/eslint-plugin": "^6.13.0", "@typescript-eslint/parser": "^6.13.0", "babel-loader": "^9.1.3", "concurrently": "^8.2.2", "cpy-cli": "^5.0.0", "css-loader": "^6.8.1", "eslint": "^8.54.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "prettier": "^3.1.0", "rimraf": "^5.0.5", "sass": "^1.89.2", "sass-loader": "^16.0.5", "terser-webpack-plugin": "^5.3.14", "ts-loader": "^9.5.1", "ts-node": "^10.9.1", "tsc-alias": "^1.8.16", "typescript": "^5.3.2", "vitest": "^1.0.0", "vue-loader": "^15.10.1", "vue-style-loader": "^4.1.3", "webpack": "^5.89.0", "webpack-cli": "^5.1.4", "webpack-node-externals": "^3.0.0" } }