-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
94 lines (94 loc) · 2.17 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
92
93
94
{
"name": "stdnum",
"version": "1.10.6",
"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 --ext .js,.jsx,.ts,.tsx 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": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^29.5.0",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.22.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.5.0",
"prettier": "^3.0.0",
"ts-jest": "^29.1.0",
"typescript": "^5.1.6"
}
}