Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.28 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.28 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
{
"name": "@haskou/value-objects",
"version": "8.4.3",
"description": "TypeScript value objects for validated, immutable primitive values and small domain-safe data structures.",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"sideEffects": false,
"license": "MIT",
"keywords": [
"value-object",
"value-objects",
"typescript",
"validation",
"validated-types",
"immutable",
"immutability",
"type-safety",
"domain-primitives",
"primitive-obsession",
"ddd",
"domain-driven-design",
"email-validation",
"uuid",
"hash",
"zero-dependencies",
"dependency-free",
"isomorphic",
"browser",
"null-object",
"domain-model"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/haskou/value-objects.git"
},
"bugs": {
"url": "https://github.com/haskou/value-objects/issues"
},
"homepage": "https://haskou.github.io/value-objects/",
"scripts": {
"lint": "eslint ./src --ext .ts",
"lint:fix": "eslint ./src --ext .ts --fix",
"test": "yarn lint && yarn test:unit",
"test:unit": "jest --runInBand",
"test:coverage": "NODE_ENV=test jest --collect-coverage",
"build": "tsc -p tsconfig.build.json --noEmit && tsdown && node scripts/verify-distribution.cjs",
"check:distribution": "node scripts/verify-distribution.cjs",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress build docs && vitepress preview docs"
},
"devDependencies": {
"@arethetypeswrong/core": "^0.18.5",
"@haskou/eslint-config": "^0.2.2",
"@types/jest": "^30.0.0",
"@types/node": "^26.6.5",
"eslint": "^10.13.0",
"jest": "^30.5.2",
"jest-extended": "^7.0.0",
"prettier": "^3.9.10",
"publint": "^0.3.25",
"ts-jest": "^29.4.15",
"tsdown": "^0.23.2",
"typescript": "^6.0.3",
"vitepress": "^1.6.4"
}
}