-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
78 lines (78 loc) · 2.92 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
{
"name": "@elastic/request-converter",
"version": "9.1.0",
"description": "Elasticsearch request converter",
"author": "Miguel Grinberg",
"license": "Apache-2.0",
"type": "commonjs",
"bin": {
"es-request-converter": "dist/es-request-converter.js"
},
"scripts": {
"update-schema": "node scripts/update-schema.mjs",
"release": "./scripts/release.sh",
"build": "npm run clean && tsc && npm run compile-templates && npm run copy-files",
"clean": "rimraf dist/",
"compile-templates": "node scripts/compile-templates.mjs",
"copy-files": "copyfiles -u 1 src/**/*.js src/**/*.json dist/",
"docs": "typedoc src/index.ts",
"lint": "eslint src tests --ignore-pattern tests/wasm/",
"prettier": "prettier \"src/**/*.ts\" \"tests/**/*.ts\" --list-different",
"test": "npm run compile-templates && jest --test-path-ignore-patterns integration --coverage",
"test:setup": "node scripts/download-examples.mjs && ./tests/integration/run-python.sh && ./tests/integration/run-javascript.sh",
"test:setup-curl": "node scripts/download-examples.mjs",
"test:setup-python": "node scripts/download-examples.mjs && ./tests/integration/run-python.sh",
"test:setup-javascript": "node scripts/download-examples.mjs && ./tests/integration/run-javascript.sh",
"test:integration": "jest tests/integration",
"test:integration-curl": "./scripts/test-format.sh curl",
"test:integration-python": "./scripts/test-format.sh python",
"test:integration-javascript": "./scripts/test-format.sh javascript",
"test:example": "./scripts/test-example.sh",
"fix": "npm run fix:lint && npm run fix:prettier",
"fix:lint": "eslint src tests --fix --ignore-pattern tests/wasm/",
"fix:prettier": "prettier \"src/**/*.ts\" \"tests/**/*.ts\" --write",
"fix:precommit": "./scripts/precommit.sh",
"watch:test": "npm run compile-templates && jest --test-path-ignore-patterns integration --coverage --watch",
"prepare": "husky install"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"devDependencies": {
"@eslint/js": "^9.3.0",
"@types/jest": "^29.5.12",
"@types/jest-expect-message": "^1.1.0",
"@types/node": "^20.12.12",
"@types/prettier": "^2.7.3",
"copyfiles": "^2.4.1",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-expect-message": "^1.1.3",
"rimraf": "^5.0.7",
"ts-jest": "^29.1.3",
"typedoc": "^0.25.13",
"typescript": "^5.4.5",
"typescript-eslint": "^7.10.0"
},
"dependencies": {
"base64url": "^3.0.1",
"commander": "^12.1.0",
"find-my-way-ts": "^0.1.2",
"handlebars": "^4.7.8",
"prettier": "^2.8.8"
},
"directories": {
"test": "tests"
},
"keywords": [],
"prettier": {
"trailingComma": "all"
}
}