package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "_from": "web-vitals@^1.1.2",
  3. "_id": "web-vitals@1.1.2",
  4. "_inBundle": false,
  5. "_integrity": "sha512-PFMKIY+bRSXlMxVAQ+m2aw9c/ioUYfDgrYot0YUa+/xa0sakubWhSDyxAKwzymvXVdF4CZI71g06W+mqhzu6ig==",
  6. "_location": "/web-vitals",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "web-vitals@^1.1.2",
  12. "name": "web-vitals",
  13. "escapedName": "web-vitals",
  14. "rawSpec": "^1.1.2",
  15. "saveSpec": null,
  16. "fetchSpec": "^1.1.2"
  17. },
  18. "_requiredBy": [
  19. "/aegis-web-sdk"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/web-vitals/-/web-vitals-1.1.2.tgz",
  22. "_shasum": "06535308168986096239aa84716e68b4c6ae6d1c",
  23. "_spec": "web-vitals@^1.1.2",
  24. "_where": "E:\\Project\\2023\\问诊平台\\his_user_app\\node_modules\\aegis-web-sdk",
  25. "author": {
  26. "name": "Philip Walton",
  27. "email": "philip@philipwalton.com",
  28. "url": "http://philipwalton.com"
  29. },
  30. "bugs": {
  31. "url": "https://github.com/GoogleChrome/web-vitals/issues"
  32. },
  33. "bundleDependencies": false,
  34. "deprecated": false,
  35. "description": "Easily measure performance metrics in JavaScript",
  36. "devDependencies": {
  37. "@babel/core": "^7.13.10",
  38. "@babel/preset-env": "^7.13.10",
  39. "@rollup/plugin-replace": "^2.4.1",
  40. "@typescript-eslint/eslint-plugin": "^4.17.0",
  41. "@typescript-eslint/parser": "^4.17.0",
  42. "@wdio/cli": "^7.1.2",
  43. "@wdio/local-runner": "^7.1.2",
  44. "@wdio/mocha-framework": "^7.1.2",
  45. "@wdio/selenium-standalone-service": "^7.1.1",
  46. "@wdio/spec-reporter": "^7.1.1",
  47. "babel-eslint": "^10.1.0",
  48. "body-parser": "^1.19.0",
  49. "chromedriver": "^89.0.0",
  50. "eslint": "^7.22.0",
  51. "eslint-config-google": "^0.14.0",
  52. "express": "^4.17.1",
  53. "fs-extra": "^9.1.0",
  54. "husky": "^5.1.3",
  55. "npm-run-all": "^4.1.5",
  56. "nunjucks": "^3.2.3",
  57. "rollup": "^2.41.2",
  58. "rollup-plugin-babel": "^4.4.0",
  59. "rollup-plugin-terser": "^7.0.2",
  60. "typescript": "^4.2.3",
  61. "wdio-chromedriver-service": "^7.0.0"
  62. },
  63. "files": [
  64. "base.js",
  65. "base.d.ts",
  66. "dist",
  67. "src"
  68. ],
  69. "homepage": "https://github.com/GoogleChrome/web-vitals#readme",
  70. "husky": {
  71. "hooks": {
  72. "pre-commit": "npm run lint"
  73. }
  74. },
  75. "keywords": [
  76. "crux",
  77. "performance",
  78. "metrics",
  79. "CLS",
  80. "FCP",
  81. "FID",
  82. "LCP",
  83. "TTFB"
  84. ],
  85. "license": "Apache-2.0",
  86. "main": "dist/web-vitals.umd.js",
  87. "module": "dist/web-vitals.js",
  88. "name": "web-vitals",
  89. "repository": {
  90. "type": "git",
  91. "url": "git+https://github.com/GoogleChrome/web-vitals.git"
  92. },
  93. "scripts": {
  94. "build": "run-s clean build:ts build:js",
  95. "build:js": "rollup -c",
  96. "build:ts": "tsc -b",
  97. "clean": "rm -rf dist tsconfig.tsbuildinfo",
  98. "dev": "run-p watch test:server",
  99. "lint": "eslint \"*.js\" \"src/**/*.ts\" \"test/**/*.js\"",
  100. "lint:fix": "eslint --fix \"*.js\" \"src/**/*.ts\" \"test/**/*.js\"",
  101. "postversion": "git push --follow-tags",
  102. "prepare": "husky install",
  103. "release:major": "npm version major -m 'Release v%s' && npm publish",
  104. "release:minor": "npm version minor -m 'Release v%s' && npm publish",
  105. "release:patch": "npm version patch -m 'Release v%s' && npm publish",
  106. "start": "run-p watch test:server",
  107. "test": "npm-run-all build -p -r test:*",
  108. "test:e2e": "wdio wdio.conf.js",
  109. "test:server": "node test/server.js",
  110. "version": "run-s build",
  111. "watch": "run-p watch:*",
  112. "watch:js": "rollup -c -w",
  113. "watch:ts": "tsc -b -w"
  114. },
  115. "typings": "dist/modules/index.d.ts",
  116. "version": "1.1.2"
  117. }