package.json
This file
1{2 "name": "clsx",3 "version": "2.1.1",4 "repository": "lukeed/clsx",chore: update module sizeLuke Edwardsbefore adoptionbf64e71
line 5why, one step back5 "description": "A tiny (239B) utility for constructing className strings conditionally.",break: include "exports" map w/ "types" conditions (#57)Remco Haszingbefore adoption3ec8e9f
line 6why, one step back6 "module": "dist/clsx.mjs",chore: rearrange pkg keysLuke Edwardsbefore adoption42bf238
line 7why, one step back7 "unpkg": "dist/clsx.min.js",8 "main": "dist/clsx.js",feat: add `clsx/lite` moduleLuke Edwardsbefore adoption1a49142
lines 9–10why, one step back9 "types": "clsx.d.ts",10 "license": "MIT",break: include "exports" map w/ "types" conditions (#57)Remco Haszingbefore adoption3ec8e9f
line 11why, one step back11 "exports": {feat: add `clsx/lite` moduleLuke Edwardsbefore adoption1a49142
lines 12–20why, one step back12 ".": {13 "import": {14 "types": "./clsx.d.mts",15 "default": "./dist/clsx.mjs"16 },17 "default": {18 "types": "./clsx.d.ts",19 "default": "./dist/clsx.js"20 }break: include "exports" map w/ "types" conditions (#57)Remco Haszingbefore adoption3ec8e9f
line 21why, one step back21 },feat: add `clsx/lite` moduleLuke Edwardsbefore adoption1a49142
lines 22–30why, one step back22 "./lite": {23 "import": {24 "types": "./clsx.d.mts",25 "default": "./dist/lite.mjs"26 },27 "default": {28 "types": "./clsx.d.ts",29 "default": "./dist/lite.js"30 }break: include "exports" map w/ "types" conditions (#57)Remco Haszingbefore adoption3ec8e9f
lines 31–32why, one step back31 }32 },initial commitLuke Edwardsbefore adoptiondb7477a
lines 33–3533 "author": {34 "name": "Luke Edwards",35 "email": "luke.edwards05@gmail.com",fix: use `Array.isArray` check;Luke Edwardsbefore adoption0d6023a
line 36why, one step back36 "url": "https://lukeed.com"initial commitLuke Edwardsbefore adoptiondb7477a
lines 37–4137 },38 "engines": {39 "node": ">=6"40 },41 "scripts": {chore: build CJS & UMD files manually;Luke Edwardsbefore adoption3712966
line 42why, one step back42 "build": "node bin",chore: tape -> uvu testsLuke Edwardsbefore adoption1c36d10
line 43why, one step back43 "test": "uvu -r esm test"initial commitLuke Edwardsbefore adoptiondb7477a
lines 44–4544 },45 "files": [fix: include `*.d.mts` in pkg zipLuke Edwardsbefore adoption0949868
line 46why, one step back46 "*.d.mts",chore: attach & ship typesLuke Edwardsbefore adoption4526f76
line 47why, one step back47 "*.d.ts",initial commitLuke Edwardsbefore adoptiondb7477a
lines 48–5048 "dist"49 ],50 "keywords": [chore: add readme docs & pkg keywordsLuke Edwardsbefore adoptionad0c4c5
lines 51–53why, one step back51 "classes",52 "classname",53 "classnames"initial commitLuke Edwardsbefore adoptiondb7477a
lines 54–5554 ],55 "devDependencies": {chore: tests w/ esm hookLuke Edwardsbefore adoption0287e40
line 56why, one step back56 "esm": "3.2.25",chore: build CJS & UMD files manually;Luke Edwardsbefore adoption3712966
line 57why, one step back57 "terser": "4.8.0",chore: revert version bumpLuke Edwardsbefore adoption62d6071
line 58why, one step back58 "uvu": "0.5.4"initial commitLuke Edwardsbefore adoptiondb7477a
lines 59–6059 }60}