UNPKG

3.68 kBJSONView Raw
1{
2 "name": "date-fns",
3 "version": "2.21.2",
4 "sideEffects": false,
5 "contributors": ["Sasha Koss <koss@nocorp.me>", "Lesha Koss <regiusprod@gmail.com>"],
6 "license": "MIT",
7 "description": "Modern JavaScript date utility library",
8 "repository": "https://github.com/date-fns/date-fns",
9 "funding": {
10 "type": "opencollective",
11 "url": "https://opencollective.com/date-fns"
12 },
13 "engines": {
14 "node": ">=0.11"
15 },
16 "typings": "./typings.d.ts",
17 "main": "index.js",
18 "module": "esm/index.js",
19 "scripts": {
20 "test": "karma start config/karma.js",
21 "lint": "eslint .",
22 "lint-types": "eslint --config=.ts-eslintrc.js typings.d.ts",
23 "locale-snapshots": "env TZ=utc babel-node --extensions .ts,.js ./scripts/build/localeSnapshots/index.js",
24 "benchmark": "env TEST_BENCHMARK=true yarn test --single-run",
25 "stats": "cloc . --exclude-dir=node_modules,tmp,.git"
26 },
27 "husky": {
28 "hooks": {
29 "pre-commit": "lint-staged"
30 }
31 },
32 "lint-staged": {
33 "*.js": ["prettier --write", "git add"]
34 },
35 "dependencies": {},
36 "devDependencies": {
37 "@babel/cli": "^7.5.5",
38 "@babel/core": "^7.5.5",
39 "@babel/node": "^7.5.5",
40 "@babel/plugin-proposal-object-rest-spread": "^7.13.8",
41 "@babel/plugin-proposal-optional-chaining": "^7.12.7",
42 "@babel/plugin-transform-arrow-functions": "^7.2.0",
43 "@babel/plugin-transform-block-scoping": "^7.5.5",
44 "@babel/plugin-transform-destructuring": "^7.5.0",
45 "@babel/plugin-transform-modules-commonjs": "^7.5.0",
46 "@babel/plugin-transform-parameters": "^7.4.4",
47 "@babel/plugin-transform-template-literals": "^7.4.4",
48 "@babel/preset-env": "^7.11.5",
49 "@babel/preset-typescript": "^7.10.4",
50 "@date-fns/date-fns-scripts": "0.0.4",
51 "@octokit/core": "^3.2.5",
52 "@types/jest": "^26.0.13",
53 "@types/node": "^14.6.3",
54 "@types/power-assert": "^1.5.3",
55 "@types/sinon": "^9.0.6",
56 "@typescript-eslint/eslint-plugin": "^2.9.0",
57 "@typescript-eslint/parser": "^2.9.0",
58 "babel-eslint": "^10.0.2",
59 "babel-loader": "8.0.6",
60 "babel-plugin-add-import-extension": "^1.4.3",
61 "babel-plugin-add-module-exports": "^1.0.2",
62 "babel-preset-power-assert": "^3.0.0",
63 "cloc": "^2.2.0",
64 "coveralls": "^3.0.6",
65 "eslint": "^5.16.0",
66 "eslint-config-prettier": "^4.3.0",
67 "firebase": "^3.7.1",
68 "flow-bin": "0.84.0",
69 "fs-promise": "^1.0.0",
70 "glob-promise": "^2.0.0",
71 "gzip-size-cli": "^1.0.0",
72 "husky": "^1.0.1",
73 "istanbul-instrumenter-loader": "^3.0.1",
74 "jest": "^24.8.0",
75 "js-beautify": "^1.5.10",
76 "js-fns": "^2.5.1",
77 "jsdoc-babel": "^0.5.0",
78 "jsdoc-to-markdown": "7",
79 "karma": "^3.1.4",
80 "karma-benchmark": "^1.0.4",
81 "karma-benchmark-reporter": "^0.1.1",
82 "karma-chrome-launcher": "2.2",
83 "karma-cli": "^1.0.1",
84 "karma-coverage": "^1.1.2",
85 "karma-coverage-istanbul-reporter": "^2.1.0",
86 "karma-mocha": "^1.3.0",
87 "karma-mocha-reporter": "^2.2.5",
88 "karma-phantomjs-launcher": "^1.0.4",
89 "karma-sauce-launcher": "^1.2.0",
90 "karma-sourcemap-loader": "^0.3.5",
91 "karma-webpack": "^4.0.2",
92 "lint-staged": "^7.3.0",
93 "lodash": "^4.17.15",
94 "lodash.clonedeep": "^4.5.0",
95 "mocha": "^3.5.3",
96 "moment": "^2.24.0",
97 "mz": "^2.7.0",
98 "node-fetch": "^1.7.3",
99 "power-assert": "^1.6.1",
100 "prettier": "2",
101 "rimraf": "^2.7.1",
102 "simple-git": "^2.35.2",
103 "sinon": "^7.4.1",
104 "size-limit": "^0.21.0",
105 "snazzy": "^7.0.0",
106 "ts-node": "^9.1.1",
107 "typescript": "^4.0.2",
108 "webpack": "4",
109 "webpack-cli": "^3.1.2",
110 "world-countries": "^1.8.1"
111 },
112 "resolutions": {
113 "ajv": "6.8.1"
114 }
115}