This commit is contained in:
Sergey Yarkov 2020-02-29 01:13:36 +03:00
parent bb0bb05274
commit e50482ea6c
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
"description": "A Strapi application", "description": "A Strapi application",
"scripts": { "scripts": {
"develop": "strapi develop", "develop": "strapi develop",
"start": "npx strapi start", "start": "strapi start",
"build": "strapi build", "build": "strapi build",
"strapi": "strapi" "strapi": "strapi"
}, },

View File

@ -5,7 +5,7 @@
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "npx next start" "start": "next start"
}, },
"dependencies": { "dependencies": {
"@apollo/react-hooks": "^3.1.3", "@apollo/react-hooks": "^3.1.3",

View File

@ -4,8 +4,8 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "concurrently \"npm run --prefix ./backend/ start\" \"npm run --prefix ./frontend/ start\"", "start": "concurrently \"npm run download\" \"npm run --prefix ./backend/ start\" \"npm run --prefix ./frontend/ start\"",
"download": "concurrently \"yarn --cwd ./backend/ install\" \"yarn --cwd ./frontend/ install\"", "download": "concurrently \"npm run --prefix ./backend/ install\" \"npm run --prefix ./frontend/ install\"",
"dev": "concurrently \"yarn --cwd ./backend/ develop\" \"yarn --cwd ./frontend/ dev\"" "dev": "concurrently \"yarn --cwd ./backend/ develop\" \"yarn --cwd ./frontend/ dev\""
}, },
"author": "", "author": "",