UNPKG

unplugin-purge-polyfills

Version:

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

66 lines (65 loc) 1.64 kB
{ "name": "unplugin-purge-polyfills", "type": "module", "version": "0.0.7", "packageManager": "pnpm@9.8.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": { "@rollup/pluginutils": "^5.1.0", "defu": "^6.1.4", "magic-string": "^0.30.11", "mlly": "^1.7.1", "unplugin": "^1.12.2" }, "devDependencies": { "@antfu/eslint-config": "latest", "@types/node": "22.5.4", "@vitest/coverage-v8": "latest", "bumpp": "9.5.2", "eslint": "latest", "lint-staged": "latest", "module-replacements": "2.1.0", "rollup": "4.21.2", "simple-git-hooks": "latest", "typescript": "latest", "unbuild": "latest", "vite": "5.4.5", "vitest": "latest" }, "resolutions": { "rollup": "4.21.2", "unplugin-purge-polyfills": "link:." }, "simple-git-hooks": { "pre-commit": "npx lint-staged" }, "lint-staged": { "*.{js,ts,mjs,cjs,json,.*rc}": [ "pnpm eslint --fix" ] } }