gwchq-textjam 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +202 -0
- package/README.md +157 -0
- package/dist/13.index.js +1 -0
- package/dist/156.index.js +1 -0
- package/dist/360.index.js +1 -0
- package/dist/447.index.js +1 -0
- package/dist/64.index.js +1 -0
- package/dist/assets/PyodideWorkeref0caaef77d3a68b5bd4.js +1 -0
- package/dist/assets/_internal_sense_hat811404214538fd1e5cc1.js +1 -0
- package/dist/assets/p5-0.0.1-py3-none-any94083ec22b4dfbbd6318.whl +0 -0
- package/dist/assets/py_enigma-0.1-py3-none-any77b539746537424950f6.whl +0 -0
- package/dist/assets/pygalb3ef2739412b1c3b9db3.js +1 -0
- package/dist/assets/raspi-compressed3907c06dae78e674f067.glb +0 -0
- package/dist/assets/sense_hat-0.0.1-py3-none-any37d89a12d6ab77a7b47d.whl +0 -0
- package/dist/assets/turtle-0.0.1-py3-none-any0c3147a3e0c3188b2544.whl +0 -0
- package/dist/index.js +2 -0
- package/dist/index.js.LICENSE.txt +310 -0
- package/dist/style.css +49 -0
- package/package.json +287 -0
package/package.json
ADDED
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gwchq-textjam",
|
|
3
|
+
"description": "Embeddable React editor used in Raspberry Pi text-based projects.",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"homepage": "https://github.com/GirlsFirst/gwchq-textjam",
|
|
7
|
+
"author": "Girls Who Code HQ",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/GirlsFirst/gwchq-textjam.git"
|
|
11
|
+
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=18.17.0"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"start": "NODE_ENV=development BABEL_ENV=development webpack serve -c ./webpack.config.js",
|
|
17
|
+
"build:lib": "npm run clean && NODE_ENV=production BABEL_ENV=production webpack --config webpack.lib.config.js",
|
|
18
|
+
"prepublishOnly": "yarn build:lib",
|
|
19
|
+
"clean": "rimraf dist",
|
|
20
|
+
"lint": "eslint \"src/**/*.{js,jsx,json}\"",
|
|
21
|
+
"lint:fix": "eslint --fix \"src/**/*.{js,jsx,json}\"",
|
|
22
|
+
"stylelint": "stylelint src/**/*.scss",
|
|
23
|
+
"test": "node scripts/test.js --transformIgnorePatterns 'node_modules/(?!three)/'"
|
|
24
|
+
},
|
|
25
|
+
"module": "./dist/index.js",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"import": "./dist/index.js",
|
|
29
|
+
"default": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./style.css": "./dist/style.css",
|
|
32
|
+
"./assets/*": "./dist/assets/*"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist"
|
|
36
|
+
],
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"react": ">=17",
|
|
39
|
+
"react-dom": ">=17"
|
|
40
|
+
},
|
|
41
|
+
"sideEffects": [
|
|
42
|
+
"*.css",
|
|
43
|
+
"*.scss"
|
|
44
|
+
],
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@apollo/client": "^3.7.8",
|
|
47
|
+
"@babel/core": "^7.17.10",
|
|
48
|
+
"@codemirror/commands": "^6.1.1",
|
|
49
|
+
"@codemirror/lang-css": "^6.0.0",
|
|
50
|
+
"@codemirror/lang-html": "^6.1.2",
|
|
51
|
+
"@codemirror/lang-javascript": "^6.2.1",
|
|
52
|
+
"@codemirror/lang-python": "6.1.2",
|
|
53
|
+
"@codemirror/language": "^6.2.1",
|
|
54
|
+
"@codemirror/view": "^6.3.0",
|
|
55
|
+
"@hello-pangea/dnd": "^16.2.0",
|
|
56
|
+
"@juggle/resize-observer": "^3.3.1",
|
|
57
|
+
"@lezer/highlight": "^1.0.0",
|
|
58
|
+
"@raspberrypifoundation/design-system-react": "^2.7.0",
|
|
59
|
+
"@react-three/drei": "9.114.3",
|
|
60
|
+
"@react-three/fiber": "^8.0.13",
|
|
61
|
+
"@reduxjs/toolkit": "^1.6.2",
|
|
62
|
+
"@replit/codemirror-indentation-markers": "^6.1.0",
|
|
63
|
+
"@sentry/browser": "^7.17.3",
|
|
64
|
+
"@sentry/react": "7.16.0",
|
|
65
|
+
"@sentry/tracing": "7.16.0",
|
|
66
|
+
"@szhsin/react-menu": "^3.2.0",
|
|
67
|
+
"apollo-link-sentry": "^3.2.3",
|
|
68
|
+
"assert": "^2.1.0",
|
|
69
|
+
"axios": "^0.24.0",
|
|
70
|
+
"buffer": "^6.0.3",
|
|
71
|
+
"classnames": "^2.3.2",
|
|
72
|
+
"codemirror": "^6.0.1",
|
|
73
|
+
"container-query-polyfill": "^1.0.2",
|
|
74
|
+
"date-fns": "^4.1.0",
|
|
75
|
+
"file-saver": "^2.0.5",
|
|
76
|
+
"fs-extra": "^9.0.1",
|
|
77
|
+
"graphql": "^16.6.0",
|
|
78
|
+
"highcharts": "^9.3.1",
|
|
79
|
+
"highcharts-react-official": "^3.1.0",
|
|
80
|
+
"i18next": "^22.0.3",
|
|
81
|
+
"i18next-resources-to-backend": "^1.2.1",
|
|
82
|
+
"identity-obj-proxy": "3.0.0",
|
|
83
|
+
"jest-axe": "^7.0.0",
|
|
84
|
+
"jest-canvas-mock": "^2.5.2",
|
|
85
|
+
"js-convert-case": "^4.2.0",
|
|
86
|
+
"jszip": "^3.10.1",
|
|
87
|
+
"jszip-utils": "^0.1.0",
|
|
88
|
+
"marked": "^15.0.6",
|
|
89
|
+
"mime-types": "^2.1.35",
|
|
90
|
+
"node-html-parser": "^6.1.5",
|
|
91
|
+
"oidc-client": "^1.11.5",
|
|
92
|
+
"plotly.js": "^3.0.2",
|
|
93
|
+
"prismjs": "^1.29.0",
|
|
94
|
+
"process": "^0.11.10",
|
|
95
|
+
"prompts": "2.4.0",
|
|
96
|
+
"prop-types": "^15.8.1",
|
|
97
|
+
"raw-loader": "^4.0.2",
|
|
98
|
+
"rc-resize-observer": "^1.3.1",
|
|
99
|
+
"re-resizable": "6.9.9",
|
|
100
|
+
"react-app-polyfill": "^2.0.0",
|
|
101
|
+
"react-confirm-alert": "^2.8.0",
|
|
102
|
+
"react-container-query": "^0.13.0",
|
|
103
|
+
"react-cookie": "^4.1.1",
|
|
104
|
+
"react-dropzone": "^12.0.4",
|
|
105
|
+
"react-i18next": "^12.0.0",
|
|
106
|
+
"react-modal": "^3.14.4",
|
|
107
|
+
"react-redux": "^7.2.5",
|
|
108
|
+
"react-refresh": "^0.8.3",
|
|
109
|
+
"react-responsive": "^9.0.2",
|
|
110
|
+
"react-router-dom": "^6.7.0",
|
|
111
|
+
"react-tabs": "^3.2.3",
|
|
112
|
+
"react-timer-hook": "^3.0.5",
|
|
113
|
+
"react-toastify": "^8.1.0",
|
|
114
|
+
"react-toggle": "^4.1.3",
|
|
115
|
+
"redux-oidc": "^4.0.0-beta1",
|
|
116
|
+
"skulpt": "^1.2.0",
|
|
117
|
+
"stream-browserify": "^3.0.0",
|
|
118
|
+
"three": "0.169.0",
|
|
119
|
+
"ts-pnp": "1.2.0",
|
|
120
|
+
"url": "^0.11.4",
|
|
121
|
+
"util": "^0.12.5",
|
|
122
|
+
"watch": "^1.0.2",
|
|
123
|
+
"web-vitals": "^1.0.1"
|
|
124
|
+
},
|
|
125
|
+
"browserslist": {
|
|
126
|
+
"production": [
|
|
127
|
+
">0.2%",
|
|
128
|
+
"not dead",
|
|
129
|
+
"not op_mini all"
|
|
130
|
+
],
|
|
131
|
+
"development": [
|
|
132
|
+
"last 1 chrome version",
|
|
133
|
+
"last 1 firefox version",
|
|
134
|
+
"last 1 safari version"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"devDependencies": {
|
|
138
|
+
"@babel/preset-env": "^7.17.10",
|
|
139
|
+
"@pmmmwh/react-refresh-webpack-plugin": "0.4.3",
|
|
140
|
+
"@react-three/test-renderer": "8.2.1",
|
|
141
|
+
"@svgr/webpack": "5.5.0",
|
|
142
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
143
|
+
"@testing-library/react": "14.3.1",
|
|
144
|
+
"@testing-library/user-event": "^12.1.10",
|
|
145
|
+
"@typescript-eslint/eslint-plugin": "^4.5.0",
|
|
146
|
+
"@typescript-eslint/parser": "^4.5.0",
|
|
147
|
+
"babel-eslint": "^10.1.0",
|
|
148
|
+
"babel-jest": "^29.1.2",
|
|
149
|
+
"babel-loader": "^8.2.5",
|
|
150
|
+
"babel-plugin-named-asset-import": "^0.3.7",
|
|
151
|
+
"babel-plugin-prismjs": "^2.1.0",
|
|
152
|
+
"babel-preset-react-app": "^10.0.1",
|
|
153
|
+
"bfj": "^7.0.2",
|
|
154
|
+
"camelcase": "^6.1.0",
|
|
155
|
+
"case-sensitive-paths-webpack-plugin": "2.3.0",
|
|
156
|
+
"copy-webpack-plugin": "12.0.2",
|
|
157
|
+
"css-loader": "4.3.0",
|
|
158
|
+
"css-minimizer-webpack-plugin": "^7.0.2",
|
|
159
|
+
"curl": "^0.1.4",
|
|
160
|
+
"cypress": "12.12.0",
|
|
161
|
+
"dotenv": "8.2.0",
|
|
162
|
+
"dotenv-expand": "5.1.0",
|
|
163
|
+
"dotenv-webpack": "8.1.0",
|
|
164
|
+
"eslint": "^7.11.0",
|
|
165
|
+
"eslint-config-prettier": "^8.8.0",
|
|
166
|
+
"eslint-config-react-app": "^6.0.0",
|
|
167
|
+
"eslint-plugin-flowtype": "^5.2.0",
|
|
168
|
+
"eslint-plugin-import": "^2.22.1",
|
|
169
|
+
"eslint-plugin-jest": "^24.1.0",
|
|
170
|
+
"eslint-plugin-jsx-a11y": "^6.3.1",
|
|
171
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
172
|
+
"eslint-plugin-react": "^7.21.5",
|
|
173
|
+
"eslint-plugin-react-hooks": "^4.2.0",
|
|
174
|
+
"eslint-plugin-testing-library": "^3.9.2",
|
|
175
|
+
"eslint-webpack-plugin": "^2.5.2",
|
|
176
|
+
"file-loader": "6.1.1",
|
|
177
|
+
"html-webpack-plugin": "5.6.0",
|
|
178
|
+
"jest": "^29.1.2",
|
|
179
|
+
"jest-circus": "^29.1.2",
|
|
180
|
+
"jest-css-modules-transform": "^4.4.2",
|
|
181
|
+
"jest-environment-jsdom": "^29.1.2",
|
|
182
|
+
"jest-github-actions-reporter": "^1.0.3",
|
|
183
|
+
"jest-junit": "^14.0.1",
|
|
184
|
+
"jest-resolve": "^29.1.2",
|
|
185
|
+
"jest-scss-transform": "^1.0.3",
|
|
186
|
+
"jest-transform-stub": "^2.0.0",
|
|
187
|
+
"jest-transformer-svg": "^2.0.0",
|
|
188
|
+
"jest-watch-typeahead": "^2.2.0",
|
|
189
|
+
"mini-css-extract-plugin": "^2.9.4",
|
|
190
|
+
"mock-match-media": "^0.4.3",
|
|
191
|
+
"optimize-css-assets-webpack-plugin": "5.0.4",
|
|
192
|
+
"path-browserify": "^1.0.1",
|
|
193
|
+
"pnp-webpack-plugin": "1.6.4",
|
|
194
|
+
"postcss-flexbugs-fixes": "4.2.1",
|
|
195
|
+
"postcss-loader": "3.0.0",
|
|
196
|
+
"postcss-normalize": "8.0.1",
|
|
197
|
+
"postcss-preset-env": "6.7.0",
|
|
198
|
+
"postcss-safe-parser": "5.0.2",
|
|
199
|
+
"prettier": "^2.8.8",
|
|
200
|
+
"react": "^18.1.0",
|
|
201
|
+
"react-dev-utils": "^11.0.3",
|
|
202
|
+
"react-dom": "^18.1.0",
|
|
203
|
+
"react-test-renderer": "^18.1.0",
|
|
204
|
+
"redux-mock-store": "^1.5.4",
|
|
205
|
+
"resolve": "1.18.1",
|
|
206
|
+
"resolve-url-loader": "^3.1.2",
|
|
207
|
+
"rimraf": "^6.1.0",
|
|
208
|
+
"sass": "^1.51.0",
|
|
209
|
+
"sass-loader": "^10.0.0",
|
|
210
|
+
"semver": "7.3.2",
|
|
211
|
+
"storybook-addon-react-router-v6": "^0.2.1",
|
|
212
|
+
"style-it": "^2.1.4",
|
|
213
|
+
"style-loader": "1.3.0",
|
|
214
|
+
"stylelint": "^15.11.0",
|
|
215
|
+
"stylelint-config-recommended-scss": "3.3.0",
|
|
216
|
+
"stylelint-order": "2.2.1",
|
|
217
|
+
"stylelint-scss": "3.12.0",
|
|
218
|
+
"stylelint-use-logical": "^2.1.0",
|
|
219
|
+
"terser-webpack-plugin": "4.2.3",
|
|
220
|
+
"url-loader": "4.1.1",
|
|
221
|
+
"webgl-mock-threejs": "^0.0.1",
|
|
222
|
+
"webpack": "5.95.0",
|
|
223
|
+
"webpack-cli": "5.1.4",
|
|
224
|
+
"webpack-dev-server": "5.1.0",
|
|
225
|
+
"webpack-manifest-plugin": "2.2.0",
|
|
226
|
+
"workbox-webpack-plugin": "5.1.4",
|
|
227
|
+
"worker-plugin": "5.0.1"
|
|
228
|
+
},
|
|
229
|
+
"jest": {
|
|
230
|
+
"roots": [
|
|
231
|
+
"<rootDir>/src"
|
|
232
|
+
],
|
|
233
|
+
"collectCoverageFrom": [
|
|
234
|
+
"src/**/*.{js,jsx,ts,tsx}",
|
|
235
|
+
"!src/**/*.d.ts"
|
|
236
|
+
],
|
|
237
|
+
"setupFiles": [
|
|
238
|
+
"react-app-polyfill/jsdom"
|
|
239
|
+
],
|
|
240
|
+
"setupFilesAfterEnv": [
|
|
241
|
+
"<rootDir>/src/utils/setupTests.js"
|
|
242
|
+
],
|
|
243
|
+
"testMatch": [
|
|
244
|
+
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
|
|
245
|
+
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
|
|
246
|
+
],
|
|
247
|
+
"testEnvironment": "jsdom",
|
|
248
|
+
"testEnvironmentOptions": {
|
|
249
|
+
"resources": "usable"
|
|
250
|
+
},
|
|
251
|
+
"testRunner": "jest-circus/runner",
|
|
252
|
+
"transform": {
|
|
253
|
+
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
|
|
254
|
+
".+\\.css$": "<rootDir>/node_modules/jest-css-modules-transform",
|
|
255
|
+
"^.+\\.scss$": "<rootDir>/node_modules/jest-scss-transform",
|
|
256
|
+
"^.+\\.svg$": "jest-transformer-svg",
|
|
257
|
+
"^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|scss|svg|json)$)": "<rootDir>/node_modules/jest-transform-stub"
|
|
258
|
+
},
|
|
259
|
+
"transformIgnorePatterns": [
|
|
260
|
+
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
|
|
261
|
+
"^.+\\.module\\.(css|sass|scss)$"
|
|
262
|
+
],
|
|
263
|
+
"modulePaths": [],
|
|
264
|
+
"moduleNameMapper": {
|
|
265
|
+
"^react-native$": "react-native-web",
|
|
266
|
+
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
|
|
267
|
+
},
|
|
268
|
+
"moduleFileExtensions": [
|
|
269
|
+
"web.js",
|
|
270
|
+
"js",
|
|
271
|
+
"web.ts",
|
|
272
|
+
"ts",
|
|
273
|
+
"web.tsx",
|
|
274
|
+
"tsx",
|
|
275
|
+
"json",
|
|
276
|
+
"web.jsx",
|
|
277
|
+
"jsx",
|
|
278
|
+
"node"
|
|
279
|
+
],
|
|
280
|
+
"watchPlugins": [
|
|
281
|
+
"jest-watch-typeahead/filename",
|
|
282
|
+
"jest-watch-typeahead/testname"
|
|
283
|
+
],
|
|
284
|
+
"resetMocks": true
|
|
285
|
+
},
|
|
286
|
+
"packageManager": "yarn@3.4.1"
|
|
287
|
+
}
|