diff options
| author | netop://ウィビ <paul@webb.page> | 2026-04-26 19:45:07 -0700 |
|---|---|---|
| committer | netop://ウィビ <paul@webb.page> | 2026-04-26 19:45:07 -0700 |
| commit | fd2eee1c18760320f27171dc13c5f5d7f2718067 (patch) | |
| tree | 062aaf1e8895b71f2717faf26cf1eb4ebe96c4d3 /package.json | |
| parent | cbc9a7d577e9e09945b461e3ce1e7ad5bbc9fedd (diff) | |
| download | uchu-primary.tar.gz uchu-primary.zip | |
Diffstat (limited to '')
| -rw-r--r-- | package.json | 17 |
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" } |