-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.7 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "@micham/iso8583",
"version": "1.0.4",
"description": "Implementation ISO8583 parser",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/MollardMichael/iso8583-typescript",
"license": "MIT",
"keywords": [],
"typesVersions": {
"*": {
"*": [
"./build/main/*"
]
}
},
"exports": {
".": {
"types": "./build/main/index.d.ts",
"require": "./build/main/index.js",
"import": "./build/module/index.js"
},
"./examples/*": {
"types": "./build/main/examples/*.d.ts",
"require": "./build/main/examples/*.js",
"import": "./build/module/examples/*.mjs"
},
"./lib/*": {
"types": "./build/main/lib/*.d.ts",
"require": "./build/main/lib/*.js",
"import": "./build/module/lib/*.mjs"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "run-p build:*",
"build:main": "tsc -p tsconfig.build.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",
"test": "run-s build test:*",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
"test:unit": "vitest run --coverage",
"check-cli": "run-s test diff-integration-tests check-integration-tests",
"check-integration-tests": "run-s check-integration-test:*",
"diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
"watch:build": "tsc -p tsconfig.json -w",
"watch:test": "vitest",
"cov": "run-s build test:unit && open-cli coverage/lcov-report/index.html",
"cov:send": "codecov",
"doc": "run-s doc:html && open-cli build/docs/index.html",
"doc:html": "typedoc --exclude **/*.spec.ts --out build/docs --tsconfig ./tsconfig.build.json",
"doc:json": "typedoc --exclude **/*.spec.ts --json build/docs/typedoc.json --tsconfig ./tsconfig.build.json",
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
"version": "standard-version",
"reset-hard": "git clean -dfx && git reset --hard && npm i",
"prepare-release": "run-s reset-hard test doc:html version doc:publish"
},
"engines": {
"node": ">=16"
},
"dependencies": {
"codepage": "1.15.0"
},
"devDependencies": {
"@types/node": "18.15.0",
"@typescript-eslint/eslint-plugin": "5.54.0",
"@typescript-eslint/parser": "5.59.9",
"@vitest/coverage-c8": "^0.29.1",
"@vitest/ui": "^0.30.1",
"codecov": "3.8.3",
"cspell": "6.29.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.36.0",
"eslint-config-prettier": "8.7.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-functional": "5.0.6",
"eslint-plugin-import": "2.27.5",
"gh-pages": "5.0.0",
"npm-run-all": "4.1.5",
"open-cli": "7.1.0",
"prettier": "2.8.4",
"standard-version": "9.5.0",
"typedoc": "0.23.26",
"typescript": "4.9.5",
"vitest": "^0.29.2"
},
"files": [
"build/main",
"build/module",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
}
}