-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.58 KB
/
Copy pathpackage.json
File metadata and controls
114 lines (114 loc) · 3.58 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@cldmv/fix-headers",
"version": "2.2.0",
"description": "Multi-language project header normalizer with auto-detection and override support.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./types/index.d.mts",
"files": [
"dist/",
"!dist/**/*.map",
"types/",
"bin/",
"!bin/**/*.map"
],
"exports": {
".": {
"fix-headers-dev": {
"types": "./types/index.d.mts",
"import": "./src/fix-header.mjs"
},
"types": "./types/index.d.mts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"bin": {
"fix-headers": "./bin/fix-headers.mjs"
},
"scripts": {
"build:ci": "npm run lint --if-present && npm run format:check --if-present && npm run types:check && npm run types:build && npm run build",
"test": "node tests/run-vitest.mjs && npm run test:cjs",
"test:cjs": "npm run build && node --test tests/cjs/entry.test.cjs",
"test:watch": "vitest --config .configs/vitest.config.mjs",
"coverage": "node tests/run-vitest.mjs --coverage-quiet && npm run test:cjs",
"ci:coverage": "npm run coverage",
"types:build": "tsc -p .configs/tsconfig.json --noCheck",
"types:check": "tsc -p .configs/tsconfig.json --noEmit",
"cli": "node ./src/cli.mjs",
"build": "node -e \"for (const d of ['dist', 'bin']) require('node:fs').rmSync(d, { recursive: true, force: true })\" && tsup",
"prepack": "node -e \"const fs=require('node:fs');const hasTsup=fs.existsSync('node_modules/.bin/tsup')||fs.existsSync('node_modules/.bin/tsup.cmd');if(hasTsup){require('node:child_process').execSync('npm run build',{stdio:'inherit'})}else if(!fs.existsSync('dist/index.mjs')){throw new Error('dist/ is missing and tsup is unavailable to build it (expected in a bare package-contents publish dir with a prebuilt dist/; unexpected anywhere else)')}\"",
"lint": "eslint --config .configs/eslint.config.mjs .",
"lint:fix": "eslint --config .configs/eslint.config.mjs . --fix",
"format": "prettier --config .configs/.prettierrc --write .",
"format:check": "prettier --config .configs/.prettierrc --check .",
"prepare": "node -e \"import('./.githooks/install.mjs').catch(()=>{})\"",
"fix:headers": "node ./src/cli.mjs --config .configs/fix-headers.json"
},
"keywords": [
"headers",
"copyright",
"automation",
"node-module"
],
"repository": {
"type": "git",
"url": "git+https://github.com/CLDMV/fix-headers.git"
},
"bugs": {
"url": "https://github.com/CLDMV/fix-headers/issues"
},
"homepage": "https://github.com/CLDMV/fix-headers#readme",
"engines": {
"node": ">=22.12.0"
},
"author": {
"name": "Shinrai",
"company": "CLDMV",
"email": "git+npm@cldmv.net",
"url": "https://cldmv.net"
},
"contributors": [
{
"name": "CLDMV",
"url": "https://github.com/CLDMV"
}
],
"funding": {
"type": "github",
"url": "https://github.com/sponsors/shinrai"
},
"publishConfig": {
"access": "public"
},
"license": "Apache-2.0",
"sideEffects": false,
"devDependencies": {
"@cldmv/configs": "^1.2.0",
"@cldmv/eslint-plugin-jsonv": "^1.0.10",
"@cldmv/jsonv": "^1.0.9",
"@cldmv/prettier-plugin-jsonv": "^1.0.6",
"@cldmv/vitest-runner": "^1.4.2",
"@eslint/css": "^2.0.0",
"@eslint/js": "^10.0.1",
"@eslint/json": "^2.1.0",
"@eslint/markdown": "^8.0.3",
"@types/node": "^26.1.1",
"@vitest/coverage-v8": "^5.0.0",
"esbuild": "^0.28.2",
"eslint": "^10.11.0",
"globals": "^17.12.0",
"prettier": "^3.9.9",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"vitest": "^5.0.0"
},
"dependencies": {
"ignore": "^7.0.5"
},
"overrides": {
"esbuild": "$esbuild"
}
}