-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "@codevachon/classnames",
"description": "A simple utility for conditionally joining class names together.",
"version": "1.3.2",
"license": "MIT",
"author": {
"email": "[email protected]",
"name": "Christopher Vachon",
"url": "https://christophervachon.com"
},
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage",
"clean": "rm -rf ./lib ./docs",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p ./config/tsconfig.esm.json && mv lib/esm/ClassNames.js lib/esm/ClassNames.mjs",
"build:cjs": "tsc -p ./config/tsconfig.cjs.json",
"prepack": "npm run build",
"build:docs": "rm -fr docs && typedoc src/ClassNames.ts",
"serve:docs": "http-server ./docs",
"preinstall": "npx only-allow pnpm"
},
"bugs": {
"url": "https://github.com/CodeVachon/classnames/issues"
},
"homepage": "https://codevachon.github.io/classnames/",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/CodeVachon/classnames.git"
},
"types": "./lib/cjs/types/ClassNames.d.ts",
"main": "./lib/cjs/ClassNames.js",
"files": [
"lib/**/*"
],
"exports": {
".": {
"import": {
"types": "./lib/esm/types/ClassNames.d.ts",
"default": "./lib/esm/ClassNames.mjs"
},
"require": {
"types": "./lib/cjs/types/ClassNames.d.ts",
"default": "./lib/cjs/ClassNames.js"
}
}
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16"
},
"keywords": [
"className"
],
"devDependencies": {
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jest-extended": "^2.0.0",
"eslint-plugin-prettier": "^4.2.1",
"http-server": "^14.1.1",
"jest": "^29.3.1",
"jest-extended": "^3.2.3",
"prettier": "^2.8.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typedoc": "^0.23.24",
"typescript": "^4.9.4"
}
}