Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.92 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 2.92 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
60
61
62
63
64
65
66
67
68
{
"name": "smile-dashboard",
"version": "1.0.0",
"main": "index.js",
"repository": "git@github.com:alisman/smile-dashboard.git",
"author": "alisman <lisman.aaron@gmail.com>",
"private": true,
"license": "MIT",
"workspaces": [
"frontend",
"graphql-server",
"packages/*"
],
"pre-commit": [
"prettierFixCurrentChanges"
],
"scripts": {
"dev:frontend": "yarn --cwd frontend start",
"start:backend": "yarn --cwd graphql-server start",
"dev:backend": "yarn --cwd graphql-server dev",
"build:backend": "yarn --cwd graphql-server build",
"prettierFixCurrentChanges": "STAGED_AND_CHANGED_FILES=$(git diff HEAD --name-only --cached --diff-filter=d) && ([ -z \"$STAGED_AND_CHANGED_FILES\" ] && echo \"Nothing to prettify\" || (yarn run prettier ./frontend/src ./graphql-server --write $(echo $STAGED_AND_CHANGED_FILES) && git add -f $(echo $STAGED_AND_CHANGED_FILES)))",
"prettierCheckCircleCI": "git remote add smile-repo https://github.com/mskcc/smile-dashboard.git && git fetch smile-repo master && CHANGED_FILES=$(git diff smile-repo/master --name-only --diff-filter=d) && [ ! -z \"$CHANGED_FILES\" ] && yarn run prettier -c $(echo $CHANGED_FILES) && git remote rm smile-repo",
"prettierFixLocal": "CHANGED_FILES=$(git diff master --name-only --diff-filter=d) && ([ ! -z \"$CHANGED_FILES\" ] && yarn run prettier ./frontend/src ./graphql-server --write $(echo $CHANGED_FILES) || echo \"Nothing to prettify\")",
"prettierAll": "yarn run prettier ./frontend/src ./graphql-server --write $(git ls-files | grep '\\(.js\\|.ts\\|.scss\\|.css\\|.ht\\)')",
"codegen": "graphql-codegen --config codegen.yml"
},
"dependencies": {
"apollo-cache-inmemory": "^1.6.6",
"apollo-client": "^2.6.10",
"apollo-link-http": "^1.5.17"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.0",
"node-gyp": "9.4.1",
"prettier": "2.8.8"
},
"resolutions": {
"node-releases": "2.0.44",
"sass": "1.99.0",
"prettier": "2.8.8",
"@whatwg-node/fetch": "0.9.16",
"@whatwg-node/node-fetch": "0.5.18",
"@whatwg-node/events": "0.1.1",
"@graphql-tools/url-loader": "8.0.23",
"@graphql-tools/batch-execute": "9.0.6",
"@graphql-tools/executor": "1.3.3",
"inquirer": "8.2.6",
"graphql-config": "5.1.5",
"@graphql-codegen/typescript-operations": "4.6.1",
"@graphql-codegen/typescript": "4.1.6",
"@graphql-tools/apollo-engine-loader": "8.0.12",
"@graphql-tools/github-loader": "8.0.12",
"@neo4j/graphql": "5.12.7",
"@neo4j/graphql-ogm": "5.12.7",
"@graphql-tools/delegate": "10.1.2",
"@graphql-tools/wrap": "10.0.16",
"@graphql-tools/executor-graphql-ws": "1.3.2",
"@graphql-tools/executor-http": "1.1.9",
"@envelop/core": "4.0.3",
"@envelop/types": "4.0.1",
"@apollo/federation-internals": "2.12.3",
"@apollo/subgraph": "2.12.3",
"color": "4.2.3",
"color-string": "1.9.1",
"postcss-load-config": "4.0.2"
}
}