@checkdigit/typescript-config 7.1.0-PR.58-dbc4 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1) hide show
  1. package/package.json +125 -1
package/package.json CHANGED
@@ -1 +1,125 @@
1
- {"name":"@checkdigit/typescript-config","version":"7.1.0-PR.58-dbc4","description":"Check Digit standard Typescript configuration","prettier":"@checkdigit/prettier-config","engines":{"node":">=20.13"},"type":"module","exports":{".":{"types":"./dist-types/index.d.ts","import":"./dist-mjs/index.mjs","default":"./tsconfig.json"}},"bin":{"builder":"./bin/builder.mjs"},"peerDependencies":{"@types/node":">=20.13","esbuild":"0.21.5","typescript":">=5.5.2 <5.6.0"},"repository":{"type":"git","url":"git+https://github.com/checkdigit/typescript-config.git"},"author":"Check Digit, LLC","license":"MIT","bugs":{"url":"https://github.com/checkdigit/typescript-config/issues"},"homepage":"https://github.com/checkdigit/typescript-config#readme","scripts":{"prepare":"","prepublishOnly":"npm run build:builder && npm run build:dist-types && npm run build:dist-mjs","lint:fix":"eslint . --fix","lint":"eslint --max-warnings 0 .","prettier":"prettier --ignore-path .gitignore --list-different .","prettier:fix":"prettier --ignore-path .gitignore --write .","test":"npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style","build":"npm run build:builder && npm run build:types && npm run build:mjs && npm run build:mjs-bundle && npm run build:mjs-bundle-minify && npm run build:mjs-bundle-no-external","build:dist-types":"rimraf dist-types && npx builder --type=types --outDir=dist-types","build:dist-mjs":"rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs","build:builder":"esbuild src/builder.ts --bundle --platform=node --format=esm --external:typescript --external:esbuild --outfile=build-builder/builder.mjs && mkdir -p bin && { echo '#!/usr/bin/env node'; cat build-builder/builder.mjs; } > bin/builder.mjs && chmod +x bin/builder.mjs","build:types":"rimraf build-types && bin/builder.mjs --type=types --outDir=build-types","build:mjs":"rimraf build-mjs && bin/builder.mjs --type=module --outDir=build-mjs","build:mjs-bundle":"rimraf build-mjs-bundle && bin/builder.mjs --type=module --outDir=build-mjs-bundle --entryPoint=test/index.ts --outFile=test/index.mjs","build:mjs-bundle-minify":"rimraf build-mjs-bundle-minify && bin/builder.mjs --type=module --minify --outDir=build-mjs-bundle-minify --entryPoint=test/index.ts --outFile=test/index.mjs","build:mjs-bundle-no-external":"rimraf build-mjs-bundle-no-external && bin/builder.mjs --type=module --external=./node_modules/* --outDir=build-mjs-bundle-no-external --entryPoint=test/index.ts --outFile=test/index.mjs --minify","test:jest-mjs":"NODE_OPTIONS=\"--disable-warning ExperimentalWarning --experimental-vm-modules\" jest --coverage=false","test:mjs":"node --test build-mjs/test/index.mjs","test:mjs-bundle":"node --test build-mjs-bundle/test/index.mjs","test:mjs-bundle-minify":"node --test build-mjs-bundle-minify/test/index.mjs","test:mjs-bundle-no-external":"node --test build-mjs-bundle-no-external/test/index.mjs","ci:test":"npm run build && npm run test:jest-mjs && npm run test:mjs && npm run test:mjs-bundle && npm run test:mjs-bundle-no-external","ci:compile":"tsc --noEmit","ci:lint":"npm run lint","ci:style":"npm run prettier"},"devDependencies":{"@apidevtools/json-schema-ref-parser":"^11.6.4","@checkdigit/prettier-config":"^5.4.1","@eslint/js":"^9.5.0","@jest/globals":"^29.7.0","@types/uuid":"^9.0.8","eslint":"^9.5.0","eslint-config-prettier":"^9.1.0","jest":"^29.7.0","rimraf":"^5.0.7","ts-jest":"^29.1.5","typescript-eslint":"8.0.0-alpha.27","uuid":"^10.0.0"},"jest":{"moduleFileExtensions":["js","mjs","cjs","ts","json","node"],"extensionsToTreatAsEsm":[".ts"],"transform":{"^.+\\.ts$":["ts-jest",{"isolatedModules":true,"diagnostics":false,"useESM":true}]},"collectCoverageFrom":["<rootDir>/src/**"],"testMatch":["<rootDir>/src/**/*.spec.ts"]},"files":["bin","tsconfig.json","src","dist-types","dist-mjs","!src/**/test/**","!src/**/*.test.ts","!src/**/*.spec.ts","!dist-types/**/test/**","!dist-types/**/*.test.d.ts","!dist-types/**/*.spec.d.ts","!dist-mjs/**/test/**","!dist-mjs/**/*.test.mjs","!dist-mjs/**/*.spec.mjs","SECURITY.md"]}
1
+ {
2
+ "name": "@checkdigit/typescript-config",
3
+ "version": "7.1.0",
4
+ "description": "Check Digit standard Typescript configuration",
5
+ "prettier": "@checkdigit/prettier-config",
6
+ "engines": {
7
+ "node": ">=20.13"
8
+ },
9
+ "type": "module",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist-types/index.d.ts",
13
+ "import": "./dist-mjs/index.mjs",
14
+ "default": "./tsconfig.json"
15
+ }
16
+ },
17
+ "bin": {
18
+ "builder": "./bin/builder.mjs"
19
+ },
20
+ "peerDependencies": {
21
+ "@types/node": ">=20.13",
22
+ "esbuild": "0.21.5",
23
+ "typescript": ">=5.5.2 <5.6.0"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/checkdigit/typescript-config.git"
28
+ },
29
+ "author": "Check Digit, LLC",
30
+ "license": "MIT",
31
+ "bugs": {
32
+ "url": "https://github.com/checkdigit/typescript-config/issues"
33
+ },
34
+ "homepage": "https://github.com/checkdigit/typescript-config#readme",
35
+ "scripts": {
36
+ "prepare": "",
37
+ "prepublishOnly": "npm run build:builder && npm run build:dist-types && npm run build:dist-mjs",
38
+ "lint:fix": "eslint . --fix",
39
+ "lint": "eslint --max-warnings 0 .",
40
+ "prettier": "prettier --ignore-path .gitignore --list-different .",
41
+ "prettier:fix": "prettier --ignore-path .gitignore --write .",
42
+ "test": "npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style",
43
+ "build": "npm run build:builder && npm run build:types && npm run build:mjs && npm run build:mjs-bundle && npm run build:mjs-bundle-minify && npm run build:mjs-bundle-no-external",
44
+ "build:dist-types": "rimraf dist-types && npx builder --type=types --outDir=dist-types",
45
+ "build:dist-mjs": "rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs",
46
+ "build:builder": "esbuild src/builder.ts --bundle --platform=node --format=esm --external:typescript --external:esbuild --outfile=build-builder/builder.mjs && mkdir -p bin && { echo '#!/usr/bin/env node'; cat build-builder/builder.mjs; } > bin/builder.mjs && chmod +x bin/builder.mjs",
47
+ "build:types": "rimraf build-types && bin/builder.mjs --type=types --outDir=build-types",
48
+ "build:mjs": "rimraf build-mjs && bin/builder.mjs --type=module --outDir=build-mjs",
49
+ "build:mjs-bundle": "rimraf build-mjs-bundle && bin/builder.mjs --type=module --outDir=build-mjs-bundle --entryPoint=test/index.ts --outFile=test/index.mjs",
50
+ "build:mjs-bundle-minify": "rimraf build-mjs-bundle-minify && bin/builder.mjs --type=module --minify --outDir=build-mjs-bundle-minify --entryPoint=test/index.ts --outFile=test/index.mjs",
51
+ "build:mjs-bundle-no-external": "rimraf build-mjs-bundle-no-external && bin/builder.mjs --type=module --external=./node_modules/* --outDir=build-mjs-bundle-no-external --entryPoint=test/index.ts --outFile=test/index.mjs --minify",
52
+ "test:jest-mjs": "NODE_OPTIONS=\"--disable-warning ExperimentalWarning --experimental-vm-modules\" jest --coverage=false",
53
+ "test:mjs": "node --test build-mjs/test/index.mjs",
54
+ "test:mjs-bundle": "node --test build-mjs-bundle/test/index.mjs",
55
+ "test:mjs-bundle-minify": "node --test build-mjs-bundle-minify/test/index.mjs",
56
+ "test:mjs-bundle-no-external": "node --test build-mjs-bundle-no-external/test/index.mjs",
57
+ "ci:test": "npm run build && npm run test:jest-mjs && npm run test:mjs && npm run test:mjs-bundle && npm run test:mjs-bundle-no-external",
58
+ "ci:compile": "tsc --noEmit",
59
+ "ci:lint": "npm run lint",
60
+ "ci:style": "npm run prettier"
61
+ },
62
+ "devDependencies": {
63
+ "@apidevtools/json-schema-ref-parser": "^11.6.4",
64
+ "@checkdigit/prettier-config": "^5.4.1",
65
+ "@eslint/js": "^9.5.0",
66
+ "@jest/globals": "^29.7.0",
67
+ "@types/uuid": "^10.0.0",
68
+ "eslint": "9.5.0",
69
+ "eslint-config-prettier": "^9.1.0",
70
+ "jest": "^29.7.0",
71
+ "rimraf": "^5.0.7",
72
+ "ts-jest": "^29.1.5",
73
+ "typescript-eslint": "^7.14.1",
74
+ "uuid": "^10.0.0"
75
+ },
76
+ "jest": {
77
+ "moduleFileExtensions": [
78
+ "js",
79
+ "mjs",
80
+ "cjs",
81
+ "ts",
82
+ "json",
83
+ "node"
84
+ ],
85
+ "extensionsToTreatAsEsm": [
86
+ ".ts"
87
+ ],
88
+ "transform": {
89
+ "^.+\\.ts$": [
90
+ "ts-jest",
91
+ {
92
+ "isolatedModules": true,
93
+ "diagnostics": false,
94
+ "useESM": true
95
+ }
96
+ ]
97
+ },
98
+ "collectCoverageFrom": [
99
+ "<rootDir>/src/**"
100
+ ],
101
+ "testMatch": [
102
+ "<rootDir>/src/**/*.spec.ts"
103
+ ]
104
+ },
105
+ "files": [
106
+ "bin",
107
+ "tsconfig.json",
108
+ "src",
109
+ "dist-types",
110
+ "dist-mjs",
111
+ "!src/**/test/**",
112
+ "!src/**/*.test.ts",
113
+ "!src/**/*.spec.ts",
114
+ "!dist-types/**/test/**",
115
+ "!dist-types/**/*.test.d.ts",
116
+ "!dist-types/**/*.spec.d.ts",
117
+ "!dist-mjs/**/test/**",
118
+ "!dist-mjs/**/*.test.mjs",
119
+ "!dist-mjs/**/*.spec.mjs",
120
+ "SECURITY.md"
121
+ ],
122
+ "overrides": {
123
+ "eslint": "9.5.0"
124
+ }
125
+ }