-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 1.67 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
{
"name": "is-valid-pesel",
"version": "1.2.4",
"description": "Check if a number is a valid PESEL",
"type": "module",
"sideEffects": false,
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"source": "./src/index.ts",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./*": "./*"
},
"scripts": {
"build": "yarn build-esm && yarn build-cjs && yarn build-cjs-package",
"build-esm": "tsc --project tsconfig.build.json --outDir dist/esm",
"build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs --moduleResolution node --verbatimModuleSyntax false",
"build-cjs-package": "echo '{\n \"type\": \"commonjs\"\n}' > dist/cjs/package.json",
"clean": "rimraf dist",
"format": "biome format",
"lint": "biome lint",
"postinstall": "husky",
"prepack": "yarn clean && yarn build",
"test": "yarn lint && yarn tsc && yarn format && yarn unit",
"tsc": "tsc",
"unit": "vitest"
},
"keywords": [
"validation",
"pesel"
],
"author": {
"name": "Wojciech Maj",
"email": "kontakt@wojtekmaj.pl"
},
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "1.9.0",
"husky": "^9.0.0",
"rimraf": "^6.0.0",
"typescript": "^5.5.2",
"vitest": "^2.1.1"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wojtekmaj/is-valid-pesel.git"
},
"funding": "https://github.com/wojtekmaj/is-valid-pesel?sponsor=1",
"packageManager": "yarn@4.3.1"
}