-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
81 lines (81 loc) · 2.48 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
75
76
77
78
79
80
81
{
"name": "fp-kudojs",
"version": "1.0.3",
"description": "A small utility library with a collection of popular Algebraic Data Types and Helper functions to help you write code in a functional programming style in Javascript",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"unpkg": "./dist/iife/kudo.js",
"type": "module",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./function/*": {
"import": "./dist/function/*/index.mjs",
"require": "./dist/function/*/index.cjs",
"types": "./dist/function/*/index.d.ts"
},
"./adt/*": {
"import": "./dist/adt/*/index.mjs",
"require": "./dist/adt/*/index.cjs",
"types": "./dist/adt/*/index.d.ts"
}
},
"scripts": {
"build": "npm run build:clean && npm run build:types && npm run build:bundle",
"build:clean": "rimraf dist",
"build:types": "tsc --project tsconfig.build.json",
"build:bundle": "vite build",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"prepare": "husky install",
"semantic-release": "semantic-release"
},
"dependencies": {
"tslib": "^2.6.2"
},
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@vitest/coverage-v8": "^1.3.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"glob": "^10.3.10",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"vite-plugin-dts": "^4.3.0",
"vitest": "^1.3.1"
},
"files": [
"dist",
"src"
],
"keywords": [
"functional",
"programming",
"fp",
"pattern matching",
"algebraic data types",
"typescript"
],
"author": "Ritesh Pillai",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ritesh404/kudojs.git"
},
"engines": {
"node": ">=18"
}
}