1 | {
|
2 | "name": "classnames",
|
3 | "version": "2.5.1",
|
4 | "description": "A simple utility for conditionally joining classNames together",
|
5 | "author": "Jed Watson",
|
6 | "license": "MIT",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "git+https://github.com/JedWatson/classnames.git"
|
10 | },
|
11 | "type": "commonjs",
|
12 | "main": "./index.js",
|
13 | "types": "./index.d.ts",
|
14 | "exports": {
|
15 | "./package.json": "./package.json",
|
16 | ".": {
|
17 | "types": "./index.d.ts",
|
18 | "default": "./index.js"
|
19 | },
|
20 | "./index.js": {
|
21 | "types": "./index.d.ts",
|
22 | "default": "./index.js"
|
23 | },
|
24 | "./bind": {
|
25 | "types": "./bind.d.ts",
|
26 | "default": "./bind.js"
|
27 | },
|
28 | "./bind.js": {
|
29 | "types": "./bind.d.ts",
|
30 | "default": "./bind.js"
|
31 | },
|
32 | "./dedupe": {
|
33 | "types": "./dedupe.d.ts",
|
34 | "default": "./dedupe.js"
|
35 | },
|
36 | "./dedupe.js": {
|
37 | "types": "./dedupe.d.ts",
|
38 | "default": "./dedupe.js"
|
39 | }
|
40 | },
|
41 | "scripts": {
|
42 | "test": "node --test ./tests/*.mjs",
|
43 | "bench": "node ./benchmarks/run.js",
|
44 | "bench-browser": "rollup --plugin commonjs,json,node-resolve ./benchmarks/runInBrowser.js --file ./benchmarks/runInBrowser.bundle.js && http-server -c-1 ./benchmarks",
|
45 | "check-types": "tsd"
|
46 | },
|
47 | "keywords": [
|
48 | "react",
|
49 | "css",
|
50 | "classes",
|
51 | "classname",
|
52 | "classnames",
|
53 | "util",
|
54 | "utility"
|
55 | ],
|
56 | "files": [
|
57 | "HISTORY.md",
|
58 | "LICENSE",
|
59 | "README.md",
|
60 | "*.d.ts",
|
61 | "*.js"
|
62 | ],
|
63 | "devDependencies": {
|
64 | "@rollup/plugin-commonjs": "^25.0.7",
|
65 | "@rollup/plugin-json": "^6.1.0",
|
66 | "@rollup/plugin-node-resolve": "^15.2.3",
|
67 | "classnames-local": "file:.",
|
68 | "classnames-npm": "npm:classnames@*",
|
69 | "http-server": "^14.1.1",
|
70 | "markdown-table": "^3.0.3",
|
71 | "rollup": "^4.9.1",
|
72 | "tinybench": "^2.5.1",
|
73 | "tsd": "^0.30.1"
|
74 | },
|
75 | "tsd": {
|
76 | "directory": "./tests"
|
77 | }
|
78 | }
|