-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
85 lines (85 loc) · 2.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
{
"name": "druid-query-toolkit",
"version": "1.0.0",
"description": "A collection of utilities for working with Druid queries",
"main": "dist/index.js",
"types": "types/index.d.ts",
"scripts": {
"clean": "rm -rf dist types *.tsbuildinfo src/sql/parser/index.ts",
"build": "npm run clean && node script/compile-peg.js && tsc --emitDeclarationOnly -p ./tsconfig.dist.json && tsup src/index.ts --global-name druid",
"prepublishOnly": "npm run build",
"pretest": "npm run build",
"test": "npm run eslint && npm run prettify-check && jest",
"coverage": "jest --coverage",
"eslint": "TIMING=1 npx eslint --max-warnings 0 'src/**/*.ts?(x)'",
"eslint-fix": "npm run eslint -- --fix",
"eslint-changed-only": "git diff --diff-filter=ACMR --cached --name-only | grep -E \\.tsx\\?$ | xargs ./node_modules/.bin/eslint",
"eslint-fix-changed-only": "npm run eslint-changed-only -- --fix",
"prettify": "prettier --write '{src,script}/**/*.{ts,js}'",
"prettify-check": "prettier --check '{src,script}/**/*.{ts,js}'",
"prepare": "husky install"
},
"files": [
"dist/",
"types/"
],
"jest": {
"preset": "ts-jest",
"testMatch": [
"**/?(*.)+(spec).ts"
],
"setupFilesAfterEnv": [
"<rootDir>jest-env.ts"
]
},
"prettier": "@awesome-code-style/prettier-config",
"tsup": {
"entry": {
"query": "src/index.ts"
},
"format": [
"esm",
"cjs",
"iife"
],
"splitting": false,
"sourcemap": true,
"clean": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/implydata/druid-query-toolkit.git"
},
"author": "Imply Data",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/implydata/druid-query-toolkit/issues"
},
"homepage": "https://github.com/implydata/druid-query-toolkit",
"volta": {
"node": "20.9.0"
},
"dependencies": {
"tslib": "^2.5.2"
},
"devDependencies": {
"@awesome-code-style/eslint-config": "^6.0.0",
"@awesome-code-style/prettier-config": "^5.0.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.10",
"@types/jest": "^29.5.0",
"axios": "^1.7.7",
"eslint": "^9.15.0",
"eslint-plugin-notice": "^1.0.0",
"fs-extra": "^10.0.1",
"globals": "^15.12.0",
"husky": "^7.0.4",
"jest": "^29.5.0",
"peggy": "^3.0.2",
"prettier": "^3.3.3",
"ts-jest": "^29.1.0",
"ts-pegjs": "^4.2.1",
"tsup": "^6.7.0",
"typescript": "^5.0.2"
}
}