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