-
Notifications
You must be signed in to change notification settings - Fork 61
/
package.json
52 lines (52 loc) · 1.87 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
{
"name": "@edgedb/generate",
"version": "0.4.1",
"description": "EdgeDB code generators for TS/JavaScript",
"homepage": "https://edgedb.com/docs",
"author": "EdgeDB <info@edgedb.com>",
"engines": {
"node": ">= 18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/edgedb/edgedb-js.git"
},
"license": "Apache-2.0",
"sideEffects": false,
"files": [
"/dist"
],
"bin": "dist/cli.js",
"peerDependencies": {
"edgedb": "^1.4.0"
},
"devDependencies": {
"@iarna/toml": "^2.2.5",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.2",
"conditional-type-checks": "^1.0.6",
"edgedb": "^1.3.2",
"esbuild": "^0.18.10",
"globby": "^13.2.0",
"jest": "^29.5.0",
"superjson": "^1.12.4",
"ts-jest": "^29.1.0",
"typescript": "^5.4.2"
},
"dependencies": {},
"scripts": {
"typecheck": "tsc --project tsconfig.build.json --noEmit",
"play": "tsx playground.ts",
"build": "rm -rf dist && yarn build:cjs && yarn build:esm && yarn build:deno && chmod +x dist/cli.js && yarn syntax:make && yarn syntax:clean && tsx embedVersion.ts dist/genutil.js",
"build:cjs": "tsc --project tsconfig.build.json",
"build:esm": "tsc --project tsconfig.esm.json",
"syntax:make": "tsx makeSyntax.ts",
"syntax:clean": "tsx cleanSyntax.ts",
"build:deno": "deno run --unstable --allow-all ./buildDeno.ts && yarn syntax:make --deno",
"build:fast": "npx esbuild --tsconfig=tsconfig.build.json --outdir=dist --platform=node --format=cjs src/**/*.ts src/*.ts && yarn syntax:make",
"watch": "nodemon --ignore dist --ignore dbschema/edgeql-js -x ",
"generate": "./dist/cli.js",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" yarn generate edgeql-js && yarn generate queries --file && yarn generate interfaces && jest --detectOpenHandles --forceExit",
"test:ci": "tsx test/testRunner.ts"
}
}