-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
156 lines (156 loc) · 4.51 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
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"private": true,
"name": "shinylive",
"version": "0.9.1",
"description": "Run Shiny applications with R or Python running in the browser.",
"main": "index.js",
"repository": {
"url": "https://github.com/posit-dev/shinylive",
"type": "git"
},
"scripts": {
"serve": "tsx scripts/build.ts --serve",
"test-server": "tsx scripts/build.ts --test-server",
"cypress:open": "cypress open"
},
"author": "Winston Chang <winston@posit.co>",
"license": "MIT",
"devDependencies": {
"@codemirror/autocomplete": "^6.4.2",
"@codemirror/commands": "6.2.1",
"@codemirror/lang-css": "^6.0.2",
"@codemirror/lang-html": "^6.4.2",
"@codemirror/lang-javascript": "^6.1.4",
"@codemirror/lang-python": "^6.1.1",
"@codemirror/lang-sass": "^6.0.2",
"@codemirror/lang-sql": "^6.7.0",
"@codemirror/lang-yaml": "^6.1.1",
"@codemirror/language": "^6.6.0",
"@codemirror/legacy-modes": "^6.3.1",
"@codemirror/lint": "^6.1.1",
"@codemirror/search": "^6.2.3",
"@codemirror/state": "^6.2.0",
"@codemirror/view": "^6.9.1",
"@github/clipboard-copy-element": "^1.3.0",
"@lezer/common": "^1.0.2",
"@playwright/test": "^1.40.1",
"@testing-library/dom": "^8.20.1",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/dompurify": "^3.0.5",
"@types/events": "^3.0.3",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.11",
"@types/js-yaml": "^4.0.9",
"@types/lodash.sortby": "^4.7.9",
"@types/marked": "^5.0.2",
"@types/react": "18.2.45",
"@types/react-dom": "18.2.18",
"@types/wicg-file-system-access": "^2023.10.4",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"balloon-css": "^1.2.0",
"codemirror": "^6.0.1",
"dompurify": "^3.0.6",
"esbuild": "^0.18.10",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"events": "^3.3.0",
"fflate": "^0.8.0",
"glob": "^10.3.10",
"istextorbinary": "^6.0.0",
"jest": "^27.5.1",
"js-yaml": "^4.1.0",
"lodash.sortby": "^4.7.0",
"lz-string": "^1.5.0",
"marked": "^5.1.0",
"prettier": "^3.1.1",
"prettier-plugin-organize-imports": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vscode-languageserver-protocol": "^3.17.5",
"webr": "^0.4.2",
"xterm": "^5.3.0",
"xterm-addon-fit": "^0.7.0",
"xterm-readline": "^1.1.1"
},
"jest": {
"testEnvironment": "jsdom",
"modulePathIgnorePatterns": [
"pyodide",
"testing-helpers/skeleton.test.tsx"
],
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/testing-helpers/__mocks__/styleMock.js",
"\\.(gif|ttf|eot|svg)$": "<rootDir>/testing-helpers/__mocks__/fileMock.js"
}
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module",
"project": [
"./tsconfig.json"
]
},
"ignorePatterns": [
"src/pyodide",
"src/pyright",
"**/*.test.tsx"
],
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/ban-ts-comment": [
"error",
{
"ts-expect-error": "allow-with-description",
"ts-ignore": "allow-with-description",
"minimumDescriptionLength": 3
}
],
"@typescript-eslint/no-unused-vars": [
"warn",
{
"args": "none"
}
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/consistent-type-imports": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
},
"prettier": {
"plugins": [
"prettier-plugin-organize-imports"
],
"organizeImportsSkipDestructiveCodeActions": true
}
}