mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
* implement PWA plugin * added pwa support for docusaurus website * moved sw registration to client module * moved compile function to webpack util * build sw using webpack and render pwa popup * implement @theme/PwaReloadPopup * update website sw to use modules * updated pwa readme * fix header lint errors * apply code formatting * cache files only for mobile, saveData, or installed pwa * added comments about clearing registrations * fixed prettier error * updated pwa README * fix README JS * move /blog => /blog/index.html logic to else branch * add `alwaysPrecache` option * updated docusaurus-plugin-pwa version * added pwa to using-plugins.md * review fixes * re-disable restricted-globals to use self in service worker * useless doc * Update packages/docusaurus-plugin-pwa/README.md Co-authored-by: Reece Dunham <me@rdil.rocks> * Update packages/docusaurus-plugin-pwa/README.md * update a bit pwa doc + minor refactors * minor refactors + add workbox debug mode * env PWA_ prefix * typo * minor refactor * fix file output * add serve:v2:ssl yarn command * minor pwa fixes * typo * add dynamic import comment in SW * comment * let the PWA plugin implement its reload popup on his own * pwa: add Joi options validation * pwa plugin should have its own webpack/babel custom setup * PWA: - debug logs - better SW params system - offline mode activation strategies - docs * add pwa install gif * pwa: popup -> reloadPopup + minor refactors * fix process.env reading + better debug log * minor fixes * minor changes * minor changes Co-authored-by: slorber <lorber.sebastien@gmail.com> Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com> Co-authored-by: Reece Dunham <me@rdil.rocks>
111 lines
3.2 KiB
JSON
111 lines
3.2 KiB
JSON
{
|
|
"name": "@docusaurus/core",
|
|
"description": "Easy to Maintain Open Source Documentation Websites",
|
|
"version": "2.0.0-alpha.58",
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"static site generator",
|
|
"webpack",
|
|
"documentation",
|
|
"websites",
|
|
"open source",
|
|
"docusaurus"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/docusaurus.git"
|
|
},
|
|
"bin": {
|
|
"docusaurus": "bin/docusaurus.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc && tsc -p tsconfig.client.json && node copyUntypedFiles.js",
|
|
"watch": "node copyUntypedFiles.js && concurrently -n \"server,client\" --kill-others \"tsc --watch\" \"tsc -p tsconfig.client.json --watch\""
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/facebook/docusaurus/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@docusaurus/module-type-aliases": "^2.0.0-alpha.58",
|
|
"@types/detect-port": "^1.3.0",
|
|
"@types/hapi__joi": "^17.1.2"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.9.0",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.10.3",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.1",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/plugin-transform-runtime": "^7.9.0",
|
|
"@babel/preset-env": "^7.9.0",
|
|
"@babel/preset-react": "^7.9.4",
|
|
"@babel/preset-typescript": "^7.9.0",
|
|
"@babel/runtime": "^7.9.2",
|
|
"@docusaurus/types": "^2.0.0-alpha.58",
|
|
"@docusaurus/utils": "^2.0.0-alpha.58",
|
|
"@endiliey/static-site-generator-webpack-plugin": "^4.0.0",
|
|
"@hapi/joi": "^17.1.1",
|
|
"@svgr/webpack": "^5.4.0",
|
|
"babel-loader": "^8.1.0",
|
|
"babel-plugin-dynamic-import-node": "^2.3.0",
|
|
"cache-loader": "^4.1.0",
|
|
"chalk": "^3.0.0",
|
|
"chokidar": "^3.3.0",
|
|
"commander": "^4.0.1",
|
|
"copy-webpack-plugin": "^5.0.5",
|
|
"core-js": "^2.6.5",
|
|
"css-loader": "^3.4.2",
|
|
"del": "^5.1.0",
|
|
"detect-port": "^1.3.0",
|
|
"eta": "^1.1.1",
|
|
"express": "^4.17.1",
|
|
"file-loader": "^6.0.0",
|
|
"fs-extra": "^8.1.0",
|
|
"globby": "^10.0.1",
|
|
"html-minifier-terser": "^5.0.5",
|
|
"html-tags": "^3.1.0",
|
|
"html-webpack-plugin": "^4.0.4",
|
|
"import-fresh": "^3.2.1",
|
|
"inquirer": "^7.2.0",
|
|
"is-root": "^2.1.0",
|
|
"lodash.has": "^4.5.2",
|
|
"lodash.isplainobject": "^4.0.6",
|
|
"lodash.isstring": "^4.0.1",
|
|
"mini-css-extract-plugin": "^0.8.0",
|
|
"nprogress": "^0.2.0",
|
|
"null-loader": "^3.0.0",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
"pnp-webpack-plugin": "^1.6.4",
|
|
"postcss-loader": "^3.0.0",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"react-dev-utils": "^10.2.1",
|
|
"react-helmet": "^6.0.0-beta",
|
|
"react-loadable": "^5.5.0",
|
|
"react-loadable-ssr-addon": "^0.2.3",
|
|
"react-router": "^5.1.2",
|
|
"react-router-config": "^5.1.1",
|
|
"react-router-dom": "^5.1.2",
|
|
"semver": "^6.3.0",
|
|
"shelljs": "^0.8.4",
|
|
"std-env": "^2.2.1",
|
|
"terser-webpack-plugin": "^2.3.5",
|
|
"url-loader": "^4.1.0",
|
|
"wait-file": "^1.0.5",
|
|
"webpack": "^4.41.2",
|
|
"webpack-bundle-analyzer": "^3.6.1",
|
|
"webpack-dev-server": "^3.11.0",
|
|
"webpack-merge": "^4.2.2",
|
|
"webpackbar": "^4.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.4",
|
|
"react-dom": "^16.8.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.15.1"
|
|
}
|
|
}
|