Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.1 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 3.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "node-ical",
"version": "0.27.3",
"description": "NodeJS class for parsing iCalendar/ICS files",
"license": "Apache-2.0",
"repository": "github:jens-maus/node-ical",
"homepage": "https://github.com/jens-maus/node-ical",
"author": "Jens Maus <mail@jens-maus.de>",
"type": "module",
"exports": {
".": {
"import": {
"types": "./node-ical.d.ts",
"default": "./node-ical.js"
},
"require": {
"types": "./node-ical.d.cts",
"default": "./node-ical.cjs"
},
"default": {
"types": "./node-ical.d.ts",
"default": "./node-ical.js"
}
},
"./package.json": "./package.json"
},
"types": "./node-ical.d.ts",
"sideEffects": false,
"engines": {
"node": ">=22"
},
"scripts": {
"examples": "node examples/example-rrule-basic.js && node examples/example-rrule-moment.js && node examples/example-rrule-luxon.js && node examples/example-rrule-dayjs.js && node examples/example-rrule-datefns.js && node examples/example-rrule-vanilla.js && node examples/example.js",
"build:cjs": "node build/build-cjs.js",
"pretest": "npm run build:cjs",
"test": "npm run test:types && xo && mocha --extension js --timeout 8000",
"test:types:compat": "mocha test/package-types-compat.js --timeout 30000",
"test:types": "tsc --project test/tsconfig.json",
"lint": "xo",
"lintfix": "xo --fix",
"prepare": "simple-git-hooks && npm run build:cjs",
"prepack": "npm run build:cjs",
"build": "node build/update-windows-zones.js",
"build:strict": "node build/update-windows-zones.js --strict"
},
"files": [
"node-ical.js",
"node-ical.d.ts",
"node-ical.cjs",
"node-ical.d.cts",
"ical.js",
"lib/**/*.js",
"windowsZones.json"
],
"keywords": [
"ical",
"ics",
"calendar",
"nodejs"
],
"dependencies": {
"rrule-temporal": "^2.2.7",
"temporal-polyfill": "^1.0.5"
},
"devDependencies": {
"date-fns": "^4.4.0",
"dayjs": "^1.11.23",
"esbuild": "^0.28.2",
"fast-xml-parser": "^5.11.1",
"lint-staged": "^17.6.0",
"luxon": "^3.7.2",
"mocha": "^12.0.2",
"moment-timezone": "^0.6.4",
"simple-git-hooks": "^2.14.0",
"typescript": "^6.0.3",
"xo": "^5.0.1"
},
"xo": [
{
"ignores": [
"package.json"
]
},
{
"space": 2
},
{
"rules": {
"@eslint-community/eslint-comments/require-description": "off",
"jsdoc/check-indentation": "off",
"jsdoc/check-line-alignment": "off",
"jsdoc/require-asterisk-prefix": "off",
"jsdoc/require-param-description": "off",
"max-params": [
"warn",
5
],
"regexp/prefer-named-capture-group": "off",
"unicorn/consistent-boolean-name": "off"
}
}
],
"simple-git-hooks": {
"pre-commit": "npx --no lint-staged",
"pre-push": "npm test"
},
"lint-staged": {
"!**/*.d.ts": [],
"**/*.{js,cjs,mjs,ts,tsx}": "xo --fix"
},
"allowScripts": {
"simple-git-hooks@2.14.0": true,
"unrs-resolver@1.12.2": true,
"esbuild@0.28.2": true
}
}