x-powered-by-random
Version:
Express Middleware that provides random X-Powered-By header.
70 lines • 2.23 kB
JSON
{
"name": "x-powered-by-random",
"version": "1.1.0",
"description": "Express Middleware that provides random X-Powered-By header.",
"main": "./dist/cjs.js",
"module": "./dist/es.js",
"unpkg": "./dist/umd.js",
"amd": "./dist/amd.js",
"browser": "./dist/umd.js",
"system": "./dist/system.js",
"iife": "./dist/iife.js",
"scripts": {
"test": "jest",
"build": "rollup -c ./rollup.config.js --bundleConfigAsCjs",
"build:prod": "rollup -c ./rollup.config.js --bundleConfigAsCjs --environment NODE_ENV:production",
"lint": "eslint ./src/**/*",
"lint:fix": "eslint ./src/**/* --fix",
"export:types": "sh -c \"npx -p typescript tsc ./src/*.js --declaration --allowJs --emitDeclarationOnly --outFile ./types/index.d.ts \"",
"prepack": "npm run lint:fix && npm run export:types && npm run build:prod && npm run test"
},
"keywords": [
"xPoweredBy",
"random",
"fakeData",
"web",
"express",
"middleware",
"v-core9"
],
"types": "./types/index.d.ts",
"typings": "./types/index.d.ts",
"bugs": {
"url": "https://github.com/V-core9/x-powered-by-random/issues"
},
"homepage": "https://github.com/V-core9/x-powered-by-random#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-terser": "^0.4.4",
"express": "^4.17.3",
"supertest": "^6.3.3",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"rollup": "^4.9.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-polyfill-node": "^0.13.0",
"typescript": "^5.3.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/v-core9/x-powered-by-random.git"
},
"author": "V-core9",
"license": "FREE",
"srcDir": "src",
"srcIndex": "index",
"outDir": "dist",
"formats": [
"amd",
"cjs",
"es",
"iife",
"umd",
"system"
],
"banner": "//! 📚 Package: |_.NAME._| \n//! 👨💻 Author: |_.AUTHOR._|",
"footer": "//! 📦 Version: |_.VERSION._| \n//! 📅 Bundled: |_.TIME_OF_BUNDLE._|"
}