Add monorepo configuration and development environment
This commit is contained in:
57
package.json
Normal file
57
package.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"name": "pfosi-looking-monorepo",
|
||||
"version": "1.0.0",
|
||||
"description": "Looking App - Art project about gay dating culture (Full Stack)",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"app",
|
||||
"backend"
|
||||
],
|
||||
"scripts": {
|
||||
"dev:all": "concurrently \"npm run dev:backend\" \"npm run dev:app\"",
|
||||
"dev:backend": "cd backend && npm run dev",
|
||||
"dev:app": "cd app && ionic serve --host=0.0.0.0 --port=8100",
|
||||
"dev:backend-only": "cd backend && npm run dev",
|
||||
"dev:app-only": "cd app && ionic serve --host=0.0.0.0 --port=8100",
|
||||
"install:all": "npm install && npm run install:workspaces",
|
||||
"install:workspaces": "npm install --workspaces",
|
||||
"seed": "cd backend && npm run seed",
|
||||
"test": "npm run test:backend && npm run test:app",
|
||||
"test:backend": "cd backend && npm test",
|
||||
"test:app": "cd app && npm run test:ci",
|
||||
"lint": "npm run lint:backend && npm run lint:app",
|
||||
"lint:backend": "cd backend && npm run lint",
|
||||
"lint:app": "cd app && npm run lint",
|
||||
"build": "npm run build:app && npm run build:backend",
|
||||
"build:app": "cd app && ionic build",
|
||||
"build:backend": "echo 'Backend build not needed for Node.js'",
|
||||
"docker:build": "npm run docker:build:frontend && npm run docker:build:backend",
|
||||
"docker:build:frontend": "docker build -t pfosi-looking-frontend ./app",
|
||||
"docker:build:backend": "docker build -t pfosi-looking-backend ./backend",
|
||||
"deploy": "docker-compose up -d",
|
||||
"mongo:shell": "mongo mongodb://admin:password@localhost:27017/urge?authSource=admin"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^7.6.0",
|
||||
"npm-run-all": "^4.1.5"
|
||||
},
|
||||
"keywords": [
|
||||
"Art",
|
||||
"LGBT",
|
||||
"Grindr",
|
||||
"Dating",
|
||||
"Photography",
|
||||
"Documentary",
|
||||
"Ionic",
|
||||
"Angular",
|
||||
"Express",
|
||||
"MongoDB",
|
||||
"Monorepo"
|
||||
],
|
||||
"author": "Nicholas Pfosi & Mike Fitzpatrick",
|
||||
"license": "ISC",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@git.mifi.dev:12022/mifi/Pfosi-Looking.git"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user