-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
89 lines (89 loc) · 2.55 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "@simulacrum/github-api-simulator",
"version": "0.4.0",
"private": false,
"description": "Provides common functionality to frontend app and plugins.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"backstage": {
"role": "backend"
},
"license": "Apache-2.0",
"files": [
"dist",
"README.md",
"schema",
"repository-mock-data"
],
"scripts": {
"lint": "echo noop",
"prepack": "npm run build",
"build:cjs": "tsc -b tsconfig.dist.json",
"build:esm": "tsc -b tsconfig.esm.json",
"build": "npm run generate && npm run build:cjs && npm run build:esm && copyfiles -f src/schema/schema.docs*.graphql dist/schema",
"start": "PORT=3300 nodemon",
"watch": "NODE_ENV=development npm run concurrently \"tsc -b --watch\" \"npm run generate:watch\"",
"generate": "tsc -p ./codegen.tsconfig.json && graphql-codegen",
"generate:watch": "npm run generate --watch",
"test": "echo not.....yet"
},
"dependencies": {
"@frontside/graphgen": "^1.8.1",
"@graphql-yoga/node": "^2.13.13",
"assert-ts": "^0.3.4",
"cors": "^2.8.5",
"express": "^4.18.2",
"express-promise-router": "^4.1.1",
"graphql": "^16.6.0",
"graphql-type-json": "^0.3.2",
"lodash.omit": "^4.5.0"
},
"devDependencies": {
"@graphql-codegen/add": "^3.1.1",
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/graphql-modules-preset": "^2.3.8",
"@graphql-codegen/typescript": "^2.4.8",
"@graphql-codegen/typescript-resolvers": "^2.6.1",
"@types/express": "^4.17.14",
"@types/lodash.omit": "^4.5.7",
"concurrently": "^7.0.0",
"copyfiles": "^2.4.1",
"nodemon": "^2.0.20",
"ts-node": "^10.9.1"
},
"peerDependencies": {
"@graphql-codegen/cli": "2.x.x"
},
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./main": {
"import": "./dist/esm/main.js",
"require": "./dist/cjs/main.js"
},
"./add-id-to-types": {
"require": "./dist/cjs/codegen/plugins/add-id-to-types.js"
},
"./github-topics.json": {
"import": "./repository-mock-data/github-topics.json",
"require": "./repository-mock-data/github-topics.json"
},
"./repository-names.json": {
"import": "./repository-mock-data/github-topics.json",
"require": "./repository-mock-data/repository-names.json"
}
},
"typesVersions": {
"*": {
"*": [
"dist/esm/index.d.ts"
]
}
},
"volta": {
"extends": "../../package.json"
}
}