forked from curlconverter/curlconverter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.6 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
77
78
79
80
81
82
83
{
"name": "curlconverter",
"version": "4.9.0",
"description": "convert curl commands to Python, JavaScript, Go, PHP and more",
"homepage": "https://curlconverter.com",
"author": {
"name": "Nick Carneiro",
"email": "nickc@trillworks.com",
"url": "https://trillworks.com"
},
"repository": {
"type": "git",
"url": "https://github.com/curlconverter/curlconverter.git"
},
"license": "MIT",
"keywords": [
"curl",
"http",
"requests",
"python",
"converter"
],
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"type": "module",
"dependencies": {
"jsesc": "^3.0.2",
"lossless-json": "^4.0.1",
"tree-sitter": "^0.21.1",
"tree-sitter-bash": "^0.21.0",
"web-tree-sitter": "^0.22.2",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@types/diff": "^5.0.9",
"@types/har-format": "^1.2.15",
"@types/jsesc": "^3.0.3",
"@types/nunjucks": "^3.2.6",
"@types/tape": "^5.6.4",
"@types/yamljs": "^0.2.34",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"c8": "^9.1.0",
"colors": "^1.4.0",
"cross-env": "^7.0.3",
"diff": "^5.2.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"glob": "^10.3.12",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"tape": "^5.7.5",
"tree-sitter-cli": "^0.22.2",
"typescript": "^5.4.3",
"yargs": "^17.7.2"
},
"scripts": {
"compile": "tsc",
"start": "tsc --watch -p ./",
"pretest": "cross-env TSC_COMPILE_ON_ERROR=true npm run compile || exit 0",
"test": "cross-env NODE_OPTIONS=\"--enable-source-maps --unhandled-rejections=strict\" npx tape dist/test/test.js",
"coverage": "c8 --check-coverage npm run test",
"prelint": "npm run compile",
"lint": "eslint src --ext ts",
"format": "prettier --write .",
"prefix": "npm run compile",
"fix": "eslint src --ext ts --fix",
"prepare": "npx husky && npm run compile && npx tree-sitter build --wasm node_modules/tree-sitter-bash --output dist/tree-sitter-bash.wasm",
"pregen-test": "npm run compile",
"gen-test": "node --enable-source-maps ./dist/tools/gen-test.js",
"compare-requests": "npm run compile && node --enable-source-maps ./dist/tools/compare-requests.js",
"compare-request": "npm run compile && node --enable-source-maps ./dist/tools/compare-requests.js"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"bin": "dist/src/cli.js",
"browser": {
"./dist/src/shell/Parser.js": "./dist/src/shell/webParser.js"
}
}