tsup-plugin-prepend-directive
Version:
A tsup plugin that allows users to specify directives to be explicitly prepended to build files.
51 lines (50 loc) • 1.32 kB
JSON
{
"name": "tsup-plugin-prepend-directive",
"version": "0.1.2",
"description": "A tsup plugin that allows users to specify directives to be explicitly prepended to build files.",
"author": "Luc Lisi <llisi@mozilla.com>",
"keywords": [
"tsup-plugin",
"directives"
],
"license": "MIT",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/luc-lisi/tsup-plugin-prepend-directive.git"
},
"homepage": "https://github.com/luc-lisi/tsup-plugin-prepend-directive#README.md",
"bugs": "https://github.com/luc-lisi/tsup-plugin-prepend-directive/issues",
"scripts": {
"check": "tsc",
"build": "tsup src/index.ts --dts --format cjs,esm",
"watch": "npm run build --watch"
},
"peerDependencies": {
"tsup": "8.x"
},
"devDependencies": {
"@types/node": "^22.14.1",
"tsup": "^8.4.0",
"typescript": "^5.8.2"
}
}