-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 2.27 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
{
"name": "json2struct",
"version": "0.4.4",
"description": "Easily translate JSON into type definitions",
"main": "dist/core/index.js",
"types": "dist/core/index.d.ts",
"files": [
"dist"
],
"bin": {
"json2struct": "./dist/cli/index.js"
},
"scripts": {
"start": "node dist/cli/index.js",
"build": "tsc",
"build:clean": "tsc --build --clean && npm run build",
"format": "prettier --ignore-path .gitignore --cache --write .",
"format:check": "prettier --check --ignore-path .gitignore --cache --write .",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"test": "vitest --run",
"test:watch": "vitest",
"local": "npm uninstall -g && npm install -g && json2struct",
"example:typescript": "node dist/cli/index.js ./examples/example.json --output ./examples/example.d.ts --language typescript --overwrite && prettier --write ./examples/example.d.ts",
"example:python": "node dist/cli/index.js ./examples/example.json --output ./examples/example.py --language python --overwrite",
"example:julia": "node dist/cli/index.js ./examples/example.json --output ./examples/example.jl --language julia --overwrite",
"example:rust": "node dist/cli/index.js ./examples/example.json --output ./examples/example.rs --language rust --overwrite"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hougesen/json2struct.git"
},
"keywords": [
"json",
"types",
"cli",
"typescript",
"python",
"julia",
"rust"
],
"author": "Mads Hougesen",
"license": "MIT",
"bugs": {
"url": "https://github.com/hougesen/json2struct/issues"
},
"homepage": "https://github.com/hougesen/json2struct#readme",
"dependencies": {
"@commander-js/extra-typings": "^12.1.0",
"commander": "^12.1.0"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@types/eslint": "~9.6.1",
"@types/eslint__js": "~8.42.3",
"eslint": "^9.9.1",
"globals": "^15.9.0",
"prettier": "^3.3.1",
"typescript": "^5.4.5",
"typescript-eslint": "^8.4.0",
"vite": "^5.2.12",
"vitest": "^2.0.4"
}
}