-
Notifications
You must be signed in to change notification settings - Fork 108
/
package.json
106 lines (106 loc) · 3.47 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"private": true,
"type": "module",
"name": "arangojs",
"version": "9.2.0",
"engines": {
"node": ">=18"
},
"license": "Apache-2.0",
"description": "The official ArangoDB JavaScript driver.",
"homepage": "https://github.com/arangodb/arangojs",
"bugs": {
"url": "https://github.com/arangodb/arangojs/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/arangodb/arangojs.git"
},
"author": "ArangoDB GmbH",
"contributors": [
{
"name": "Alan Plum",
"email": "[email protected]"
}
],
"keywords": [
"arango",
"arangodb",
"aql",
"nosql",
"client",
"driver",
"api",
"http",
"rest"
],
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "build/index.d.ts",
"exports": {
".": {
"import": "./build/esm/index.js",
"require": "./build/cjs/index.js",
"types": "./build/index.d.ts"
},
"./*": {
"import": "./build/esm/*.js",
"require": "./build/cjs/*.js",
"types": "./build/*.d.ts"
},
"./lib/*": {
"import": "./build/esm/lib/*.js",
"require": "./build/cjs/lib/*.js",
"types": "./build/lib/*.d.ts"
}
},
"files": [
"**/*",
"!test/**",
"!cjs/test/**",
"!esm/test/**"
],
"scripts": {
"jenkins": "mocha --reporter spec --require source-map-support/register --timeout 0 build/esm/test",
"test": "npm run test:esm",
"test:cjs": "mocha --reporter spec --require source-map-support/register --timeout 10000 build/cjs/test",
"test:esm": "mocha --reporter spec --require source-map-support/register --timeout 10000 build/esm/test",
"pretest": "npm run build",
"build": "rm -rf build && mkdir build && npm-run-all --parallel build:*",
"build:package": "cat package.json | jq 'delpaths([[\"private\"],[\"type\"],[\"scripts\"],[\"devDependencies\"],[\"babel\"],[\"browserslist\"]])' | sed 's/build\\///g' | sed -r 's/src\\/([^\"]+)\\.ts/\\1.js/g' > build/package.json",
"build:cjs": "tsc -p ./tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > build/cjs/package.json",
"build:esm": "tsc -p ./tsconfig.esm.json && echo '{\"type\": \"module\"}' > build/esm/package.json",
"build:dts": "tsc -p ./tsconfig.dts.json",
"build:text": "cp LICENSE *.md build/",
"postbuild:cjs": "cat build/cjs/connection.js | sed 's/${process.env.ARANGOJS_VERSION}/'$(cat build/package.json | jq -r .version)'/g' > build/cjs/connection.js",
"postbuild:esm": "cat build/esm/connection.js | sed 's/${process.env.ARANGOJS_VERSION}/'$(cat build/package.json | jq -r .version)'/g' > build/esm/connection.js",
"prepare": "npm run build && node -e 'require(\".\");' && node -e 'import(\"./build/esm/index.js\")'"
},
"dependencies": {
"@types/node": "^20.11.26"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/chai": "^4.3.12",
"@types/mocha": "^10.0.6",
"@types/request-promise": "^4.1.51",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"chai": "^4.4.1",
"esbuild": "^0.21.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-security": "^2.1.1",
"express": "^4.19.2",
"express-http-proxy": "^2.0.0",
"mocha": "^10.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"puppeteer": "^22.8.2",
"semver": "^7.6.0",
"source-map-support": "^0.5.21",
"typedoc": "^0.25.12",
"typescript": "^5.4.2"
}
}