UNPKG

@gozenc/interpolate-html-plugin

Version:

InterpolateHtmlPlugin implemented for webpack v5.

59 lines (58 loc) 2.07 kB
{ "name": "@gozenc/interpolate-html-plugin", "version": "1.0.2", "description": "InterpolateHtmlPlugin implemented for webpack v5.", "keywords": [ "webpack", "webpack5", "interpolate", "interpolate-html-plugin", "HTML interpolation", "react-dev-utils", "plugin", "fatihgozenc", "gozenc" ], "main": "./dist/index.js", "license": "MIT", "author": { "name": "Fatih Gözenç", "email": "fatihgozenc@gmail.com", "url": "https://fatihgozenc.com" }, "repository": { "url": "https://github.com/fatihgozenc/interpolate-html-plugin", "type": "git" }, "scripts": { "build": "rm -rf ./dist/* && tsc && yarn compile && sleep 3 && yarn clean", "compile": "yarn terse:index && yarn terse:interpolator", "clean": "rm -rf ./dist/*.js && yarn clean:index && yarn clean:interpolator", "clean:index": "cat ./dist/1.tmp | sed 1d > ./dist/index.js", "clean:interpolator": "cat ./dist/2.tmp | sed 1d > ./dist/Interpolator.js && rm dist/*.tmp", "mock": "rm -rf ./test/dist/* tsc && webpack", "rename": "find ./dist -name '*.tmp' -print0 | xargs --null -I{} mv {} {}.js", "test": "jest", "terse": "terser -c -m --", "terse:index": "yarn terse ./dist/index.js > ./dist/1.tmp &", "terse:interpolator": "yarn terse ./dist/Interpolator.js > ./dist/2.tmp &" }, "devDependencies": { "@types/jest": "^26.0.22", "@types/node": "^14.14.37", "@types/webpack": "^5.28.0", "eslint": "^7.23.0", "eslint-plugin-jsdoc": "^32.3.0", "fork-ts-checker-webpack-plugin": "^6.2.0", "html-webpack-plugin": "^5.3.1", "jest": "^26.6.3", "prettier": "^2.2.1", "terser": "^5.6.1", "terser-webpack-plugin": "^5.1.1", "ts-jest": "^26.5.4", "ts-loader": "^8.1.0", "typescript": "^4.2.3", "webpack": "^5.28.0", "webpack-cli": "^4.6.0" } }