UNPKG

vite-plugin-icons-spritesheet

Version:

Vite plugin that generates a spritesheet and types out of your icons folder.

95 lines (94 loc) 2.72 kB
{ "name": "vite-plugin-icons-spritesheet", "version": "3.1.0", "description": "Vite plugin that generates a spritesheet and types out of your icons folder.", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "keywords": [ "icons", "spritesheet", "vite", "plugin", "generator", "react", "angular", "vue", "remix" ], "exports": { ".": { "import": { "types": "./dist/index.d.mts", "import": "./dist/index.mjs", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js", "default": "./dist/index.js" } } }, "scripts": { "test": "vitest run", "test:cov": "vitest run --coverage", "build": "tsup src/index.ts --dts --format esm,cjs --outDir dist --clean", "remix:dev": "npm run dev -w test-apps/remix-vite", "remix:cjs:dev": "npm run dev -w test-apps/remix-vite-cjs", "build:dev": "tsup src/index.ts --dts --format cjs,esm --outDir dist", "build:dev:watch": "npm run build:dev -- --watch", "build:dev:cjs:watch": "npm run build:dev -- --watch", "dev": "npm-run-all -s build:dev -p remix:dev build:dev:watch", "dev:cjs": "npm-run-all -s build:dev -p remix:cjs:dev build:dev:cjs:watch", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "prepublishOnly": "npm run build", "tsc": "tsc", "validate": "npm run lint && npm run tsc && npm run test", "changeset": "changeset", "changeset:version": "changeset version && npm install --package-lock-only --ignore-scripts", "changeset:publish": "changeset publish", "prepare": "husky" }, "author": "", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/code-forge-io/vite-plugin-icons-spritesheet.git" }, "bugs": { "url": "https://github.com/code-forge-io/vite-plugin-icons-spritesheet/issues" }, "files": [ "dist" ], "workspaces": [ ".", "test-apps/*" ], "homepage": "https://github.com/code-forge-io/vite-plugin-icons-spritesheet#readme", "dependencies": { "chalk": "^5.4.1", "glob": "^11.0.1", "node-html-parser": "^7.0.1", "tinyexec": "^0.3.2" }, "peerDependencies": { "vite": ">=5.2.0" }, "devDependencies": { "@changesets/cli": "^2.31.0", "@types/node": "^22.13.1", "@vitest/coverage-v8": "^3.0.5", "happy-dom": "^16.8.1", "husky": "^9.1.7", "npm-run-all": "^4.1.5", "oxfmt": "^0.36.0", "tsup": "^8.3.6", "typescript": "^5.7.3", "vite": "6.0.11", "vitest": "^3.0.5" } }