-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
114 lines (114 loc) · 4.59 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
107
108
109
110
111
112
113
114
{
"name": "node-duckdb",
"version": "0.0.81",
"private": false,
"description": "DuckDB for Node.JS",
"keywords": [
"duckdb",
"sql",
"database",
"db",
"async",
"stream"
],
"homepage": "https://github.com/deepcrawl/node-duckdb#readme",
"repository": {
"type": "git",
"url": "https://github.com/deepcrawl/node-duckdb.git"
},
"license": "MIT",
"author": "DeepCrawl",
"contributors": [
"Dan Forsberg <[email protected]> (https://github.com/dforsber)",
"Pieter Raubenheimer <[email protected]> (https://github.com/jupiter)",
"Rostislav Provodenko <[email protected]> (https://github.com/rostislavdeepcrawl)"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"binary": {
"napi_versions": [
6
]
},
"scripts": {
"audit:fix": "yarn-audit-fix",
"build": "yarn build:duckdb && yarn build:addon && yarn build:ts",
"build:addon": "rimraf build && cmake-js compile --CDnapi_build_version=6",
"build:duckdb": "cd duckdb && make BUILD_HTTPFS=1 && cd -",
"build:test:watch": "nodemon --exec 'yarn build && yarn jest --testTimeout=60000'",
"build:ts": "rimraf dist && ttsc",
"clang:check": "yarn clang-format --dry-run --Werror addon/**",
"clang:fix": "yarn clang-format -i addon/**",
"cleanup:binaries": "rm -rf build prebuilds duckdb",
"download-duckdb": "rm -rf duckdb && curl -L https://github.com/cwida/duckdb/archive/c07e229072595e086dc0adfac72638e8cc72de40.tar.gz > duckdb.tar.gz && tar xf duckdb.tar.gz && mv duckdb-c07e229072595e086dc0adfac72638e8cc72de40 duckdb && rm duckdb.tar.gz",
"eslint:check": "eslint --ext .js,.json,.ts ./",
"eslint:fix": "eslint --fix --ext .js,.json,.ts ./",
"generate-doc": "yarn build:ts && rm -rf temp etc && mkdir etc && yarn api-extractor run --local --verbose && yarn api-documenter markdown -i temp -o docs/api && ./docs/replace.sh",
"install": "prebuild-install --verbose -d -r napi || (yarn download-duckdb && yarn build:duckdb && yarn prebuild:current-target)",
"lint:check": "yarn prettier:check && yarn eslint:check && yarn clang:check",
"lint:fix": "yarn prettier:fix && yarn eslint:fix && yarn clang:fix",
"prebuild:all-targets": "yarn install && yarn prebuild:linux",
"prebuild:current-target": "yarn prebuild --all --backend cmake-js -r napi --include-regex \"((libduckdb)|(libparquet_extension)|(libhttpfs_extension)|(node-duckdb-addon.node))\" --verbose",
"prebuild:linux": "docker-compose run --rm linux-build 'yarn install'",
"prebuild:upload": "yarn prebuild --upload-all ${GITHUB_TOKEN}",
"prepublishOnly": "yarn build:ts",
"prettier:check": "prettier --check '**/*.{js,json,md,ts,yml}'",
"prettier:fix": "prettier --write '**/*.{js,json,md,ts,yml}'",
"postpublish": "yarn prebuild:upload",
"test": "AWS_PROFILE=dev ./scripts/run-tests-locally.sh",
"test:ci": "yarn test:run",
"test:run": "yarn build:ts && jest --max-workers=1"
},
"resolutions": {
"cmake-js/yargs/y18n": ">=5.0.5||>=4.0.1 <5.0.0||>=3.2.2 <4.0.0",
"tar": " >=3.2.3 <4.0.0 || >=4.4.15 <5.0.0 || >=5.0.7 <6.0.0 || >=6.1.2",
"trim-newlines": ">=3.0.1 <4.0.0 || >=4.0.1"
},
"dependencies": {
"cmake-js": "^6.1.0",
"node-addon-api": "^3.0.2",
"prebuild": "^10.0.1",
"prebuild-install": "^6.0.0"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.11.3",
"@microsoft/api-extractor": "^7.13.2",
"@types/jest": "^26.0.14",
"@types/lodash": "^4.14.167",
"@types/parquetjs": "^0.10.2",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@zerollup/ts-transform-paths": "^1.7.18",
"clang-format": "^1.4.0",
"eslint": "^7.10.0",
"eslint-config-deepcrawl": "^5.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-array-func": "^3.1.6",
"eslint-plugin-clean-code": "^0.1.12",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.13.1",
"eslint-plugin-json-format": "^2.0.1",
"eslint-plugin-no-loops": "^0.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-sonarjs": "^0.5.0",
"jest": "^26.2.2",
"jest-extended": "^0.11.5",
"lodash": "^4.17.21",
"nodemon": "^2.0.4",
"parquetjs": "^0.11.2",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"standard-version": "^9.1.1",
"ttypescript": "^1.5.12",
"typescript": "^4.0.3",
"yarn-audit-fix": "6.3.2"
},
"engines": {
"node": ">= 12.17.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}