@checkdigit/typescript-config 8.0.0-PR.66-fa62 → 8.0.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 +121 -1
package/package.json CHANGED
@@ -1 +1,121 @@
1
- {"name":"@checkdigit/typescript-config","version":"8.0.0-PR.66-fa62","description":"Check Digit standard Typescript configuration","homepage":"https://github.com/checkdigit/typescript-config#readme","bugs":{"url":"https://github.com/checkdigit/typescript-config/issues"},"repository":{"type":"git","url":"git+https://github.com/checkdigit/typescript-config.git"},"license":"MIT","author":"Check Digit, LLC","type":"module","exports":{".":{"types":"./dist-types/index.d.ts","import":"./dist-mjs/index.mjs","default":"./tsconfig.json"}},"bin":{"builder":"./bin/builder.mjs"},"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"],"scripts":{"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: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:dist-mjs":"rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs","build:dist-types":"rimraf dist-types && npx builder --type=types --outDir=dist-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","build:types":"rimraf build-types && bin/builder.mjs --type=types --outDir=build-types","ci:compile":"tsc --noEmit","ci:lint":"npm run lint","ci:style":"npm run prettier","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","lint":"eslint --max-warnings 0 .","lint:fix":"eslint . --fix","prepare":"","prepublishOnly":"npm run build:builder && npm run build:dist-types && npm run build:dist-mjs","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","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"},"prettier":"@checkdigit/prettier-config","jest":{"collectCoverageFrom":["<rootDir>/src/**"],"extensionsToTreatAsEsm":[".ts"],"moduleFileExtensions":["js","mjs","cjs","ts","json","node"],"testMatch":["<rootDir>/src/**/*.spec.ts"],"transform":{"^.+\\.ts$":["ts-jest",{"isolatedModules":true,"diagnostics":false,"useESM":true}]}},"devDependencies":{"@checkdigit/prettier-config":"^5.5.1","@eslint/js":"^9.12.0","@jest/globals":"^29.7.0","@types/uuid":"^10.0.0","eslint":"^9.12.0","eslint-config-prettier":"^9.1.0","jest":"^29.7.0","rimraf":"^6.0.1","ts-jest":"^29.2.5","typescript-eslint":"^8.10.0","uuid":"^10.0.0"},"peerDependencies":{"@types/node":">=20.17","esbuild":"0.24.0","typescript":">=5.6.3 <5.7.0"},"engines":{"node":">=20.17"}}
1
+ {
2
+ "name": "@checkdigit/typescript-config",
3
+ "version": "8.0.0",
4
+ "description": "Check Digit standard Typescript configuration",
5
+ "homepage": "https://github.com/checkdigit/typescript-config#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/checkdigit/typescript-config/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/checkdigit/typescript-config.git"
12
+ },
13
+ "license": "MIT",
14
+ "author": "Check Digit, LLC",
15
+ "type": "module",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist-types/index.d.ts",
19
+ "import": "./dist-mjs/index.mjs",
20
+ "default": "./tsconfig.json"
21
+ }
22
+ },
23
+ "bin": {
24
+ "builder": "./bin/builder.mjs"
25
+ },
26
+ "files": [
27
+ "bin",
28
+ "tsconfig.json",
29
+ "src",
30
+ "dist-types",
31
+ "dist-mjs",
32
+ "!src/**/test/**",
33
+ "!src/**/*.test.ts",
34
+ "!src/**/*.spec.ts",
35
+ "!dist-types/**/test/**",
36
+ "!dist-types/**/*.test.d.ts",
37
+ "!dist-types/**/*.spec.d.ts",
38
+ "!dist-mjs/**/test/**",
39
+ "!dist-mjs/**/*.test.mjs",
40
+ "!dist-mjs/**/*.spec.mjs",
41
+ "SECURITY.md"
42
+ ],
43
+ "scripts": {
44
+ "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",
45
+ "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",
46
+ "build:dist-mjs": "rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs",
47
+ "build:dist-types": "rimraf dist-types && npx builder --type=types --outDir=dist-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
+ "build:types": "rimraf build-types && bin/builder.mjs --type=types --outDir=build-types",
53
+ "ci:compile": "tsc --noEmit",
54
+ "ci:lint": "npm run lint",
55
+ "ci:style": "npm run prettier",
56
+ "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",
57
+ "lint": "eslint --max-warnings 0 .",
58
+ "lint:fix": "eslint . --fix",
59
+ "prepare": "",
60
+ "prepublishOnly": "npm run build:builder && npm run build:dist-types && npm run build:dist-mjs",
61
+ "prettier": "prettier --ignore-path .gitignore --list-different .",
62
+ "prettier:fix": "prettier --ignore-path .gitignore --write .",
63
+ "test": "npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style",
64
+ "test:jest-mjs": "NODE_OPTIONS=\"--disable-warning ExperimentalWarning --experimental-vm-modules\" jest --coverage=false",
65
+ "test:mjs": "node --test build-mjs/test/index.mjs",
66
+ "test:mjs-bundle": "node --test build-mjs-bundle/test/index.mjs",
67
+ "test:mjs-bundle-minify": "node --test build-mjs-bundle-minify/test/index.mjs",
68
+ "test:mjs-bundle-no-external": "node --test build-mjs-bundle-no-external/test/index.mjs"
69
+ },
70
+ "prettier": "@checkdigit/prettier-config",
71
+ "jest": {
72
+ "collectCoverageFrom": [
73
+ "<rootDir>/src/**"
74
+ ],
75
+ "extensionsToTreatAsEsm": [
76
+ ".ts"
77
+ ],
78
+ "moduleFileExtensions": [
79
+ "js",
80
+ "mjs",
81
+ "cjs",
82
+ "ts",
83
+ "json",
84
+ "node"
85
+ ],
86
+ "testMatch": [
87
+ "<rootDir>/src/**/*.spec.ts"
88
+ ],
89
+ "transform": {
90
+ "^.+\\.ts$": [
91
+ "ts-jest",
92
+ {
93
+ "isolatedModules": true,
94
+ "diagnostics": false,
95
+ "useESM": true
96
+ }
97
+ ]
98
+ }
99
+ },
100
+ "devDependencies": {
101
+ "@checkdigit/prettier-config": "^5.5.1",
102
+ "@eslint/js": "^9.12.0",
103
+ "@jest/globals": "^29.7.0",
104
+ "@types/uuid": "^10.0.0",
105
+ "eslint": "^9.12.0",
106
+ "eslint-config-prettier": "^9.1.0",
107
+ "jest": "^29.7.0",
108
+ "rimraf": "^6.0.1",
109
+ "ts-jest": "^29.2.5",
110
+ "typescript-eslint": "^8.10.0",
111
+ "uuid": "^10.0.0"
112
+ },
113
+ "peerDependencies": {
114
+ "@types/node": ">=20.17",
115
+ "esbuild": "0.24.0",
116
+ "typescript": ">=5.6.3 <5.7.0"
117
+ },
118
+ "engines": {
119
+ "node": ">=20.17"
120
+ }
121
+ }