├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── README.md ├── dist ├── monitor.cjs.js ├── monitor.cjs.js.map ├── monitor.esm.js ├── monitor.esm.js.map ├── monitor.js └── monitor.js.map ├── examples ├── behavior │ ├── onclick.html │ └── scroll.html ├── error │ └── index.html └── performance │ ├── bfc.html │ ├── delayLoad.html │ ├── form.html │ └── sendBeforeUnload │ ├── index.html │ └── index.js ├── package.json ├── rollup ├── build.js └── dev.js ├── scripts └── verify-commit.js ├── server.js └── src ├── behavior ├── index.js ├── onClick.js ├── onVueRouter.js ├── pageAccessDuration.js ├── pageAccessHeight.js ├── pageChange.js ├── pv.js └── utils.js ├── config.js ├── error └── index.js ├── index.js ├── performance ├── fetch.js ├── fps.js ├── index.js ├── observeCLS.js ├── observeEntries.js ├── observeFID.js ├── observeFirstScreenPaint.js ├── observeLCP.js ├── observePaint.js ├── observerLoad.js ├── onVueRouter.js ├── utils.js └── xhr.js └── utils ├── cache.js ├── generateUniqueID.js ├── report.js ├── utils.js └── xhr.js /.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | yarn-error.log 3 | .DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/README.md -------------------------------------------------------------------------------- /dist/monitor.cjs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/dist/monitor.cjs.js -------------------------------------------------------------------------------- /dist/monitor.cjs.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/dist/monitor.cjs.js.map -------------------------------------------------------------------------------- /dist/monitor.esm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/dist/monitor.esm.js -------------------------------------------------------------------------------- /dist/monitor.esm.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/dist/monitor.esm.js.map -------------------------------------------------------------------------------- /dist/monitor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/dist/monitor.js -------------------------------------------------------------------------------- /dist/monitor.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/dist/monitor.js.map -------------------------------------------------------------------------------- /examples/behavior/onclick.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/examples/behavior/onclick.html -------------------------------------------------------------------------------- /examples/behavior/scroll.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/examples/behavior/scroll.html -------------------------------------------------------------------------------- /examples/error/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/examples/error/index.html -------------------------------------------------------------------------------- /examples/performance/bfc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/examples/performance/bfc.html -------------------------------------------------------------------------------- /examples/performance/delayLoad.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/examples/performance/delayLoad.html -------------------------------------------------------------------------------- /examples/performance/form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/examples/performance/form.html -------------------------------------------------------------------------------- /examples/performance/sendBeforeUnload/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/examples/performance/sendBeforeUnload/index.html -------------------------------------------------------------------------------- /examples/performance/sendBeforeUnload/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/examples/performance/sendBeforeUnload/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/package.json -------------------------------------------------------------------------------- /rollup/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/rollup/build.js -------------------------------------------------------------------------------- /rollup/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/rollup/dev.js -------------------------------------------------------------------------------- /scripts/verify-commit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/scripts/verify-commit.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/server.js -------------------------------------------------------------------------------- /src/behavior/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/behavior/index.js -------------------------------------------------------------------------------- /src/behavior/onClick.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/behavior/onClick.js -------------------------------------------------------------------------------- /src/behavior/onVueRouter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/behavior/onVueRouter.js -------------------------------------------------------------------------------- /src/behavior/pageAccessDuration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/behavior/pageAccessDuration.js -------------------------------------------------------------------------------- /src/behavior/pageAccessHeight.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/behavior/pageAccessHeight.js -------------------------------------------------------------------------------- /src/behavior/pageChange.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/behavior/pageChange.js -------------------------------------------------------------------------------- /src/behavior/pv.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/behavior/pv.js -------------------------------------------------------------------------------- /src/behavior/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/behavior/utils.js -------------------------------------------------------------------------------- /src/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/config.js -------------------------------------------------------------------------------- /src/error/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/error/index.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/index.js -------------------------------------------------------------------------------- /src/performance/fetch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/fetch.js -------------------------------------------------------------------------------- /src/performance/fps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/fps.js -------------------------------------------------------------------------------- /src/performance/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/index.js -------------------------------------------------------------------------------- /src/performance/observeCLS.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/observeCLS.js -------------------------------------------------------------------------------- /src/performance/observeEntries.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/observeEntries.js -------------------------------------------------------------------------------- /src/performance/observeFID.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/observeFID.js -------------------------------------------------------------------------------- /src/performance/observeFirstScreenPaint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/observeFirstScreenPaint.js -------------------------------------------------------------------------------- /src/performance/observeLCP.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/observeLCP.js -------------------------------------------------------------------------------- /src/performance/observePaint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/observePaint.js -------------------------------------------------------------------------------- /src/performance/observerLoad.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/observerLoad.js -------------------------------------------------------------------------------- /src/performance/onVueRouter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/onVueRouter.js -------------------------------------------------------------------------------- /src/performance/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/utils.js -------------------------------------------------------------------------------- /src/performance/xhr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/performance/xhr.js -------------------------------------------------------------------------------- /src/utils/cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/utils/cache.js -------------------------------------------------------------------------------- /src/utils/generateUniqueID.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/utils/generateUniqueID.js -------------------------------------------------------------------------------- /src/utils/report.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/utils/report.js -------------------------------------------------------------------------------- /src/utils/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/utils/utils.js -------------------------------------------------------------------------------- /src/utils/xhr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woai3c/monitor-demo/HEAD/src/utils/xhr.js --------------------------------------------------------------------------------