rollup-plugin-add-directive
Version:
Automatically add directives based on glob matching
49 lines (48 loc) • 1.16 kB
JSON
{
"name": "rollup-plugin-add-directive",
"version": "1.0.0",
"description": "Automatically add directives based on glob matching",
"author": "Zheng Song",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/szhsin/rollup-plugin-add-directive.git"
},
"type": "module",
"main": "./dist/index.js",
"types": "./types/index.d.ts",
"sideEffects": false,
"files": [
"dist/",
"types/"
],
"keywords": [
"rollup",
"plugin",
"directive",
"use client"
],
"scripts": {
"start": "tsc --watch",
"lint": "eslint .",
"pret": "prettier -c .",
"pret:fix": "prettier -w .",
"clean": "rm -Rf dist/ types/",
"build": "npm run pret && npm run lint && npm run clean && tsc",
"test": "vitest --coverage"
},
"devDependencies": {
"@vitest/coverage-v8": "^3.0.4",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"prettier": "^3.4.2",
"rollup": "^4.32.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.22.0",
"vitest": "^3.0.4"
},
"dependencies": {
"@types/micromatch": "^4.0.9",
"micromatch": "^4.0.8"
}
}