UNPKG

unplugin-purge-polyfills

Version:

A tiny plugin to replace package imports with better native code.

65 lines (64 loc) 1.6 kB
{ "name": "unplugin-purge-polyfills", "type": "module", "version": "0.1.0", "packageManager": "pnpm@10.9.0", "description": "A tiny plugin to replace package imports with better native code.", "license": "MIT", "repository": "danielroe/unplugin-purge-polyfills", "sideEffects": false, "exports": { ".": "./dist/index.js" }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "unbuild", "dev": "vitest dev", "lint": "eslint . --fix", "prepare": "simple-git-hooks", "prepack": "pnpm build", "prepublishOnly": "pnpm lint && pnpm test", "release": "bumpp && npm publish", "test": "pnpm test:unit && pnpm test:types", "test:unit": "vitest", "test:types": "tsc --noEmit" }, "dependencies": { "defu": "^6.1.4", "magic-string": "^0.30.17", "mlly": "^1.7.4", "unplugin": "^2.3.2" }, "devDependencies": { "@antfu/eslint-config": "latest", "@types/node": "22.14.1", "@vitest/coverage-v8": "latest", "bumpp": "10.1.0", "eslint": "latest", "lint-staged": "latest", "module-replacements": "2.1.0", "rollup": "4.40.0", "simple-git-hooks": "latest", "typescript": "latest", "unbuild": "latest", "vite": "6.3.2", "vitest": "latest" }, "resolutions": { "rollup": "4.40.0", "unplugin-purge-polyfills": "link:." }, "simple-git-hooks": { "pre-commit": "npx lint-staged" }, "lint-staged": { "*.{js,ts,mjs,cjs,json,.*rc}": [ "npx eslint --fix" ] } }