-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpackage.json
91 lines (91 loc) · 1.98 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
82
83
84
85
86
87
88
89
90
91
{
"name": "stdnum",
"version": "1.11.0",
"description": "Standard Number Validation",
"files": [
"README.md",
"LICENSE.txt",
"lib",
"src"
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/cjs/index.d.ts",
"exports_NOT_YET": {
"./": {
"import": "./lib/esm/",
"require": "./lib/cjs/"
}
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
},
"scripts": {
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint src",
"test": "jest",
"build": "tsc",
"prepublishOnly:esm": "tsc -p tsconfig.json",
"prepublishOnly:cjs": "tsc -p tsconfig-cjs.json",
"prepublishOnly": "npm run prepublishOnly:esm && npm run prepublishOnly:cjs"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/__tests__/**/*.+(ts|tsx|js)",
"**/?(*.)+(spec|test).+(ts|tsx|js)"
]
},
"author": "David Koblas",
"keywords": [
"identity",
"company",
"person",
"vat",
"validation",
"validator"
],
"repository": {
"type": "git",
"url": "https://github.com/koblas/stdnum-js.git"
},
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.18.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^29.5.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"jest": "^29.5.0",
"prettier": "^3.4.2",
"prettier-eslint": "^16.3.0",
"ts-jest": "^29.1.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0"
}
}