Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.74 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 2.74 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
{
"name": "@linkurious/valcheck",
"description": "A JavaScript value checker for NodeJS",
"repository": {
"type": "git",
"url": "git+https://github.com/Linkurious/valcheck.git"
},
"author": {
"name": "David Rapin",
"url": "https://github.com/davidrapin"
},
"contributors": [
{
"name": "Francesco Infante",
"url": "https://github.com/francescoinfante"
}
],
"bugs": {
"url": "https://github.com/Linkurious/valcheck/issues"
},
"license": "MIT",
"version": "1.2.9",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./node": {
"types": "./lib/node.d.ts",
"default": "./lib/node.js"
},
"./package.json": "./package.json"
},
"files": [
"lib/*"
],
"logo": "https://upload.wikimedia.org/wikipedia/en/a/a8/The_Wire_Valcheck.jpg",
"keywords": [
"validator",
"check",
"checker",
"value",
"validation"
],
"private": false,
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=22"
},
"scripts": {
"make": "npm run lint && npm run build && npm run test",
"clean": "rm -rf ./lib ./test-build ./node_modules ./coverage ./.nyc_output ./reports",
"lint": "eslint --fix",
"lint:ci": "mkdir -p reports && eslint --format checkstyle --output-file reports/checkstyle.xml",
"test": "npm run build:test && nyc node --enable-source-maps --test test-build/**/*.test.js",
"test:unit": "npm run build:test && mkdir -p reports/unit && nyc --reporter=text-summary --reporter=cobertura --report-dir=reports/unit node --enable-source-maps --test --test-reporter=spec --test-reporter-destination=stdout --test-reporter=@reporters/junit --test-reporter-destination=./reports/unit/junit-test-results.xml test-build/**/*.test.js",
"build": "npm run build:lib && npm run build:test",
"build:lib": "tsc",
"build:test": "rm -rf ./test-build && tsc -p test",
"compile": "npm run build",
"bump:patch": "bump2version patch && npm version --no-git-tag-version patch",
"bump:minor": "bump2version minor && npm version --no-git-tag-version minor"
},
"dependencies": {
"lodash.difference": "4.5.0",
"lodash.intersection": "4.4.0"
},
"nyc": {
"reporter": [
"html",
"text-summary"
],
"all": true
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@reporters/junit": "2.1.3",
"@stylistic/eslint-plugin": "5.10.0",
"@types/lodash.difference": "4.5.9",
"@types/lodash.intersection": "4.4.9",
"@types/node": "16.18.126",
"eslint": "10.13.0",
"eslint-formatter-checkstyle": "9.0.1",
"nyc": "18.0.0",
"typescript": "6.0.3",
"typescript-eslint": "8.72.0"
}
}