aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--package.json17
1 files changed, 12 insertions, 5 deletions
diff --git a/package.json b/package.json
index 7746d27..e37fe7d 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,10 @@
"exports": {
".": {
"import": "./dist/index.js",
- "types": "./dist/index.d.ts"
+ "types": [
+ "./dist/index.d.ts",
+ "./dist/colors.d.ts"
+ ]
},
"./scss": "./dist/_palette.scss",
"./css": "./dist/uchu.css"
@@ -29,13 +32,17 @@
"url": "https://code.webb.page/nevercease/uchu.git"
},
"scripts": {
- "build": "bun run scripts/generate.ts && bun run build:js",
- "build:js": "bun build src/index.ts --outdir dist --target node --format esm --dts",
+ "build": "bun run scripts/generate.ts && bun run build:js && bun run build:types",
+ "build:js": "bun build src/index.ts --outdir dist --target node --format esm",
+ "build:types": "tsc -p tsconfig.build.json",
"dryRun": "bun pm pack --dry-run",
"prepublishOnly": "bun run build",
"typecheck": "tsc"
},
"type": "module",
- "types": "./dist/index.d.ts",
- "version": "2.1.0"
+ "types": [
+ "./dist/index.d.ts",
+ "./dist/colors.d.ts"
+ ],
+ "version": "2.2.0"
}