forked from curlconverter/curlconverter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.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.5.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": {
"@curlconverter/tree-sitter-bash": "^0.0.2",
"jsesc": "^3.0.2",
"lossless-json": "^2.0.2",
"tree-sitter": "^0.20.1",
"web-tree-sitter": "^0.20.7",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@types/diff": "^5.0.2",
"@types/glob": "^8.0.0",
"@types/har-format": "^1.2.10",
"@types/jsesc": "^3.0.1",
"@types/nunjucks": "^3.2.1",
"@types/tape": "^4.13.2",
"@types/yamljs": "^0.2.31",
"@types/yargs": "^17.0.15",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"colors": "^1.4.0",
"diff": "^5.1.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"glob": "^8.0.3",
"husky": "^8.0.3",
"lint-staged": "^13.0.4",
"mocha": "^10.1.0",
"prettier": "^2.8.0",
"tape": "^5.6.1",
"tree-sitter-bash": "^0.19.0",
"tree-sitter-cli": "^0.20.7",
"typescript": "^4.9.3",
"yargs": "^17.6.2"
},
"scripts": {
"compile": "tsc",
"start": "tsc -watch -p ./",
"pretest": "TSC_COMPILE_ON_ERROR=true npm run compile || exit 0",
"test": "NODE_OPTIONS=\"--enable-source-maps --unhandled-rejections=strict\" npx tape dist/test/test.js",
"prelint": "npm run compile",
"lint": "eslint src --ext ts",
"format": "prettier --write .",
"prefix": "npm run compile",
"fix": "eslint src --ext ts --fix",
"prepare": "husky install && npm run compile && tree-sitter build-wasm --docker node_modules/@curlconverter/tree-sitter-bash && mv tree-sitter-bash.wasm dist/",
"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"
}
}