package.json 3.2 KB

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