forked from commenthol/date-holidays
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 3.8 KB
/
package.json
File metadata and controls
150 lines (150 loc) · 3.8 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "date-holidays",
"version": "3.23.12",
"description": "public holidays DE, BE and FR+DOM TOM",
"keywords": [
"holidays",
"world"
],
"homepage": "https://github.com/MahaKHARRAT/date-holidays",
"bugs": {
"url": "https://github.com/MahaKHARRAT/date-holidays/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MahaKHARRAT/date-holidays.git"
},
"license": "(ISC AND CC-BY-3.0)",
"author": "commenthol <commenthol@gmail.com>",
"type": "module",
"exports": {
".": {
"import": "./src/index.js",
"require": "./lib/index.cjs",
"types": "./types/index.d.ts"
},
"./data": {
"import": "./src/data.js",
"require": "./lib/data.cjs"
},
"./package.json": "./package.json"
},
"main": "./lib/index.cjs",
"module": "./src/index.js",
"types": "./types",
"bin": {
"holidays2json": "scripts/holidays2json.cjs"
},
"directories": {
"lib": "lib",
"doc": "docs",
"test": "test"
},
"scripts": {
"all": "npm-run-all clean build lint test doc:tree doc:attrib webpack",
"build": "npm-run-all yaml build:only",
"build:only": "rollup -c",
"changelog": "contributors && node scripts/gitlog.cjs",
"ci": "TEST_XXL=1 npm-run-all yaml build test",
"clean": "rimraf lib dist src/data.js",
"clean:all": "npm-run-all clean clean:modules",
"clean:modules": "rimraf node_modules",
"doc:attrib": "node scripts/attributions.cjs",
"doc:tree": "node scripts/addtree.cjs",
"lint": "eslint --fix --ext .js,.cjs,.yaml .",
"prepublishOnly": "npm run all",
"test": "npm-run-all test:ci",
"test:ci": "mocha",
"test:ts": "dtslint types",
"watch": "watch-run -p data/countries/*.yaml npm run yaml",
"webpack": "webpack",
"webpack:analyze": "webpack",
"yaml": "node scripts/holidays2json.cjs",
"prepare": "husky install"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"break",
"feat",
"fix",
"chore",
"docs",
"refactor",
"revert",
"test"
]
],
"subject-case": [
2,
"never",
[
"start-case",
"pascal-case"
]
],
"scope-case": [
0
]
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"mocha": {
"checkLeaks": true,
"colors": true,
"reporter": "dot"
},
"dependencies": {
"date-holidays-parser": "^3.4.4",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"prepin": "^1.0.3"
},
"devDependencies": {
"@babel/cli": "^7.24.5",
"@babel/core": "^7.24.5",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.24.5",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@mocha/contributors": "git+https://github.com/commenthol/contributors.git#semver:1.1.0-0",
"babel-loader": "^9.1.3",
"chai": "^5.1.2",
"dtslint": "^4.2.1",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-yml": "^0.15.0",
"hashtree": "^0.7.0",
"husky": "^9.0.11",
"markedpp": "^1.3.0",
"mocha": "^10.4.0",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.5",
"rollup": "^2.79.1",
"typescript": "^5.4.5",
"watch-run": "^1.2.5",
"webpack": "^5.91.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": ">=12.0.0"
},
"c4uIgnore": {
"eslint-plugin-yml": "^0.15.0 // newer versions do too much checking",
"rollup": "^2.79.1 // v3 changed exports; needs refactoring first."
}
}