chore: подготовить пакет к публикации
- Добавлены main/types в package.json для совместимости с moduleResolution: node - Файлы в files указаны явно вместо "dist" - Добавлены repository, homepage, bugs - Добавлено превью-изображение в README - Версия обновлена до 0.1.1
This commit is contained in:
22
package.json
22
package.json
@@ -1,8 +1,10 @@
|
||||
{
|
||||
"name": "@gromlab/svg-sprites",
|
||||
"version": "0.1.0",
|
||||
"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",
|
||||
@@ -13,7 +15,15 @@
|
||||
"svg-sprites": "./dist/cli.js"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
"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",
|
||||
@@ -32,6 +42,14 @@
|
||||
"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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user