-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.31 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 3.31 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "fpanel-public-api",
"version": "1.0.0",
"license": "MIT",
"private": true,
"main": "dist/fpanel-public-api.umd.js",
"module": "dist/fpanel-public-api.es.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "yarn vite",
"build": "yarn vite build && yarn tsc --emitDeclarationOnly && cp -R dist/src dist/types && rm -R dist/src",
"serve": "yarn vite preview",
"gql:clean": "yarn rimraf src/lib/gql/generated",
"gql:generate-configs": "yarn ts-node --project ./scripts/tsconfig.json ./scripts/generateGQLConfigs && yarn eslint src/lib/gql/documents/* --fix",
"gql:generate-schema": "graphql-codegen --config codegen.schema.yml",
"gql:generate-from-schema": "yarn gql:clean && yarn gql:generate-configs && graphql-codegen --config codegen.yml",
"gql:generate": "yarn gql:generate-schema && yarn gql:generate-from-schema",
"lint": "yarn tsc --noEmit && yarn eslint 'src' --ext ts,tsx",
"lint:fix": "yarn tsc --noEmit && yarn eslint 'src' --ext ts,tsx --fix",
"schema:clean": "yarn rimraf schema.graphql && yarn rimraf src/lib/gql/generated",
"schema:generate-types": "yarn schema:clean && graphql-codegen --config codegen.yml"
},
"cacheDirectories": [
"node_modules"
],
"engines": {
"node": ">= 12.13.0",
"yarn": ">= 1.5.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{ts,tsx}": [
"yarn lint --fix",
"git add"
]
},
"dependencies": {
"apollo-absinthe-upload-link": "^1.5.0",
"apollo-cache": "^1.3.4",
"apollo-cache-inmemory": "^1.6.4",
"apollo-client": "2.6.4",
"apollo-link": "^1.2.13",
"apollo-link-context": "^1.0.19",
"apollo-link-error": "^1.1.12",
"apollo-link-http": "^1.5.16",
"apollo-link-logger": "^1.2.3",
"apollo-utilities": "^1.3.3",
"graphql": "^14.5.8",
"graphql-tag": "^2.10.1",
"isomorphic-unfetch": "^3.0.0",
"mobx": "^5.15.4",
"nanoid": "^3.1.22",
"react-apollo": "^3.1.3",
"react-dom": "^16.11.0"
},
"devDependencies": {
"@graphql-codegen/cli": "1.8.3",
"@graphql-codegen/core": "1.8.3",
"@graphql-codegen/fragment-matcher": "1.8.3",
"@graphql-codegen/introspection": "1.8.3",
"@graphql-codegen/schema-ast": "1.8.3",
"@graphql-codegen/typescript": "1.8.3",
"@graphql-codegen/typescript-operations": "1.8.3",
"@graphql-codegen/typescript-react-apollo": "1.8.3",
"@types/lodash": "^4.14.182",
"@types/node": "^15.12.5",
"@types/react": "^16.8.22",
"@types/react-dom": "^16.8.4",
"@types/shortid": "^0.0.29",
"@types/yargs": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^5.9.0",
"dotenv": "^8.2.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sort-keys-fix": "https://github.com/ikabirov/eslint-plugin-sort-keys-fix.git",
"husky": "^3.0.0",
"lint-staged": "^9.1.0",
"prettier": "^2.3.0",
"shelljs": "^0.8.4",
"ts-node": "^9.0.0",
"tslib": "^2.1.0",
"typescript": "^4.5.4",
"vite": "^2.2.1"
}
}