Skip to content

Commit

Permalink
fix: conditional for test script
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLzq committed Jul 6, 2022
1 parent ca16d07 commit c7202f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"service": "node ./bin",
"help": "node ./bin --help",
"release": "standard-version",
"test": "if [ ! -d \"example\" ]; then npm run build; fi && npm run test-express && npm run test-fastify",
"test": "if [ ! -d \"example/fastify/node_modules\" ]; then npm run build; fi && npm run test-express && npm run test-fastify",
"build": "npm run rm && npm run build-express && npm run build-fastify && npm run build-express-graphql && npm run build-fastify-graphql",
"build-express": "npm run rm-express && npm run cd-mv-example && node -r dotenv/config ./bin -N example/express -D 'This is a test using express' -a AnthonyLzq -e sluzquinosa@uni.pe -l mit -H --tests --ghat && npm run rm-git-express",
"build-fastify": "npm run rm-fastify && npm run cd-mv-example && node -r dotenv/config ./bin -N example/fastify -D 'This is a test using fastify' -a AnthonyLzq -e sluzquinosa@uni.pe -l mit -H -F --tests --ghat && npm run rm-git-fastify",
Expand Down

0 comments on commit c7202f6

Please sign in to comment.