-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.77 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 1.77 KB
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
{
"name": "string-conv",
"version": "1.4.0",
"description": "A lightweight, zero-dependency TypeScript utility for string case conversion and inspection — supports camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, Train-Case, path/case, flatcase, slug, sentence case, inverse case, and title case, plus detection, validation guards, and utilities like HTML stripping, palindromes, and truncation",
"keywords": [
"string",
"converter",
"case-conversion",
"camelcase",
"pascalcase",
"snakecase",
"kebabcase",
"constantcase",
"dotcase",
"traincase",
"pathcase",
"flatcase",
"inversecase",
"sentencecase",
"slug",
"titlecase",
"detect-case",
"string-utils",
"html-strip",
"palindrome",
"typescript",
"zero-dependency"
],
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"dev": "tsup src/index.ts --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:build": "node test.mjs",
"lint": "tsc --noEmit",
"prepublishOnly": "npm run build && npm run test && npm run test:build"
},
"homepage": "https://github.com/chetannada/string-conv#readme",
"bugs": {
"url": "https://github.com/chetannada/string-conv/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chetannada/string-conv.git"
},
"license": "MIT",
"author": "Chetan Nada",
"devDependencies": {
"tsup": "^8.5.1",
"typescript": "^6.0.2",
"vitest": "^4.1.4"
}
}