-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 4.25 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 4.25 KB
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
{
"name": "@checkdigit/typescript-config",
"version": "10.1.0",
"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=index.test.ts --outFile=index.test.mjs",
"build:mjs-bundle-minify": "rimraf build-mjs-bundle-minify && bin/builder.mjs --type=module --minify --outDir=build-mjs-bundle-minify --entryPoint=index.test.ts --outFile=index.test.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=index.test.ts --outFile=index.test.mjs --minify",
"build:types": "rimraf build-types && bin/builder.mjs --type=types --outDir=build-types",
"ci:compile": "tsc --noEmit --rootDir src",
"ci:lint": "npm run lint",
"ci:style": "npm run prettier",
"ci:test": "npm run build && npm run test:node && npm run test:mjs && npm run test:mjs-bundle && npm run test:mjs-bundle-no-external",
"lint": "eslint . --max-warnings=0 --concurrency=auto",
"lint:fix": "eslint . --fix --concurrency=auto",
"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:mjs": "node --test build-mjs/test/index.mjs",
"test:mjs-bundle": "node --test build-mjs-bundle/index.test.mjs",
"test:mjs-bundle-minify": "node --test build-mjs-bundle-minify/index.test.mjs",
"test:mjs-bundle-no-external": "node --test build-mjs-bundle-no-external/index.test.mjs",
"test:node": "node --disable-warning ExperimentalWarning --experimental-strip-types --test-timeout 600000 --test \"src/**/*.spec.ts\""
},
"prettier": "@checkdigit/prettier-config",
"devDependencies": {
"@checkdigit/prettier-config": "^8.0.0",
"@eslint/js": "^9.39.4",
"@eslint/json": "^1.2.0",
"@eslint/markdown": "^8.0.1",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-yml": "^3.3.2",
"rimraf": "^6.1.3",
"typescript-eslint": "^8.59.2"
},
"peerDependencies": {
"@swc-node/register": "1.11.1",
"@types/node": ">=24",
"esbuild": "0.28.0",
"oxc-resolver": "11.13.2",
"typescript": ">=6.0.3 <7"
},
"engines": {
"node": ">=24.14.1 <25 || >=26"
}
}