Files
svg-sprites/package.json

68 lines
1.5 KiB
JSON
Raw Normal View History

{
"name": "@gromlab/svg-sprites",
"version": "0.1.1",
"description": "Generate SVG sprites (stack/symbol) and TypeScript icon name types from folders of SVG files",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"bin": {
"svg-sprites": "./dist/cli.js"
},
"files": [
"dist/index.js",
"dist/index.js.map",
"dist/index.d.ts",
"dist/cli.js",
"dist/cli.js.map",
"dist/cli.d.ts",
"dist/chunk-*.js",
"dist/chunk-*.js.map",
"dist/preview-template.html"
],
"scripts": {
"build": "tsup && npm run build:preview",
"build:preview": "cd preview && npx vite build",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"sprite": "node dist/cli.js",
"prepublishOnly": "npm run build"
},
"keywords": [
"svg",
"sprite",
"svg-sprite",
"icons",
"typescript",
"codegen"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://gromlab.ru/gromov/svg-sprites.git"
},
"homepage": "https://gromlab.ru/gromov/svg-sprites",
"bugs": {
"url": "https://gromlab.ru/gromov/svg-sprites/issues"
},
"engines": {
"node": ">=18"
},
"dependencies": {
"colorette": "^2.0.20",
"jiti": "^2.6.1",
"svg-sprite": "^2.0.4"
},
"devDependencies": {
"@types/node": "^22.15.3",
"@types/svg-sprite": "^0.0.39",
"tsup": "^8.4.0",
"typescript": "^5.8.3"
}
}