feat: install lerna

pull/10/head
sundowndev 2019-10-24 22:30:06 +02:00
parent ea235159fb
commit 5bb221ea75
4 changed files with 15 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{
"name": "api-directory",
"name": "client",
"version": "0.1.0",
"private": true,
"private": false,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",

7
lerna.json Normal file
View File

@ -0,0 +1,7 @@
{
"packages": [
"./client",
"./server"
],
"version": "0.0.0"
}

View File

@ -4,7 +4,7 @@
"description": "Plus Eemien ou Héticien ? Le jeu qui ne fait pas rire les élèves.",
"main": "index.js",
"scripts": {
"install": "npm run server:install && npm run client:install",
"bootstrap": "lerna bootstrap",
"server:install": "cd server && npm i",
"client:install": "cd client && npm i",
"client:build": "cd client && npm build",
@ -22,5 +22,8 @@
"bugs": {
"url": "https://github.com/sundowndev/HETICvsEEMI/issues"
},
"homepage": "https://github.com/sundowndev/HETICvsEEMI#readme"
"homepage": "https://github.com/sundowndev/HETICvsEEMI#readme",
"devDependencies": {
"lerna": "^3.16.4"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "server",
"private": true,
"private": false,
"version": "1.0.0",
"description": "",
"main": "index.js",