Skip to content
Snippets Groups Projects
Commit 06e6f34f authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: jq not supported in node:12

parent 4ca50311
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,8 @@
"version": "2.4.0",
"description": "HBP interactive atlas viewer. Integrating KG query, dataset previews & more. Based on humanbrainproject/nehuba & google/neuroglancer. Built with angular",
"scripts": {
"build-aot": "PRODUCTION=true GIT_HASH=`jq -r '.version' package.json` webpack --config ./webpack/webpack.aot.js && node ./third_party/matomo/processMatomo.js",
"dev-server-aot": "BACKEND_URL=${BACKEND_URL:-http://localhost:3000/} PRODUCTION=true GIT_HASH=`jq -r '.version' package.json` webpack-dev-server --config ./webpack/webpack.dev-aot.js",
"build-aot": "PRODUCTION=true GIT_HASH=`node -e 'console.log(require(\"./package.json\").version)'` webpack --config ./webpack/webpack.aot.js && node ./third_party/matomo/processMatomo.js",
"dev-server-aot": "BACKEND_URL=${BACKEND_URL:-http://localhost:3000/} PRODUCTION=true GIT_HASH=`node -e 'console.log(require(\"./package.json\").version)'` webpack-dev-server --config ./webpack/webpack.dev-aot.js",
"test": "karma start spec/karma.conf.js",
"e2e": "protractor e2e/protractor.conf",
"lint": "eslint src --ext .ts",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment