UNPKG

rollup-plugin-css-only

Version:
62 lines (61 loc) 2.43 kB
{ "name": "rollup-plugin-css-only", "version": "4.5.5", "description": "Rollup plugin that bundles imported css", "main": "dist/index.cjs", "module": "dist/index.mjs", "jsnext:main": "dist/index.mjs", "exports": { ".": { "import": "./dist/index.mjs", "default": "./dist/index.cjs" } }, "scripts": { "build": "rollup -c", "dev": "rollup -cw", "test:circular": "cd test/circular && rm -rf output && rollup -c && cd ../..", "test:nested": "cd test/nested && rm -rf output && rollup -c && cmp output/output.js expected.js && cmp output/output.css expected.css && cd ../..", "test:empty": "cd test/empty && rm -rf output && rollup -c && cmp output/output.js expected.js && cmp output/output.css expected.css && cd ../..", "test:simple": "cd test/simple && rm -rf output && rollup -c && cmp output/output.js expected.js && cmp output/output.css expected.css && cd ../..", "test:token-names": "cd test/token-names && rm -rf output && rollup -c && cmp output/app_sQGiL2.js expected.js && cmp output/app_QeMiKt.css expected.css && cd ../..", "test:unique": "cd test/unique && rm -rf output && rollup -c && cmp output/dependency-a.js expected-dep.js && cmp output/main.js expected.js && cmp output/output.css expected.css && cd ../..", "test:win:simple": "cd .\\test\\simple && del -f output.* && rollup -c && cd .. && ECHO n|comp simple\\output.js expected.js && ECHO n|comp simple\\output.css simple\\expected.css && cd ..", "test": "./bin/test-runner.cjs --exclude ':win'", "lint": "prettier rollup.config.js src/**", "prepare": "npm run build", "prepublish": "npm run build", "check-updates": "npx npm-check-updates", "check-updates:minor": "npx npm-check-updates --target minor", "check-updates:patch": "npx npm-check-updates --target patch" }, "keywords": [ "rollup-plugin", "css" ], "license": "MIT", "author": "Thomas Ghysels <info@thomasg.be>", "homepage": "https://github.com/thgh/rollup-plugin-css-only", "bugs": { "url": "https://github.com/thgh/rollup-plugin-css-only/issues" }, "repository": { "type": "git", "url": "https://github.com/thgh/rollup-plugin-css-only" }, "files": [ "dist" ], "engines": { "node": ">=14" }, "peerDependencies": { "rollup": "<5" }, "dependencies": { "@rollup/pluginutils": "5" }, "devDependencies": { "rollup": "<5" } }