-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.82 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 2.82 KB
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
{
"name": "filter-query-editor",
"version": "2.2.0",
"description": "ANTLR4-based filter query parser with React CodeMirror component, formatter, and evaluator for building advanced filters",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./style.css": "./dist/style.css"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "https://github.com/Ivy-Interactive/Ivy-Query-Editor.git"
},
"homepage": "https://github.com/Ivy-Interactive/Ivy-Query-Editor#readme",
"bugs": {
"url": "https://github.com/Ivy-Interactive/Ivy-Query-Editor/issues"
},
"scripts": {
"dev": "vite",
"generate:parser": "antlr-ng docs/grammar/Filters.g4 -Dlanguage=TypeScript -o src/generated --generate-visitor && cd src/generated && for file in *.ts; do sed -i '' '1i\\\n// @ts-nocheck\\\n/* eslint-disable */\n' \"$file\"; done",
"build": "npm run generate:parser && tsc && vite build --config vite.config.lib.ts",
"build:demo": "vite build",
"test": "vitest",
"test:unit": "vitest run",
"test:coverage": "vitest --coverage",
"clean": "rm -rf dist src/generated",
"prebuild": "npm run clean",
"prepublishOnly": "npm run build && npm run test:unit"
},
"keywords": [
"antlr4",
"parser",
"filter",
"query",
"ast",
"react",
"codemirror",
"editor",
"formatter",
"evaluator",
"validation",
"autocomplete"
],
"author": "",
"license": "MIT",
"dependencies": {
"@codemirror/autocomplete": "^6.19.0",
"@codemirror/commands": "^6.9.0",
"@codemirror/language": "^6.11.3",
"@codemirror/lint": "^6.9.0",
"@codemirror/state": "^6.5.2",
"@codemirror/view": "^6.38.4",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tooltip": "^1.2.8",
"antlr4ng": "^3.0.0"
},
"devDependencies": {
"@radix-ui/themes": "^3.2.1",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.10.0",
"@types/react": "^18.3.25",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react": "^5.0.4",
"@vitest/coverage-v8": "^1.0.0",
"antlr-ng": "^1.0.0",
"autoprefixer": "^10.4.21",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"fast-check": "^4.3.0",
"jsdom": "^23.0.0",
"lucide-react": "^0.544.0",
"postcss": "^8.5.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^3.4.18",
"typescript": "^5.3.0",
"vite": "^7.1.9",
"vitest": "^1.0.0"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
}
}