Skip to content

Commit

Permalink
Merge pull request #217 from karlhorky/patch-2
Browse files Browse the repository at this point in the history
Add cross-env for Windows scripts compatibility
  • Loading branch information
lirantal authored Nov 13, 2020
2 parents dcd2a1d + b8d031d commit a8327fc
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 4 deletions.
52 changes: 52 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
},
"scripts": {
"start": "node server.js",
"dev": "PORT=5000 nodemon",
"test:e2e": "NODE_ENV=test cypress open",
"test:ci": "NODE_ENV=test cypress run",
"dev": "cross-env PORT=5000 nodemon",
"test:e2e": "cross-env NODE_ENV=test cypress open",
"test:ci": "cross-env NODE_ENV=test cypress run",
"test": "node node_modules/grunt-cli/bin/grunt test",
"db:seed": "NODE_ENV=test grunt db-reset",
"db:seed": "cross-env NODE_ENV=test grunt db-reset",
"precommit": "grunt precommit",
"docker-mongo": "docker run -p 27017:27017 --name mongo mongo:latest",
"start-infra": "docker-compose up",
Expand All @@ -40,6 +40,7 @@
},
"devDependencies": {
"async": "^2.0.0-rc.4",
"cross-env": "^7.0.2",
"cypress": "^3.3.1",
"grunt": "^1.0.1",
"grunt-cli": "^1.2.0",
Expand Down

0 comments on commit a8327fc

Please sign in to comment.