-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
143 lines (143 loc) · 4.54 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "amd-ui",
"description": "amd-ui",
"version": "0.0.0",
"license": "BSD-2-CLAUSE",
"author": "pharmpy-dev-123",
"homepage": "https://pharmpy.github.io/amdui",
"repository": {
"url": "https://github.com/pharmpy/amdui",
"type": "git"
},
"bugs": {
"url": "https://github.com/pharmpy/amdui/issues"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"build": "gatsby build",
"clean": "gatsby clean",
"cu": "ncu",
"dev": "gatsby develop",
"install-hooks": "husky install",
"lint": "xo",
"lint-and-fix": "yarn lint --fix",
"lint-config": "fixpack --dryRun",
"lint-config-and-fix": "fixpack || fixpack",
"postinstall": "yarn install-hooks",
"precommit": "lint-staged",
"serve": "gatsby serve",
"tc": "tsc --noEmit",
"tc:watch": "yarn tc --noErrorTruncation --watch",
"up": "ncu -u"
},
"dependencies": {
"@babel/core": "^7.20.5",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@fontsource/roboto": "^4.5.8",
"@mdx-js/mdx": "^2.1.5",
"@mdx-js/react": "^2.1.5",
"@mui/icons-material": "^5.10.16",
"@mui/material": "^5.10.16",
"babel-eslint": "^10.1.0",
"file-saver": "^2.0.5",
"gatsby": "^5.2.0",
"gatsby-plugin-emotion": "^8.2.0",
"gatsby-plugin-image": "^3.2.0",
"gatsby-plugin-layout": "^4.2.0",
"gatsby-plugin-mdx": "^5.2.0",
"gatsby-plugin-sharp": "^5.2.0",
"gatsby-plugin-sitemap": "^6.2.0",
"gatsby-source-filesystem": "^5.2.0",
"gatsby-transformer-sharp": "^5.2.0",
"immutable": "^4.1.0",
"mem": "^9.0.2",
"papaparse": "^5.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-number-format": "^5.1.2",
"react-syntax-highlighter": "^15.5.0"
},
"devDependencies": {
"@types/file-saver": "^2.0.5",
"@types/node": "^18.11.9",
"@types/papaparse": "^5.3.5",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@types/react-syntax-highlighter": "^15.5.5",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"fixpack": "^4.0.0",
"husky": "^8.0.2",
"lint-staged": "^13.0.4",
"npm-check-updates": "^16.4.3",
"typescript": "^4.9.3",
"webpack": "^5.75.0",
"xo": "^0.53.1"
},
"babel": {},
"prettier": {
"trailingComma": "all"
},
"xo": {
"parser": "@typescript-eslint/parser",
"extends": "xo-react",
"prettier": true,
"plugins": [
"unicorn"
],
"rules": {
"unicorn/filename-case": "off",
"import/extensions": "off",
"n/prefer-global/process": "off"
},
"overrides": [
{
"files": [
"gatsby-config.js",
"lint-staged.config.js"
],
"rules": {
"unicorn/prefer-module": "off",
"unicorn/prefer-json-parse-buffer": "off"
}
},
{
"files": [
"*.ts",
"*.tsx"
],
"rules": {
"@typescript-eslint/ban-types": [
"error",
{
"extendDefaults": false,
"types": {
"String": "Use `string` instead.",
"Number": "Use `number` instead.",
"Boolean": "Use `boolean` instead.",
"Symbol": "Use `symbol` instead.",
"Object": "The `Object` type is mostly the same as `unknown`. You probably want `Record<string, unknown>` instead. See https://github.com/typescript-eslint/typescript-eslint/pull/848",
"{}": "The `{}` type is mostly the same as `unknown`. You probably want `Record<string, unknown>` instead.",
"object": "The `object` type is hard to use. Use `Record<string, unknown>` instead. See: https://github.com/typescript-eslint/typescript-eslint/pull/848",
"Function": "Use a specific function type instead, like `() => void`.",
"null": "Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",
"[]": "Don't use the empty array type `[]`. It only allows empty arrays. Use `SomeType[]` instead.",
"[[]]": "Don't use `[[]]`. It only allows an array with a single element which is an empty array. Use `SomeType[][]` instead.",
"[[[]]]": "Don't use `[[[]]]`. Use `SomeType[][][]` instead.",
"[[[[]]]]": "ur drunk 🤡",
"[[[[[]]]]]": "🦄💥"
}
}
]
}
}
]
}
}