calendar-js/package.json

91 строка
2.1 KiB
JSON

{
"name": "@nextcloud/calendar-js",
"version": "8.0.2",
"description": "Small library that wraps ICAL.js and provide more convenient means for editing",
"type": "module",
"main": "dist/index.cjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"README.md",
"LICENSE",
"dist"
],
"scripts": {
"build": "vite build --mode=production",
"dev": "vite build --mode=development",
"watch": "vite build --mode=development --watch",
"lint": "eslint --ext .js src",
"lint:fix": "eslint --ext .js src --fix",
"test": "TZ=UTC jest",
"test:watch": "TZ=UTC jest --watch",
"test:coverage": "TZ=UTC jest --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nextcloud/calendar-js.git"
},
"keywords": [
"ical.js",
"rfc5545",
"rfc7986"
],
"author": "Christoph Wurst",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/nextcloud/calendar-js/issues"
},
"homepage": "https://github.com/nextcloud/calendar-js#readme",
"engines": {
"node": "^20.0.0",
"npm": "^10.0.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@nextcloud/babel-config": "^1.2.0",
"@nextcloud/browserslist-config": "^3.0.1",
"@nextcloud/eslint-config": "^8.4.1",
"@nextcloud/eslint-plugin": "^2.2.1",
"@nextcloud/vite-config": "^2.2.2",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"vite": "^5.4.10"
},
"peerDependencies": {
"@nextcloud/timezones": "^0.1.1",
"ical.js": "^2.1.0",
"uuid": "^11.0.3"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
},
"jest": {
"verbose": true,
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"coverageDirectory": "./coverage",
"clearMocks": true,
"setupFiles": [
"./tests/assets/loader.js"
]
},
"browserslist": [
"extends @nextcloud/browserslist-config"
]
}