UNPKG

content-injector-webpack-plugin

Version:

A flexible Webpack plugin for injecting dynamic content (e.g., version, timestamps) into build assets with precise file matching and position control.

90 lines 2.41 kB
{ "name": "content-injector-webpack-plugin", "version": "2.1.0", "description": "A flexible Webpack plugin for injecting dynamic content (e.g., version, timestamps) into build assets with precise file matching and position control.", "keywords": [ "webpack", "webpack-plugin", "content-injector", "banner-plugin", "build-time", "build-timestamp", "header-injector", "footer-injector", "code-injection", "webpack-optimize", "webpack-build", "webpack-config", "webpack-addon", "webpack-resource", "build-tool", "webpack-custom-plugin", "content-injector-plugin" ], "license": "MIT", "author": "flyfox (https://github.com/flyfox11)", "bugs": { "url": "https://github.com/z-ti/content-injector-webpack-plugin/issues" }, "homepage": "https://github.com/z-ti/content-injector-webpack-plugin", "repository": { "type": "git", "url": "git+https://github.com/z-ti/content-injector-webpack-plugin.git" }, "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "lint": "eslint ./src --fix", "clean": "rimraf dist", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json", "postbuild": "node postbuild.js", "build": "npm-run-all clean build:cjs build:esm postbuild", "test": "jest", "test:coverage": "jest --coverage" }, "publishConfig": { "registry": "https://registry.npmjs.org" }, "peerDependencies": { "webpack": ">=5.0.0" }, "devDependencies": { "@swc/core": "^1.11.7", "@swc/jest": "^0.2.37", "@types/jest": "^29.5.14", "@types/webpack": "^5.0.0", "@typescript-eslint/eslint-plugin": "^8.26.0", "@typescript-eslint/parser": "^8.26.0", "eslint": "^8.57.1", "eslint-config-prettier": "^10.0.2", "eslint-plugin-prettier": "^5.2.3", "husky": "^9.0.6", "jest": "^29.7.0", "lint-staged": "^15.0.1", "npm-run-all": "^4.1.5", "prettier": "^3.0.0", "replace-in-file": "^6.0.0", "rimraf": "^3.0.2", "ts-jest": "^29.2.6", "typescript": "^5.7.3", "webpack": "^5.75.0" }, "engines": { "node": ">=18.0.0" }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ "eslint --fix" ], "*.{js,ts}": [ "prettier -c --write" ] } }