-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.96 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.96 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "ts-case-convert",
"description": "Typescript type-preserving conversion of objects between camelCase and snake_case",
"repository": {
"type": "git",
"url": "https://github.com/RossWilliams/ts-case-convert.git"
},
"scripts": {
"build": "pnpm run check && pnpm run package",
"bump": "node scripts/bump-version.js",
"check": "pnpm run compile && pnpm run lint && pnpm run test",
"compile": "tsc --build",
"lint": "eslint --fix --no-error-on-unmatched-pattern src test scripts",
"package": "mkdir -p dist/js && mv $(npm pack) dist/js/",
"publish": "npm publish \"dist/js/ts-case-convert-$(cat dist/version.txt).tgz\" --tag latest",
"github-release": "gh release create \"$(cat dist/releasetag.txt)\" \"dist/js/ts-case-convert-$(cat dist/version.txt).tgz\" --title \"$(cat dist/releasetag.txt)\" --notes-file dist/changelog.md --verify-tag",
"release": "rm -fr dist && pnpm run bump && pnpm run build && pnpm run unbump",
"tag": "node scripts/tag-version.js",
"test": "jest --passWithNoTests --updateSnapshot",
"test:watch": "jest --watch",
"unbump": "node scripts/reset-version.js",
"upgrade": "pnpm dlx npm-check-updates@latest --upgrade --target=latest --peer --dep=dev,peer,prod,optional --filter=@types/jest,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-import-resolver-typescript,eslint-plugin-import,eslint,jest,jest-junit,standard-version,ts-jest,typescript && pnpm install",
"watch": "tsc --build -w"
},
"author": {
"name": "Ross Williams",
"email": "ross@UniversalConstructor.co.uk",
"organization": "Universal Constructor"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^24.12.4",
"@typescript-eslint/eslint-plugin": "^8.59.4",
"@typescript-eslint/parser": "^8.59.4",
"constructs": "^10.6.0",
"eslint": "^9.39.4",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"jest": "^30.4.2",
"jest-junit": "^17.0.0",
"standard-version": "^9",
"ts-jest": "^29.4.11",
"typescript": "6.0.3"
},
"keywords": [
"PascalCase",
"camel-case",
"camelCase",
"conversion",
"pascal-case",
"snake-case",
"snake_case",
"typescript"
],
"main": "lib/index.js",
"license": "Apache-2.0",
"packageManager": "pnpm@10.33.0",
"typesVersions": {
"*": {
"no-split-numbers": [
"lib/no-split-numbers.d.ts"
]
}
},
"version": "0.0.0",
"types": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"require": "./lib/index.js",
"default": "./lib/index.js"
},
"./no-split-numbers": {
"types": "./lib/no-split-numbers.d.ts",
"require": "./lib/no-split-numbers.js",
"default": "./lib/no-split-numbers.js"
},
"./lib/*": {
"types": "./lib/*.d.ts",
"require": "./lib/*.js",
"default": "./lib/*.js"
},
"./package.json": "./package.json"
}
}