Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ typings/
# TypeScript cache
*.tsbuildinfo

# Typescript css modules files
src/**/*.scss.d.ts

# Optional npm cache directory
.npm

Expand Down
14 changes: 11 additions & 3 deletions .parcelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"extends": "@parcel/config-default",
"transformers": {
"jsx:*.svg": ["@parcel/transformer-svg-react"],
"jsx:*": ["..."]
"jsx:*.svg": [
"@parcel/transformer-svg-react"
],
"jsx:*": [
"..."
],
"*.module.css": [
"parcel-transformer-typed-css-modules",
"..."
]
},
"compressors": {
"*.{html,css,js,svg,map}": [
Expand All @@ -11,4 +19,4 @@
"@parcel/compressor-brotli"
]
}
}
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"browserslist": "> 0.5%, last 2 versions, not dead",
"dependencies": {
"@metamask/detect-provider": "^1.2.0",
"@types/react": "^18.2.18",
"antd": "^4.21.4",
"color": "^4.2.3",
"ethers": "^5.6.5",
Expand All @@ -16,13 +17,15 @@
"react-tageditor": "^0.2.3",
"react-toastify": "^9.1.2",
"rehype-katex": "^6.0.3",
"remark-math": "^5.1.1"
"remark-math": "^5.1.1",
"typed-css-modules": "^0.7.2"
},
"devDependencies": {
"@babel/core": "7",
"@babel/plugin-transform-flow-strip-types": "7",
"@parcel/compressor-brotli": "^2.6.2",
"@parcel/compressor-gzip": "^2.6.2",
"@parcel/plugin": "^2.9.3",
"@parcel/transformer-sass": "2",
"@parcel/transformer-svg-react": "^2.6.2",
"buffer": "^6.0.3",
Expand All @@ -31,6 +34,7 @@
"flow-bin": "0",
"husky": "^8.0.3",
"parcel": "2",
"parcel-transformer-typed-css-modules": "^1.0.0",
"path-browserify": "^1.0.1",
"postcss": "8",
"postcss-modules": "4",
Expand Down
1 change: 1 addition & 0 deletions src/assets/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 1 addition & 12 deletions src/assets/commit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading