diff --git a/package-lock.json b/package-lock.json index b16b160e78..58882e37e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "markdownz": "~9.1.6", "modal-form": "~2.9", "moment": "~2.29.0", - "panoptes-client": "~5.6.2", + "panoptes-client": "zooniverse/panoptes-javascript-client#add-talk-api-canary-testing-headers", "papaparse": "^5.4.1", "polished": "~4.3.1", "prop-types": "~15.8.1", @@ -12635,8 +12635,8 @@ }, "node_modules/panoptes-client": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/panoptes-client/-/panoptes-client-5.6.2.tgz", - "integrity": "sha512-IVJjM1Hqix/a/iac3RN9aOvfcsV3CO7pggFIFGOgd/7Bp0JFKyQhR+9MKtdpIqenS4nUKmRZZgNVAO8fXS4kfQ==", + "resolved": "git+ssh://git@github.com/zooniverse/panoptes-javascript-client.git#4c27b7ada9decad7faf562b9af864bc60d84da02", + "license": "Apache-2.0", "dependencies": { "local-storage": "^2.0.0", "normalizeurl": "~1.0.0", @@ -27017,9 +27017,8 @@ } }, "panoptes-client": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/panoptes-client/-/panoptes-client-5.6.2.tgz", - "integrity": "sha512-IVJjM1Hqix/a/iac3RN9aOvfcsV3CO7pggFIFGOgd/7Bp0JFKyQhR+9MKtdpIqenS4nUKmRZZgNVAO8fXS4kfQ==", + "version": "git+ssh://git@github.com/zooniverse/panoptes-javascript-client.git#4c27b7ada9decad7faf562b9af864bc60d84da02", + "from": "panoptes-client@zooniverse/panoptes-javascript-client#add-talk-api-canary-testing-headers", "requires": { "local-storage": "^2.0.0", "normalizeurl": "~1.0.0", diff --git a/package.json b/package.json index 19d3c92143..6988c8b11c 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "markdownz": "~9.1.6", "modal-form": "~2.9", "moment": "~2.29.0", - "panoptes-client": "~5.6.2", + "panoptes-client": "zooniverse/panoptes-javascript-client#add-talk-api-canary-testing-headers", "papaparse": "^5.4.1", "polished": "~4.3.1", "prop-types": "~15.8.1", @@ -124,7 +124,7 @@ "coverage": "nyc report --reporter=lcov", "start": "export NODE_ENV=development; check-engines && check-dependencies && webpack-dashboard -p 3736 -- webpack-dev-server --config ./webpack.dev.js", "_build": "export HEAD_COMMIT=$(git rev-parse --short HEAD); check-engines && check-dependencies && rimraf dist; webpack --config ./webpack.build.js --progress --color", - "build-production": "export NODE_ENV=production; npm run _build", + "build-production": "export NODE_ENV=staging; npm run _build", "serve-static": "export NODE_ENV=staging; check-engines && check-dependencies && npm run _build && node ./static-server.js", "test-and-watch": "NODE_ENV=development BABEL_ENV=test mocha --watch --watch-extensions js,jsx,coffee,cjsx test/setup.js test/enzyme-configuration.js $(find app -name *.spec.js*) --reporter nyan || true", "test": "NODE_ENV=development BABEL_ENV=test nyc mocha --exit test/setup.js test/enzyme-configuration.js $(find app -name *.spec.js*) --reporter nyan || true",