-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 2.05 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
{
"name": "@jsheaven/astro-client-generator",
"version": "1.1.4",
"type": "module",
"publishConfig": {
"access": "public"
},
"bin": {
"astro-client-generator": "./dist/cli.esm.js",
"astro-client-generator-cjs": "./dist/cli.cjs.js"
},
"license": "MIT",
"description": "Generates TypeScript API client code for your Astro endpoints. No manual `fetch()` code writing anymore.",
"keywords": [
"client-generator",
"fetch",
"api-client",
"codegen",
"Astro",
"endpoints"
],
"repository": {
"url": "git+https://github.com/jsheaven/astro-client-generator.git",
"type": "git"
},
"scripts": {
"presandbox:example:dev": "yarn build && IS_SANDBOX=true yarn --cwd ./example/todo-list",
"sandbox:example:dev": "IS_SANDBOX=true yarn --cwd ./example/todo-list build",
"postsandbox:example:dev": "IS_SANDBOX=true yarn --cwd ./example/todo-list dev",
"pretest": "yarn build",
"test": "NODE_OPTIONS='--experimental-vm-modules --enable-source-maps --no-warnings' jest ./test/*.test.ts",
"clean": "rm -rf ./dist && rm -rf ./coverage",
"prebuild": "yarn clean",
"build": "yarn node --enable-source-maps ./build.mjs",
"precli": "yarn build",
"cli": "yarn node --enable-source-maps ./dist/cli.esm.js generate",
"cli-cjs": "yarn node --enable-source-maps ./dist/cli.cjs.js generate"
},
"stackblitz": {
"startCommand": "yarn sandbox:example:dev"
},
"author": "Aron Homberg <info@aron-homberg.de>",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.esm.js"
}
},
"module": "./dist/index.esm.js",
"main": "./dist/index.cjs.js",
"types": "./dist/index.esm.d.ts",
"files": [
"dist"
],
"devDependencies": {
"@jsheaven/easybuild": "^1.1.4",
"@types/jest": "^29.4.0",
"astro": "^4.1.2",
"jest": "^29.4.2",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"dependencies": {
"chokidar": "^3.5.3",
"kleur": "^4.1.5",
"ts-morph": "^21.0.1",
"yargs-parser": "^21.1.1"
}
}