You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
3.5 KiB
131 lines
3.5 KiB
{ |
|
"_from": "dayjs", |
|
"_id": "dayjs@1.8.22", |
|
"_inBundle": false, |
|
"_integrity": "sha1-XoNdd2s3PiFmeL6NEsM22nGiWpw=", |
|
"_location": "/dayjs", |
|
"_phantomChildren": {}, |
|
"_requested": { |
|
"type": "tag", |
|
"registry": true, |
|
"raw": "dayjs", |
|
"name": "dayjs", |
|
"escapedName": "dayjs", |
|
"rawSpec": "", |
|
"saveSpec": null, |
|
"fetchSpec": "latest" |
|
}, |
|
"_requiredBy": [ |
|
"#USER", |
|
"/" |
|
], |
|
"_resolved": "https://registry.npm.taobao.org/dayjs/download/dayjs-1.8.22.tgz", |
|
"_shasum": "5e835d776b373e216678be8d12c336da71a25a9c", |
|
"_spec": "dayjs", |
|
"_where": "/Users/piao/Documents/Project/yshopmall_uni", |
|
"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.22.0", |
|
"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.8.22" |
|
}
|
|
|