forked from elierotenberg/directus-typescript-gen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 2.13 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 2.13 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
{
"name": "directus-typescript-gen",
"version": "0.2.1",
"description": "Extract type definitions from a live Directus server",
"main": "build/cli.js",
"bin": {
"directus-typescript-gen": "./build/cli.js"
},
"scripts": {
"build": "rm -rf build && tsc -p . && chmod u+x ./build/cli.js",
"test:build": "jest build",
"test:src": "jest src",
"test": "jest build",
"test-env:docker:up": "docker-compose -f docker-compose.test.yml up --build",
"test-env:docker:down": "docker-compose -f docker-compose.test.yml down -v",
"test-env:docker": "npm run test-env:docker:down && npm run test-env:docker:up",
"test-env:cli": "npm run build && node build/cli.js",
"test-env:cli:gen": "npm run test-env:cli -- --host http://localhost:17055 --email admin@example.com --password admin-password --typeName MyCollections --specOutFile src/__tests__/fixtures/directus.spec.json --outFile src/__tests__/fixtures/directus.gen.d.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elierotenberg/directus-typescript-gen.git"
},
"author": "Elie Rotenberg <elie@rotenberg.io>",
"license": "MIT",
"bugs": {
"url": "https://github.com/elierotenberg/directus-typescript-gen/issues"
},
"homepage": "https://github.com/elierotenberg/directus-typescript-gen#readme",
"devDependencies": {
"@directus/sdk": "*",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^27.0.4",
"prettier": "^2.3.1",
"ts-jest": "^27.0.3",
"typescript": "^4.3.2"
},
"dependencies": {
"@types/js-yaml": "^4.0.1",
"@types/node": "^15.12.2",
"@types/node-fetch": "^2.5.10",
"@types/yargs": "^17.0.0",
"change-case": "^4.1.2",
"js-yaml": "^4.1.0",
"json-schema-to-typescript": "^10.1.4",
"node-fetch": "^2.6.1",
"openapi-typescript": "^3.4.1",
"tslib": "^2.3.0",
"typed-utilities": "^1.11.0",
"yargs": "^17.0.1",
"zod": "^3.2.0"
}
}