Skip to content

Commit

Permalink
Add npx dependency and fix call in postinstall gchq#383
Browse files Browse the repository at this point in the history
  • Loading branch information
cma2A committed Oct 11, 2018
1 parent d6c6981 commit db143c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"node-forge": "^0.7.6",
"node-md6": "^0.1.0",
"notepack.io": "^2.1.3",
"npx": "^10.2.0",
"nwmatcher": "^1.4.4",
"otp": "^0.1.3",
"popper.js": "^1.14.4",
Expand All @@ -134,6 +135,6 @@
"docs": "grunt docs",
"lint": "grunt lint",
"newop": "node --experimental-modules src/core/config/scripts/newOperation.mjs",
"postinstall": "[ -f node_modules/crypto-api/src/crypto-api.mjs ] || npx j2m node_modules/crypto-api/src/crypto-api.js"
"postinstall": "[ -f node_modules/crypto-api/src/crypto-api.mjs ] || node_modules/.bin/npx j2m node_modules/crypto-api/src/crypto-api.js"
}
}

0 comments on commit db143c8

Please sign in to comment.