* refactor: rename SiteHeader to Header * build: use frontend-build * fix: ensure that we can handle anonymous users * feat: anonymous header works now Up until now we haven’t had any microfrontends that allowed anonymous usage. The Header was encountering errors rendering in such situations, though it was close. Now it properly shows the Login and Sign Up buttons. * build: bump version of frontend-build
78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"name": "@edx/frontend-component-header",
|
|
"version": "1.0.0-semantically-released",
|
|
"description": "The standard header for Open edX",
|
|
"main": "dist/index.js",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "make build",
|
|
"i18n_extract": "BABEL_ENV=i18n fedx-scripts babel src --quiet > /dev/null",
|
|
"lint": "fedx-scripts eslint --ext .js --ext .jsx .",
|
|
"snapshot": "fedx-scripts jest --updateSnapshot",
|
|
"start": "fedx-scripts webpack-dev-server --progress",
|
|
"test": "fedx-scripts jest --coverage"
|
|
},
|
|
"files": [
|
|
"/dist"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint",
|
|
"commit-msg": "commitlint -e $GIT_PARAMS"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/edx/frontend-component-header.git"
|
|
},
|
|
"author": "edX",
|
|
"license": "AGPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/edx/frontend-component-header/issues"
|
|
},
|
|
"homepage": "https://github.com/edx/frontend-component-header#readme",
|
|
"devDependencies": {
|
|
"@commitlint/cli": "8.2.0",
|
|
"@commitlint/config-angular": "8.2.0",
|
|
"@commitlint/prompt": "8.2.0",
|
|
"@commitlint/prompt-cli": "8.2.0",
|
|
"@edx/frontend-analytics": "3.0.0",
|
|
"@edx/frontend-auth": "7.0.1",
|
|
"@edx/frontend-base": "^5.0.0",
|
|
"@edx/frontend-build": "^1.3.1",
|
|
"@edx/frontend-i18n": "3.0.3",
|
|
"@edx/frontend-logging": "3.0.1",
|
|
"@edx/paragon": "7.1.4",
|
|
"codecov": "3.6.1",
|
|
"enzyme": "3.10.0",
|
|
"enzyme-adapter-react-16": "1.14.0",
|
|
"husky": "3.0.8",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.9.0",
|
|
"react-dom": "16.9.0",
|
|
"react-redux": "^7.1.1",
|
|
"react-router-dom": "^5.1.2",
|
|
"react-test-renderer": "16.9.0",
|
|
"reactifex": "1.1.1",
|
|
"redux": "^4.0.4",
|
|
"redux-saga": "^1.1.1"
|
|
},
|
|
"dependencies": {
|
|
"babel-polyfill": "6.26.0",
|
|
"react-responsive": "8.0.1",
|
|
"react-transition-group": "4.3.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@edx/frontend-analytics": "^3.0.0",
|
|
"@edx/frontend-base": "^4.0.0",
|
|
"@edx/frontend-i18n": "^3.0.3",
|
|
"@edx/frontend-logging": "^3.0.0",
|
|
"@edx/paragon": "^7.0.0",
|
|
"prop-types": "^15.5.10",
|
|
"react": "^16.9.0",
|
|
"react-dom": "^16.9.0"
|
|
}
|
|
}
|