NERDDISCO commited on
Commit
5c8ae1b
•
1 Parent(s): bd1ef16

feat: added terser, semantic-release, updated lint-staged, added scripts "write-version" and "postinstall"

Browse files
Files changed (2) hide show
  1. package-lock.json +257 -1
  2. package.json +7 -4
package-lock.json CHANGED
@@ -17,6 +17,7 @@
17
  "@monaco-editor/react": "4.5.0",
18
  "@mui/icons-material": "5.11.16",
19
  "@mui/material": "5.12.0",
 
20
  "@tweenjs/tween.js": "^18.6.4",
21
  "@types/prettier": "^2.7.2",
22
  "axios": "1.3.5",
@@ -38,7 +39,8 @@
38
  "react": "18.2.0",
39
  "react-dom": "18.2.0",
40
  "react-hook-form": "7.43.9",
41
- "react-syntax-highlighter": "15.5.0"
 
42
  },
43
  "devDependencies": {
44
  "@types/canvas-confetti": "^1.6.0",
@@ -378,6 +380,63 @@
378
  "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz",
379
  "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA=="
380
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
  "node_modules/@monaco-editor/loader": {
382
  "version": "1.3.3",
383
  "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.3.3.tgz",
@@ -975,6 +1034,128 @@
975
  "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.3.0.tgz",
976
  "integrity": "sha512-IthPJsJR85GhOkp3Hvp8zFOPK5ynKn6STyHa/WZpioK7E1aYDiBzpqQPrngc14DszIUkIrdd3k9Iu0XSzlP/1w=="
977
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
978
  "node_modules/@swc/helpers": {
979
  "version": "0.4.14",
980
  "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.14.tgz",
@@ -1225,6 +1406,18 @@
1225
  "node": ">= 4.0.0"
1226
  }
1227
  },
 
 
 
 
 
 
 
 
 
 
 
 
1228
  "node_modules/ajv": {
1229
  "version": "6.12.6",
1230
  "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
@@ -1765,6 +1958,14 @@
1765
  "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz",
1766
  "integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A=="
1767
  },
 
 
 
 
 
 
 
 
1768
  "node_modules/cli-boxes": {
1769
  "version": "1.0.0",
1770
  "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz",
@@ -4270,6 +4471,14 @@
4270
  "node": ">=0.8.19"
4271
  }
4272
  },
 
 
 
 
 
 
 
 
4273
  "node_modules/inflight": {
4274
  "version": "1.0.6",
4275
  "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
@@ -5844,6 +6053,14 @@
5844
  "url": "https://github.com/sponsors/sindresorhus"
5845
  }
5846
  },
 
 
 
 
 
 
 
 
5847
  "node_modules/package-json": {
5848
  "version": "4.0.1",
5849
  "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz",
@@ -6929,6 +7146,28 @@
6929
  "node": ">=0.10.0"
6930
  }
6931
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6932
  "node_modules/space-separated-tokens": {
6933
  "version": "1.1.5",
6934
  "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz",
@@ -7292,6 +7531,23 @@
7292
  "node": ">=4"
7293
  }
7294
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7295
  "node_modules/text-table": {
7296
  "version": "0.2.0",
7297
  "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
 
17
  "@monaco-editor/react": "4.5.0",
18
  "@mui/icons-material": "5.11.16",
19
  "@mui/material": "5.12.0",
20
+ "@semantic-release/git": "10.0.1",
21
  "@tweenjs/tween.js": "^18.6.4",
22
  "@types/prettier": "^2.7.2",
23
  "axios": "1.3.5",
 
39
  "react": "18.2.0",
40
  "react-dom": "18.2.0",
41
  "react-hook-form": "7.43.9",
42
+ "react-syntax-highlighter": "15.5.0",
43
+ "terser": "5.17.6"
44
  },
45
  "devDependencies": {
46
  "@types/canvas-confetti": "^1.6.0",
 
380
  "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz",
381
  "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA=="
382
  },
383
+ "node_modules/@jridgewell/gen-mapping": {
384
+ "version": "0.3.3",
385
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
386
+ "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
387
+ "dependencies": {
388
+ "@jridgewell/set-array": "^1.0.1",
389
+ "@jridgewell/sourcemap-codec": "^1.4.10",
390
+ "@jridgewell/trace-mapping": "^0.3.9"
391
+ },
392
+ "engines": {
393
+ "node": ">=6.0.0"
394
+ }
395
+ },
396
+ "node_modules/@jridgewell/resolve-uri": {
397
+ "version": "3.1.0",
398
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz",
399
+ "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==",
400
+ "engines": {
401
+ "node": ">=6.0.0"
402
+ }
403
+ },
404
+ "node_modules/@jridgewell/set-array": {
405
+ "version": "1.1.2",
406
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
407
+ "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
408
+ "engines": {
409
+ "node": ">=6.0.0"
410
+ }
411
+ },
412
+ "node_modules/@jridgewell/source-map": {
413
+ "version": "0.3.3",
414
+ "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.3.tgz",
415
+ "integrity": "sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg==",
416
+ "dependencies": {
417
+ "@jridgewell/gen-mapping": "^0.3.0",
418
+ "@jridgewell/trace-mapping": "^0.3.9"
419
+ }
420
+ },
421
+ "node_modules/@jridgewell/sourcemap-codec": {
422
+ "version": "1.4.15",
423
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
424
+ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
425
+ },
426
+ "node_modules/@jridgewell/trace-mapping": {
427
+ "version": "0.3.18",
428
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz",
429
+ "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==",
430
+ "dependencies": {
431
+ "@jridgewell/resolve-uri": "3.1.0",
432
+ "@jridgewell/sourcemap-codec": "1.4.14"
433
+ }
434
+ },
435
+ "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": {
436
+ "version": "1.4.14",
437
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",
438
+ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw=="
439
+ },
440
  "node_modules/@monaco-editor/loader": {
441
  "version": "1.3.3",
442
  "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.3.3.tgz",
 
1034
  "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.3.0.tgz",
1035
  "integrity": "sha512-IthPJsJR85GhOkp3Hvp8zFOPK5ynKn6STyHa/WZpioK7E1aYDiBzpqQPrngc14DszIUkIrdd3k9Iu0XSzlP/1w=="
1036
  },
1037
+ "node_modules/@semantic-release/error": {
1038
+ "version": "3.0.0",
1039
+ "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-3.0.0.tgz",
1040
+ "integrity": "sha512-5hiM4Un+tpl4cKw3lV4UgzJj+SmfNIDCLLw0TepzQxz9ZGV5ixnqkzIVF+3tp0ZHgcMKE+VNGHJjEeyFG2dcSw==",
1041
+ "engines": {
1042
+ "node": ">=14.17"
1043
+ }
1044
+ },
1045
+ "node_modules/@semantic-release/git": {
1046
+ "version": "10.0.1",
1047
+ "resolved": "https://registry.npmjs.org/@semantic-release/git/-/git-10.0.1.tgz",
1048
+ "integrity": "sha512-eWrx5KguUcU2wUPaO6sfvZI0wPafUKAMNC18aXY4EnNcrZL86dEmpNVnC9uMpGZkmZJ9EfCVJBQx4pV4EMGT1w==",
1049
+ "dependencies": {
1050
+ "@semantic-release/error": "^3.0.0",
1051
+ "aggregate-error": "^3.0.0",
1052
+ "debug": "^4.0.0",
1053
+ "dir-glob": "^3.0.0",
1054
+ "execa": "^5.0.0",
1055
+ "lodash": "^4.17.4",
1056
+ "micromatch": "^4.0.0",
1057
+ "p-reduce": "^2.0.0"
1058
+ },
1059
+ "engines": {
1060
+ "node": ">=14.17"
1061
+ },
1062
+ "peerDependencies": {
1063
+ "semantic-release": ">=18.0.0"
1064
+ }
1065
+ },
1066
+ "node_modules/@semantic-release/git/node_modules/execa": {
1067
+ "version": "5.1.1",
1068
+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
1069
+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
1070
+ "dependencies": {
1071
+ "cross-spawn": "^7.0.3",
1072
+ "get-stream": "^6.0.0",
1073
+ "human-signals": "^2.1.0",
1074
+ "is-stream": "^2.0.0",
1075
+ "merge-stream": "^2.0.0",
1076
+ "npm-run-path": "^4.0.1",
1077
+ "onetime": "^5.1.2",
1078
+ "signal-exit": "^3.0.3",
1079
+ "strip-final-newline": "^2.0.0"
1080
+ },
1081
+ "engines": {
1082
+ "node": ">=10"
1083
+ },
1084
+ "funding": {
1085
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
1086
+ }
1087
+ },
1088
+ "node_modules/@semantic-release/git/node_modules/get-stream": {
1089
+ "version": "6.0.1",
1090
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
1091
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
1092
+ "engines": {
1093
+ "node": ">=10"
1094
+ },
1095
+ "funding": {
1096
+ "url": "https://github.com/sponsors/sindresorhus"
1097
+ }
1098
+ },
1099
+ "node_modules/@semantic-release/git/node_modules/human-signals": {
1100
+ "version": "2.1.0",
1101
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
1102
+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
1103
+ "engines": {
1104
+ "node": ">=10.17.0"
1105
+ }
1106
+ },
1107
+ "node_modules/@semantic-release/git/node_modules/is-stream": {
1108
+ "version": "2.0.1",
1109
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
1110
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
1111
+ "engines": {
1112
+ "node": ">=8"
1113
+ },
1114
+ "funding": {
1115
+ "url": "https://github.com/sponsors/sindresorhus"
1116
+ }
1117
+ },
1118
+ "node_modules/@semantic-release/git/node_modules/mimic-fn": {
1119
+ "version": "2.1.0",
1120
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
1121
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
1122
+ "engines": {
1123
+ "node": ">=6"
1124
+ }
1125
+ },
1126
+ "node_modules/@semantic-release/git/node_modules/npm-run-path": {
1127
+ "version": "4.0.1",
1128
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
1129
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
1130
+ "dependencies": {
1131
+ "path-key": "^3.0.0"
1132
+ },
1133
+ "engines": {
1134
+ "node": ">=8"
1135
+ }
1136
+ },
1137
+ "node_modules/@semantic-release/git/node_modules/onetime": {
1138
+ "version": "5.1.2",
1139
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
1140
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
1141
+ "dependencies": {
1142
+ "mimic-fn": "^2.1.0"
1143
+ },
1144
+ "engines": {
1145
+ "node": ">=6"
1146
+ },
1147
+ "funding": {
1148
+ "url": "https://github.com/sponsors/sindresorhus"
1149
+ }
1150
+ },
1151
+ "node_modules/@semantic-release/git/node_modules/strip-final-newline": {
1152
+ "version": "2.0.0",
1153
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
1154
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
1155
+ "engines": {
1156
+ "node": ">=6"
1157
+ }
1158
+ },
1159
  "node_modules/@swc/helpers": {
1160
  "version": "0.4.14",
1161
  "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.14.tgz",
 
1406
  "node": ">= 4.0.0"
1407
  }
1408
  },
1409
+ "node_modules/aggregate-error": {
1410
+ "version": "3.1.0",
1411
+ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
1412
+ "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==",
1413
+ "dependencies": {
1414
+ "clean-stack": "^2.0.0",
1415
+ "indent-string": "^4.0.0"
1416
+ },
1417
+ "engines": {
1418
+ "node": ">=8"
1419
+ }
1420
+ },
1421
  "node_modules/ajv": {
1422
  "version": "6.12.6",
1423
  "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
 
1958
  "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz",
1959
  "integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A=="
1960
  },
1961
+ "node_modules/clean-stack": {
1962
+ "version": "2.2.0",
1963
+ "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",
1964
+ "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==",
1965
+ "engines": {
1966
+ "node": ">=6"
1967
+ }
1968
+ },
1969
  "node_modules/cli-boxes": {
1970
  "version": "1.0.0",
1971
  "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz",
 
4471
  "node": ">=0.8.19"
4472
  }
4473
  },
4474
+ "node_modules/indent-string": {
4475
+ "version": "4.0.0",
4476
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
4477
+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
4478
+ "engines": {
4479
+ "node": ">=8"
4480
+ }
4481
+ },
4482
  "node_modules/inflight": {
4483
  "version": "1.0.6",
4484
  "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
 
6053
  "url": "https://github.com/sponsors/sindresorhus"
6054
  }
6055
  },
6056
+ "node_modules/p-reduce": {
6057
+ "version": "2.1.0",
6058
+ "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz",
6059
+ "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==",
6060
+ "engines": {
6061
+ "node": ">=8"
6062
+ }
6063
+ },
6064
  "node_modules/package-json": {
6065
  "version": "4.0.1",
6066
  "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz",
 
7146
  "node": ">=0.10.0"
7147
  }
7148
  },
7149
+ "node_modules/source-map-support": {
7150
+ "version": "0.5.21",
7151
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
7152
+ "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
7153
+ "dependencies": {
7154
+ "buffer-from": "^1.0.0",
7155
+ "source-map": "^0.6.0"
7156
+ }
7157
+ },
7158
+ "node_modules/source-map-support/node_modules/buffer-from": {
7159
+ "version": "1.1.2",
7160
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
7161
+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="
7162
+ },
7163
+ "node_modules/source-map-support/node_modules/source-map": {
7164
+ "version": "0.6.1",
7165
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
7166
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
7167
+ "engines": {
7168
+ "node": ">=0.10.0"
7169
+ }
7170
+ },
7171
  "node_modules/space-separated-tokens": {
7172
  "version": "1.1.5",
7173
  "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz",
 
7531
  "node": ">=4"
7532
  }
7533
  },
7534
+ "node_modules/terser": {
7535
+ "version": "5.17.6",
7536
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.17.6.tgz",
7537
+ "integrity": "sha512-V8QHcs8YuyLkLHsJO5ucyff1ykrLVsR4dNnS//L5Y3NiSXpbK1J+WMVUs67eI0KTxs9JtHhgEQpXQVHlHI92DQ==",
7538
+ "dependencies": {
7539
+ "@jridgewell/source-map": "^0.3.2",
7540
+ "acorn": "^8.5.0",
7541
+ "commander": "^2.20.0",
7542
+ "source-map-support": "~0.5.20"
7543
+ },
7544
+ "bin": {
7545
+ "terser": "bin/terser"
7546
+ },
7547
+ "engines": {
7548
+ "node": ">=10"
7549
+ }
7550
+ },
7551
  "node_modules/text-table": {
7552
  "version": "0.2.0",
7553
  "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
package.json CHANGED
@@ -27,12 +27,13 @@
27
  "scripts": {
28
  "build": "next build",
29
  "dev": "next dev",
 
30
  "prepare": "husky install",
31
- "spj": "npx sort-package-json",
32
- "toc": "npx markdown-toc README.md -i"
33
  },
34
  "lint-staged": {
35
- "*.js": [
 
36
  "npx prettier --write"
37
  ],
38
  "package.json": [
@@ -55,6 +56,7 @@
55
  "@monaco-editor/react": "4.5.0",
56
  "@mui/icons-material": "5.11.16",
57
  "@mui/material": "5.12.0",
 
58
  "@tweenjs/tween.js": "^18.6.4",
59
  "@types/prettier": "^2.7.2",
60
  "axios": "1.3.5",
@@ -76,7 +78,8 @@
76
  "react": "18.2.0",
77
  "react-dom": "18.2.0",
78
  "react-hook-form": "7.43.9",
79
- "react-syntax-highlighter": "15.5.0"
 
80
  },
81
  "devDependencies": {
82
  "@types/canvas-confetti": "^1.6.0",
 
27
  "scripts": {
28
  "build": "next build",
29
  "dev": "next dev",
30
+ "postinstall": "npm run write-version",
31
  "prepare": "husky install",
32
+ "write-version": "echo 'NEXT_PUBLIC_VERSION=$(node -p \"require('./package.json').version\")' >> .env"
 
33
  },
34
  "lint-staged": {
35
+ "*.{ts,tsx,jsx}": [
36
+ "eslint",
37
  "npx prettier --write"
38
  ],
39
  "package.json": [
 
56
  "@monaco-editor/react": "4.5.0",
57
  "@mui/icons-material": "5.11.16",
58
  "@mui/material": "5.12.0",
59
+ "@semantic-release/git": "10.0.1",
60
  "@tweenjs/tween.js": "^18.6.4",
61
  "@types/prettier": "^2.7.2",
62
  "axios": "1.3.5",
 
78
  "react": "18.2.0",
79
  "react-dom": "18.2.0",
80
  "react-hook-form": "7.43.9",
81
+ "react-syntax-highlighter": "15.5.0",
82
+ "terser": "5.17.6"
83
  },
84
  "devDependencies": {
85
  "@types/canvas-confetti": "^1.6.0",