moment
Version:
Parse, validate, manipulate, and display dates
141 lines • 4.81 kB
JSON
{
"name": "moment",
"version": "2.31.0",
"description": "Parse, validate, manipulate, and display dates",
"homepage": "https://momentjs.com",
"repository": {
"type": "git",
"url": "github:moment/moment"
},
"bugs": "https://github.com/moment/moment/issues",
"license": "MIT",
"keywords": [
"moment",
"date",
"time",
"i18n",
"l10n"
],
"main": "./moment.js",
"jsnext:main": "./dist/moment.js",
"typings": "./moment.d.ts",
"typesVersions": {
">=3.1": {
"*": [
"ts3.1-typings/*"
],
"min/moment-with-locales": [
"ts3.1-typings/moment.d.ts"
]
}
},
"engines": {
"node": "*"
},
"devEngines": {
"runtime": {
"name": "node",
"version": "^22.22.2 || ^24.15.0 || >=26.0.0",
"onFail": "error"
}
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"benchmark": "^2.1.4",
"eslint": "^10.8.1",
"globals": "^17.11.0",
"markdownlint-cli2": "^0.23.2",
"npm-run-all2": "^9.0.3",
"nyc": "^18.0.0",
"prettier": "^3.9.6",
"qunit": "^2.26.0",
"rollup": "^4.62.4",
"typescript": "^7.0.2",
"typescript1": "npm:typescript@^1.8.10",
"typescript2": "npm:typescript@^2.9.2",
"typescript3": "npm:typescript@^3.9.10",
"typescript3_0": "npm:typescript@3.0.3",
"typescript3_1": "npm:typescript@3.1.6",
"typescript4": "npm:typescript@^4.9.5",
"typescript5": "npm:typescript@^5.9.3",
"typescript6": "npm:typescript@^6.0.3",
"uglify-js": "^3.19.3"
},
"files": [
"dist/",
"locale/",
"min/locales.js",
"min/locales.min.js",
"min/locales.min.js.map",
"min/moment-with-locales.js",
"min/moment-with-locales.min.js",
"min/moment-with-locales.min.js.map",
"min/moment.min.js",
"min/moment.min.js.map",
"src/lib/",
"src/locale/",
"src/moment.js",
"ts3.1-typings/",
"CHANGELOG.md",
"ender.js",
"moment.d.ts",
"moment.js",
"dojo.profile.js"
],
"ender": "./ender.js",
"dojoBuild": "dojo.profile.js",
"jspm": {
"files": [
"moment.js",
"moment.d.ts",
"locale"
],
"map": {
"moment": "./moment"
},
"buildConfig": {
"uglify": true
}
},
"spm": {
"main": "moment.js",
"output": [
"locale/*.js"
]
},
"scripts": {
"benchmark": "node scripts/benchmark.js",
"build": "node scripts/build.js",
"build:custom": "node scripts/build.js --locales",
"format": "prettier --write .",
"format:check": "prettier --check .",
"hooks:install": "node scripts/install-hooks.js",
"lint": "run-s lint:eslint lint:markdown lint:months-parse format:check",
"lint:eslint": "eslint scripts src",
"lint:markdown": "markdownlint-cli2 \"**/*.md\"",
"lint:months-parse": "node scripts/check-months-parse.js",
"locale:authors": "node scripts/locales.js",
"pnpm:devPreinstall": "node scripts/install-hooks.js",
"release": "run-s lint test build release:update-index release:update-component release:minify",
"release:bump-version": "node scripts/bump-version.js",
"release:check-package": "node scripts/check-package.js",
"release:check-typescript": "node scripts/test-typescript-package.js",
"release:minify": "node scripts/minify.js",
"release:update-component": "node scripts/update-component.js",
"release:update-index": "node scripts/update-index.js",
"test": "node scripts/test.js",
"test:coverage": "nyc pnpm test && nyc report --reporter=lcov",
"test:typescript": "run-p test:typescript:1 test:typescript:2 test:typescript:3.0 test:typescript:3.1 test:typescript:3.9 test:typescript:4 test:typescript:5 test:typescript:6 test:typescript:7",
"test:typescript:1": "node node_modules/typescript1/lib/tsc.js --project typing-tests/legacy",
"test:typescript:2": "node node_modules/typescript2/lib/tsc.js --project typing-tests/legacy --types empty --typeRoots typing-tests/legacy/types",
"test:typescript:3.0": "node node_modules/typescript3_0/lib/tsc.js --project typing-tests/legacy --types empty --typeRoots typing-tests/legacy/types",
"test:typescript:3.1": "node node_modules/typescript3_1/lib/tsc.js --project typing-tests/modern",
"test:typescript:3.9": "node node_modules/typescript3/lib/tsc.js --project typing-tests/modern",
"test:typescript:4": "node_modules/typescript4/bin/tsc --project typing-tests/modern",
"test:typescript:5": "node_modules/typescript5/bin/tsc --project typing-tests/modern",
"test:typescript:6": "node_modules/typescript6/bin/tsc --project typing-tests/modern",
"test:typescript:7": "node_modules/typescript/bin/tsc --project typing-tests/modern",
"test:watch": "node --watch-path=src scripts/test.js",
"validate": "run-s lint test"
}
}