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:
1
packages/icons/.gitignore
vendored
1
packages/icons/.gitignore
vendored
@@ -6,3 +6,4 @@ tabler-sprite.svg
|
|||||||
tags.json
|
tags.json
|
||||||
icons.json
|
icons.json
|
||||||
categories/*
|
categories/*
|
||||||
|
docs/*
|
||||||
|
@@ -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 {} +"
|
||||||
|
Reference in New Issue
Block a user