package.json
3.6 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"_from": "dayjs@^1.8.30",
"_id": "dayjs@1.9.7",
"_inBundle": false,
"_integrity": "sha512-IC877KBdMhBrCfBfJXHQlo0G8keZ0Opy7YIIq5QKtUbCuHMzim8S4PyiVK4YmihI3iOF9lhfUBW4AQWHTR5WHA==",
"_location": "/dayjs",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "dayjs@^1.8.30",
"name": "dayjs",
"escapedName": "dayjs",
"rawSpec": "^1.8.30",
"saveSpec": null,
"fetchSpec": "^1.8.30"
},
"_requiredBy": [
"/rc-picker"
],
"_resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.9.7.tgz",
"_shasum": "4b260bb17dceed2d5f29038dfee03c65a6786fc0",
"_spec": "dayjs@^1.8.30",
"_where": "C:\\Users\\kkwan_000\\Desktop\\git\\2017110269\\minsung\\node_modules\\rc-picker",
"author": {
"name": "iamkun"
},
"bugs": {
"url": "https://github.com/iamkun/dayjs/issues"
},
"bundleDependencies": false,
"dependencies": {},
"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.27.0",
"moment-timezone": "0.5.31",
"ncp": "^2.0.0",
"pre-commit": "^1.2.2",
"prettier": "^1.16.1",
"rollup": "^0.57.1",
"rollup-plugin-babel": "^4.0.0-beta.4",
"rollup-plugin-uglify": "^3.0.0",
"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",
"module": "dayjs.min.js",
"name": "dayjs",
"pre-commit": [
"lint"
],
"release": {
"prepare": [
{
"path": "@semantic-release/changelog"
},
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
]
}
]
]
},
"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.9.7"
}