UNPKG

rollup-plugin-critical

Version:
67 lines (66 loc) 1.71 kB
{ "name": "rollup-plugin-critical", "type": "module", "version": "1.0.18", "description": "Rollup plugin to generate critical CSS.", "author": "nystudio107", "license": "MIT", "keywords": [ "rollup", "plugin", "critical", "css" ], "homepage": "https://github.com/nystudio107/rollup-plugin-critical", "repository": { "type": "git", "url": "git+ssh://github.com/nystudio107/rollup-plugin-critical" }, "bugs": { "url": "https://github.com/nystudio107/rollup-plugin-critical/issues" }, "exports": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "LICENSE", "README.md" ], "scripts": { "build": "npm run lint && tsdown", "check": "tsc --noEmit", "dev": "nr build --watch", "lint": "tsc --noEmit && eslint './src/**/*.{js,ts,vue}' --fix", "prepublishOnly": "nr build", "release": "npm run lint && npm login && npm publish", "test": "vitest run", "test-coverage": "vitest run --coverage", "test-ci": "vitest run --coverage.enabled --coverage.reporter='text-summary'", "test-dev": "vitest" }, "dependencies": { "critical": "^8.0.0" }, "devDependencies": { "@types/node": "^22.0.0", "@typescript-eslint/eslint-plugin": "^8.0.0", "@vitest/coverage-v8": "^4.0.0", "eslint": "^9.0.0", "rolldown": "^1.0.0", "@antfu/ni": "^30.0.0", "tsdown": "^0.22.3", "typescript": "^6.0.0", "vite": "^8.0.0", "vitest": "^4.0.0" }, "allowScripts": { "esbuild": true, "puppeteer": true } }