Skip to content

Instantly share code, notes, and snippets.

@itsmikita
Last active April 18, 2019 10:59
Show Gist options
  • Save itsmikita/464b78870cbef9c70fa4670c55b4b57f to your computer and use it in GitHub Desktop.
Save itsmikita/464b78870cbef9c70fa4670c55b4b57f to your computer and use it in GitHub Desktop.
JS+PHP Local development package scripts (NOTE: No SSL support for PHP)
{
"name": "",
"description": "",
"version": "",
"private": true,
"author": "Mikita Stankiewicz",
"scripts": {
"server": "php -S 127.0.0.1:8888 -t ./api/public",
"client": "webpack-dev-server --open",
"start": "npm run server",
"test": "echo \"Error: no test specified\" && exit 1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment