-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 2.47 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 2.47 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
{
"name": "memory-engine",
"version": "0.2.6",
"module": "index.ts",
"type": "module",
"private": true,
"workspaces": [
"packages/*",
"scripts",
"e2e"
],
"scripts": {
"build": "./bun run --filter '@memory.build/cli' build",
"build:all": "./bun scripts/build-all.ts",
"check": "./bun i --silent && ./bun scripts/bundle-web-assets.ts && ./bun run typecheck && ./bun run lint --write && ./bun run test:unit",
"check:full": "./bun run check && ./bun run test --only-failures && TEST_DATABASE_URL=\"${TEST_DATABASE_URL:-postgresql://postgres@127.0.0.1:5432/postgres}\" ./bun run test:e2e",
"clean": "rm -rf packages/cli/dist dist",
"docs": "./bun --filter @memory.build/docs-site dev",
"docs:build": "./bun --filter @memory.build/docs-site build",
"web": "./bun --filter @memory.build/web dev",
"web:build": "./bun --filter @memory.build/web build",
"generate:master-key": "./bun scripts/generate-master-key.ts",
"install:local": "./bun scripts/install-local.ts",
"lint": "biome check",
"me": "./bun run packages/cli/index.ts",
"migrate:db": "./bun scripts/migrate-db.ts",
"pg": "./bun run pg:build && docker run -d --name me-postgres -e POSTGRES_HOST_AUTH_METHOD=trust -p 127.0.0.1:5432:5432 me-postgres",
"pg:build": "docker build -t me-postgres -f docker/Dockerfile.postgres docker/",
"pg:rm": "docker rm -f me-postgres",
"psql": "psql postgresql://postgres@127.0.0.1:5432/postgres",
"release:client": "./bun scripts/release-client.ts",
"release:server": "./bun scripts/release-server.ts",
"server": "./bun run packages/server/index.ts",
"setup": "./bun scripts/setup.ts",
"test": "TEST_DATABASE_URL=\"${TEST_DATABASE_URL:-postgresql://postgres@127.0.0.1:5432/postgres}\" ./bun test packages --timeout 30000 --parallel=2",
"test:db": "./bun run test:db:clean && find packages -name '*.integration.test.ts' -print0 | xargs -0 ./bun test --parallel=2 --timeout 30000",
"test:db:clean": "./bun scripts/clean-test-schemas.ts",
"test:db:clean:all": "./bun scripts/clean-test-schemas.ts --all",
"test:e2e": "./bun run test:db:clean && ./bun test --timeout 60000 ./e2e",
"test:unit": "find packages -name '*.test.ts' ! -name '*.integration.test.ts' -print0 | xargs -0 ./bun test --parallel=2",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@biomejs/biome": "^2.4.11",
"@types/semver": "^7.7.1",
"bun-types": "^1.3.13",
"semver": "^7.7.4",
"typescript": "^6.0.2"
}
}