1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-31 17:42:15 +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
icons.json
categories/*
docs/*

View File

@@ -19,7 +19,8 @@
"tabler-nodes-filled.json",
"tabler-nodes-outline.json",
"icons/*",
"categories/*"
"categories/*",
"docs/*"
],
"homepage": "https://tabler-icons.io",
"bugs": {
@@ -30,8 +31,9 @@
"url": "https://github.com/sponsors/codecalm"
},
"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:docs": "cp -r ../../docs/* ./docs/",
"copy": "pnpm run copy: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 {} +"