Initial frontend implementation

This commit is contained in:
2024-09-25 18:37:44 +02:00
parent 4a21b7de97
commit 646b683cbb
12 changed files with 7683 additions and 0 deletions

64
frontend/package.json Normal file
View File

@@ -0,0 +1,64 @@
{
"name": "novamd-frontend",
"version": "0.1.0",
"description": "Yet another markdown editor",
"main": "index.js",
"scripts": {
"start": "webpack serve --mode development --open",
"build": "webpack --mode production"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LordMathis/NovaMD.git"
},
"keywords": [
"markdown",
"hypermd",
"editor"
],
"author": "Matúš Námešný",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/LordMathis/NovaMD/issues"
},
"homepage": "https://github.com/LordMathis/NovaMD#readme",
"dependencies": {
"@codemirror/commands": "^6.6.2",
"@codemirror/lang-markdown": "^6.2.5",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.34.0",
"codemirror": "^6.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"babel-loader": "^9.2.1",
"css-loader": "^7.1.2",
"html-webpack-plugin": "^5.6.0",
"style-loader": "^4.0.0",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
}
}