/
package.json
61 lines (61 loc) · 1.65 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
{
"name": "@alexvyber/convert-case",
"version": "0.0.2",
"description": "convert camelCase to kebab-case",
"keywords": [
"convert",
"change",
"transform",
"kebab",
"kebabcase",
"kebab-case",
"camel",
"camelcase",
"camel-case",
"case"
],
"repository": {
"type": "git",
"url": "https://github.com/alexvyber/convert-case.git"
},
"license": "MIT",
"author": "alexvyber",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist/*.js",
"dist/*.js.map",
"dist/*.d.ts"
],
"scripts": {
"build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm build:tsc",
"build:cjs": "swc ./src/index.ts --config-file ./.config/.swcrc -o dist/index.cjs.js -C module.type=commonjs",
"build:esm": "swc ./src/index.ts --config-file ./.config/.swcrc -o dist/index.esm.js -C module.type=es6",
"build:tsc": "tsc --project .config/tsconfig.build.json",
"clean": "rimraf dist",
"docs": "documentation readme src --resolve=node --pe ts --re ts --re d.ts --section=API --markdown-toc-max-depth=3",
"docs:watch": "onchange -i src --await-write-finish 1000 -- pnpm docs",
"prepublishOnly": "pnpm build",
"test": "vitest"
},
"devDependencies": {
"@swc/cli": "0.1.62",
"@swc/core": "1.3.56",
"documentation": "^14.0.1",
"onchange": "^7.1.0",
"rimraf": "^5.0.0",
"typescript": "^5.0.4",
"vitest": "^0.31.0"
},
"publishConfig": {
"access": "public"
},
"short": "stagas/camel-to-kebab"
}