esbuild-plugin-replace
Version:
Replace strings in files while bundling
46 lines (45 loc) • 1.13 kB
JSON
{
"name": "esbuild-plugin-replace",
"version": "1.4.0",
"description": "Replace strings in files while bundling",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "types/index.d.ts",
"author": "naecoo<ocean7hy@gmail.com>",
"license": "MIT",
"keywords": [
"esbuild",
"plugin",
"replace",
"npm",
"module"
],
"files": [
"dist",
"types",
"LICENSE",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/naecoo/esbuild-plugin-replace.git"
},
"homepage": "https://github.com/naecoo/esbuild-plugin-replace/blob/main/README.md",
"bugs": "https://github.com/naecoo/esbuild-plugin-replace/issues",
"scripts": {
"test:unit": "vitest run",
"test:type": "tsc types/index.d.ts test/type.ts --noEmit",
"test": "npm run test:unit && npm run test:type",
"build": "node build.js",
"prepublish": "npm run test && npm run build"
},
"dependencies": {
"magic-string": "^0.25.7"
},
"devDependencies": {
"esbuild": "^0.17.19",
"typescript": "^4.2.3",
"vite": "^4.3.8",
"vitest": "^0.31.1"
}
}