-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeepgram.toml
More file actions
52 lines (42 loc) · 1.67 KB
/
deepgram.toml
File metadata and controls
52 lines (42 loc) · 1.67 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
[meta]
title = "Node Text Intelligence"
description = "Get started using Deepgram's Text Intelligence with this Node demo app"
author = "Deepgram DX Team <devrel@deepgram.com> (https://developers.deepgram.com)"
repository = "https://github.com/deepgram-starters/node-text-intelligence"
useCase = "text-intelligence"
language = "javascript"
framework = "node"
sdk = "4.11.3"
tags = ["text-intelligence", "text-analysis", "nlp", "natural-language-processing", "javascript", "node"]
[check]
command = ["command -v git", "command -v node", "command -v pnpm"]
message = "Prerequisites checked"
[install.pre]
command = "git submodule update --init --recursive"
message = "Submodules initialized"
[install]
command = ["corepack pnpm install", "cd frontend && corepack pnpm install"]
message = "Dependencies installed"
[install.config]
sample = "sample.env"
output = ".env"
[start.pre]
command = ["test -f .env || echo 'Error: .env file not found'", "test -d frontend/.git || echo 'Error: Frontend submodule not initialized'"]
message = "Pre-flight checks complete"
[start]
command = ["node --no-deprecation server.js", "cd frontend && pnpm run dev -- --port 8080 --no-open"]
parallel = true
message = "Application running on http://localhost:8080"
[update]
command = "git submodule update --remote --merge"
message = "Submodules updated"
[clean]
command = ["rm -rf node_modules", "rm -rf frontend/node_modules", "rm -rf frontend/dist"]
message = "Build artifacts cleaned"
# Eject frontend and contracts submodules for standalone development
[eject-frontend]
command = "make eject-frontend"
message = "Frontend ejected successfully"
[test]
command = "echo 'No tests configured'"
message = "Tests skipped"