package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "_from": "dayjs@^1.11.10",
  3. "_id": "dayjs@1.11.10",
  4. "_inBundle": false,
  5. "_integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==",
  6. "_location": "/dayjs",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "dayjs@^1.11.10",
  12. "name": "dayjs",
  13. "escapedName": "dayjs",
  14. "rawSpec": "^1.11.10",
  15. "saveSpec": null,
  16. "fetchSpec": "^1.11.10"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.10.tgz",
  23. "_shasum": "68acea85317a6e164457d6d6947564029a6a16a0",
  24. "_spec": "dayjs@^1.11.10",
  25. "_where": "D:\\通防技术部\\jeecg-uniapp",
  26. "author": {
  27. "name": "iamkun"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/iamkun/dayjs/issues"
  31. },
  32. "bundleDependencies": false,
  33. "deprecated": false,
  34. "description": "2KB immutable date time library alternative to Moment.js with the same modern API ",
  35. "devDependencies": {
  36. "@babel/cli": "^7.0.0-beta.44",
  37. "@babel/core": "^7.0.0-beta.44",
  38. "@babel/node": "^7.0.0-beta.44",
  39. "@babel/preset-env": "^7.0.0-beta.44",
  40. "babel-core": "^7.0.0-bridge.0",
  41. "babel-jest": "^22.4.3",
  42. "babel-plugin-external-helpers": "^6.22.0",
  43. "cross-env": "^5.1.6",
  44. "eslint": "^4.19.1",
  45. "eslint-config-airbnb-base": "^12.1.0",
  46. "eslint-plugin-import": "^2.10.0",
  47. "eslint-plugin-jest": "^21.15.0",
  48. "gzip-size-cli": "^2.1.0",
  49. "jasmine-core": "^2.99.1",
  50. "jest": "^22.4.3",
  51. "karma": "^2.0.2",
  52. "karma-jasmine": "^1.1.2",
  53. "karma-sauce-launcher": "^1.1.0",
  54. "mockdate": "^2.0.2",
  55. "moment": "2.29.2",
  56. "moment-timezone": "0.5.31",
  57. "ncp": "^2.0.0",
  58. "pre-commit": "^1.2.2",
  59. "prettier": "^1.16.1",
  60. "rollup": "^2.45.1",
  61. "rollup-plugin-babel": "^4.4.0",
  62. "rollup-plugin-terser": "^7.0.2",
  63. "size-limit": "^0.18.0",
  64. "typescript": "^2.8.3"
  65. },
  66. "homepage": "https://day.js.org",
  67. "jest": {
  68. "roots": [
  69. "test"
  70. ],
  71. "testRegex": "test/(.*?/)?.*test.js$",
  72. "testURL": "http://localhost",
  73. "coverageDirectory": "./coverage/",
  74. "collectCoverage": true,
  75. "collectCoverageFrom": [
  76. "src/**/*"
  77. ]
  78. },
  79. "keywords": [
  80. "dayjs",
  81. "date",
  82. "time",
  83. "immutable",
  84. "moment"
  85. ],
  86. "license": "MIT",
  87. "main": "dayjs.min.js",
  88. "name": "dayjs",
  89. "pre-commit": [
  90. "lint"
  91. ],
  92. "repository": {
  93. "type": "git",
  94. "url": "git+https://github.com/iamkun/dayjs.git"
  95. },
  96. "scripts": {
  97. "babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files && node build/esm",
  98. "build": "cross-env BABEL_ENV=build node build && npm run size",
  99. "lint": "eslint src/* test/* build/*",
  100. "prettier": "prettier --write \"docs/**/*.md\"",
  101. "sauce": "npx karma start karma.sauce.conf.js",
  102. "size": "size-limit && gzip-size dayjs.min.js",
  103. "test": "TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && TZ=America/Whitehorse npm run test-tz && npm run test-tz && jest",
  104. "test-tz": "date && jest test/timezone.test --coverage=false",
  105. "test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2 && npm run sauce -- 3"
  106. },
  107. "size-limit": [
  108. {
  109. "limit": "2.99 KB",
  110. "path": "dayjs.min.js"
  111. }
  112. ],
  113. "types": "index.d.ts",
  114. "version": "1.11.10"
  115. }