1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-09-01 09:54:02 +02:00

add docs to package

This commit is contained in:
codecalm
2024-12-02 21:02:50 +01:00
parent e7916733d8
commit 117db87180
2 changed files with 5 additions and 2 deletions

View File

@@ -6,3 +6,4 @@ tabler-sprite.svg
tags.json tags.json
icons.json icons.json
categories/* categories/*
docs/*

View File

@@ -19,7 +19,8 @@
"tabler-nodes-filled.json", "tabler-nodes-filled.json",
"tabler-nodes-outline.json", "tabler-nodes-outline.json",
"icons/*", "icons/*",
"categories/*" "categories/*",
"docs/*"
], ],
"homepage": "https://tabler-icons.io", "homepage": "https://tabler-icons.io",
"bugs": { "bugs": {
@@ -30,8 +31,9 @@
"url": "https://github.com/sponsors/codecalm" "url": "https://github.com/sponsors/codecalm"
}, },
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run build:icons", "build": "pnpm run clean && pnpm run copy && pnpm run build:icons && pnpm run build:docs",
"build:icons": "node build.mjs", "build:icons": "node build.mjs",
"build:docs": "cp -r ../../docs/* ./docs/",
"copy": "pnpm run copy:license", "copy": "pnpm run copy:license",
"copy:license": "cp ../../LICENSE ./LICENSE", "copy:license": "cp ../../LICENSE ./LICENSE",
"clean": "rm -rf dist && find . ! -name '.gitkeep' -path '*/categories/*' -exec rm -rf {} + && rm -rf dist && find . ! -name '.gitkeep' -path '*/icons/*' -exec rm -rf {} +" "clean": "rm -rf dist && find . ! -name '.gitkeep' -path '*/categories/*' -exec rm -rf {} + && rm -rf dist && find . ! -name '.gitkeep' -path '*/icons/*' -exec rm -rf {} +"