nextcloud-moment/package.json

74 строки
1.8 KiB
JSON

{
"name": "@nextcloud/moment",
"version": "1.3.2",
"description": "Customized moment.js for Nextcloud",
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"type": "module",
"scripts": {
"build": "vite --mode production build",
"build:doc": "typedoc --out dist/doc lib/index.ts && touch dist/doc/.nojekyll",
"check-types": "tsc --noEmit",
"dev": "vite --mode development build",
"l10n:extract": "node build/extract-l10n.js",
"lint": "eslint lib",
"test": "vitest run",
"test:watch": "vitest watch"
},
"keywords": [
"nextcloud",
"moment"
],
"homepage": "https://github.com/nextcloud-libraries/nextcloud-moment#readme",
"author": "Christoph Wurst",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/nextcloud-libraries/nextcloud-moment"
},
"files": [
"README.md",
"LICENSE",
"dist"
],
"dependencies": {
"@nextcloud/l10n": "^3.1.0",
"moment": "^2.30.1",
"node-gettext": "^3.0.0"
},
"devDependencies": {
"@nextcloud/browserslist-config": "^3.0.0",
"@nextcloud/eslint-config": "^8.3.0",
"@nextcloud/vite-config": "^2.2.2",
"@types/node": "^22.7.5",
"@types/node-gettext": "^3.0.6",
"eslint": "^8.56.0",
"gettext-extractor": "^3.8.0",
"gettext-parser": "^8.0.0",
"jsdom": "^25.0.1",
"typedoc": "^0.26.0",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vitest": "^2.1.2"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
],
"eslintConfig": {
"extends": [
"@nextcloud/eslint-config/typescript"
]
},
"engines": {
"node": "^20.0.0",
"npm": "^10.0.0"
}
}