/
package.json
74 lines (74 loc) · 2.63 KB
/
package.json
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
{
"name": "name-day-calendar",
"version": "0.0.0",
"description": "Module for providing lists of the official names in a calendar by specific country. Name by day with additional options (e.g.by sex). Contain names database, handlers, and types for TypeScript.",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"prebuild": "rm -rf dist",
"build": "npm run build:data && npm run build:declarations && npm run build:esm && npm run build:cjs",
"build:declarations": "tsc",
"build:esm": "esbuild src/index.ts --outfile=dist/index.mjs --format=esm --bundle --target=es2020 --sourcemap --minify",
"build:cjs": "esbuild src/index.ts --outfile=dist/index.cjs --format=cjs --bundle --target=es2016 --sourcemap --analyze",
"prebuild:data": "npm run scripts:build",
"build:data": "node scripts/calendarToJson/calendarToJson.js",
"postbuild:data": "prettier --check --write \"src/loaders.generated.ts\"",
"pretest": "npm run build:data",
"test": "jest",
"test:ci": "jest",
"prelint": "npm run build:data && npm run build:declarations",
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --fix",
"format": "prettier --write \"(src|scripts)/**/*.ts\"",
"scripts:dev": "tsc --project scripts/tsconfig.json --watch",
"scripts:build": "tsc --build scripts/tsconfig.json",
"scripts:start": "node scripts/calendarToJson/calendarToJson.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/peterknezek/name-day-calendar.git"
},
"author": "Peter Knezek @peterknezek",
"license": "MIT",
"bugs": {
"url": "https://github.com/peterknezek/name-day-calendar/issues"
},
"homepage": "https://github.com/peterknezek/name-day-calendar#readme",
"keywords": [
"names",
"calendar",
"database",
"typescript"
],
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/js-yaml": "^4.0.9",
"@types/lodash.mergewith": "^4.6.9",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"esbuild": "^0.20.1",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^12.0.0",
"jest": "^29.7.0",
"js-yaml": "^4.1.0",
"lodash.mergewith": "^4.6.2",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"release": {
"branches": [
"main",
"next"
]
}
}