npm workspaces

This commit is contained in:
Anton 2024-02-11 22:04:36 +03:00
parent 2334f305f1
commit 379496b333
26 changed files with 10524 additions and 445 deletions

3545
frontend/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

28
frontend/package.json Normal file
View File

@ -0,0 +1,28 @@
{
"name": "video_editor",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"start": "vite",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives",
"build": "tsc && vite build",
"build:preview": "vite preview"
},
"dependencies": {
"mobx": "^6.12.0",
"mobx-react": "^9.1.0",
"rc-slider": "^10.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-file-drop": "^3.1.6",
"sass": "^1.70.0"
},
"devDependencies": {
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.8"
}
}

4
lerna.json Normal file
View File

@ -0,0 +1,4 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.0.0"
}

7365
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,32 +3,23 @@
"private": true, "private": true,
"version": "0.0.0", "version": "0.0.0",
"type": "module", "type": "module",
"workspaces": [
"frontend"
],
"scripts": { "scripts": {
"dev": "vite", "start": "lerna run start",
"build": "tsc && vite build", "lint": "lerna run lint",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "build": "lerna run build"
"preview": "vite preview"
},
"dependencies": {
"mobx": "^6.12.0",
"mobx-react": "^9.1.0",
"rc-slider": "^10.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-file-drop": "^3.1.6",
"sass": "^1.70.0"
}, },
"devDependencies": { "devDependencies": {
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0", "@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.55.0", "eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5", "eslint-plugin-react-refresh": "^0.4.5",
"typescript": "^5.2.2", "typescript": "^5.2.2"
"vite": "^5.0.8" },
"dependencies": {
"lerna": "^8.1.2"
} }
} }