Skip to content
Myr

package.json

This file

Path

package.json

60 lines · 1.2 KiB · JSON

Last changed by

landed by oscabriel925494c

History of this file

Take it

initial commitLuke Edwardsbefore adoptiondb7477a

lines 1–2
1{
2 "name": "clsx",3 "version": "2.1.1",

initial commitLuke Edwardsbefore adoptiondb7477a

line 4
4 "repository": "lukeed/clsx",

chore: update module sizeLuke Edwardsbefore adoptionbf64e71

line 5why, one step back
5 "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 back
6 "module": "dist/clsx.mjs",

chore: rearrange pkg keysLuke Edwardsbefore adoption42bf238

line 7why, one step back
7 "unpkg": "dist/clsx.min.js",

initial commitLuke Edwardsbefore adoptiondb7477a

line 8
8 "main": "dist/clsx.js",

feat: add `clsx/lite` moduleLuke Edwardsbefore adoption1a49142

lines 9–10why, one step back
9 "types": "clsx.d.ts",
10 "license": "MIT",

break: include "exports" map w/ "types" conditions (#57)Remco Haszingbefore adoption3ec8e9f

line 11why, one step back
11 "exports": {

feat: add `clsx/lite` moduleLuke Edwardsbefore adoption1a49142

lines 12–20why, one step back
12 ".": {
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 back
21 },

feat: add `clsx/lite` moduleLuke Edwardsbefore adoption1a49142

lines 22–30why, one step back
22 "./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 back
31 }
32 },

initial commitLuke Edwardsbefore adoptiondb7477a

lines 33–35
33 "author": {
34 "name": "Luke Edwards",35 "email": "luke.edwards05@gmail.com",

fix: use `Array.isArray` check;Luke Edwardsbefore adoption0d6023a

line 36why, one step back
36 "url": "https://lukeed.com"

initial commitLuke Edwardsbefore adoptiondb7477a

lines 37–41
37 },
38 "engines": {39 "node": ">=6"40 },41 "scripts": {

chore: build CJS & UMD files manually;Luke Edwardsbefore adoption3712966

line 42why, one step back
42 "build": "node bin",

chore: tape -> uvu testsLuke Edwardsbefore adoption1c36d10

line 43why, one step back
43 "test": "uvu -r esm test"

initial commitLuke Edwardsbefore adoptiondb7477a

lines 44–45
44 },
45 "files": [

fix: include `*.d.mts` in pkg zipLuke Edwardsbefore adoption0949868

line 46why, one step back
46 "*.d.mts",

chore: attach & ship typesLuke Edwardsbefore adoption4526f76

line 47why, one step back
47 "*.d.ts",

initial commitLuke Edwardsbefore adoptiondb7477a

lines 48–50
48 "dist"
49 ],50 "keywords": [

chore: add readme docs & pkg keywordsLuke Edwardsbefore adoptionad0c4c5

lines 51–53why, one step back
51 "classes",
52 "classname",53 "classnames"

initial commitLuke Edwardsbefore adoptiondb7477a

lines 54–55
54 ],
55 "devDependencies": {

chore: tests w/ esm hookLuke Edwardsbefore adoption0287e40

line 56why, one step back
56 "esm": "3.2.25",

chore: build CJS & UMD files manually;Luke Edwardsbefore adoption3712966

line 57why, one step back
57 "terser": "4.8.0",

chore: revert version bumpLuke Edwardsbefore adoption62d6071

line 58why, one step back
58 "uvu": "0.5.4"

initial commitLuke Edwardsbefore adoptiondb7477a

lines 59–60
59 }
60}