cleaned npm scrips

This commit is contained in:
Jonathan 2018-03-12 11:25:09 +01:00
parent dd8f592ea1
commit 9e84f28d4a
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
node_modules
cypress/videos

View File

@ -0,0 +1,2 @@
{
}

View File

@ -4,7 +4,7 @@
"description": "[![nginxconfig.io](public/assets/img/share.png)](https://nginxconfig.io)",
"main": "index.js",
"scripts": {
"dev": "http-server",
"dev": "forever start ./node_modules/.bin/http-server && cypress open && forever stop ./node_modules/.bin/http-server",
"test": "forever start ./node_modules/.bin/http-server && cypress run --record && forever stop ./node_modules/.bin/http-server"
},
"repository": {