-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.88 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.88 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
{
"name": "@peachlife/artisan",
"version": "0.1.4",
"type": "module",
"bin": {
"artisan": "./bin/artisan.mjs"
},
"exports": {
".": {
"types": "./dist/api/types.d.ts",
"import": "./src/api/injection.mjs"
}
},
"scripts": {
"build": "npx biome check src bin examples && npm test && npm run test:dogfood",
"test": "vitest run",
"test:watch": "vitest",
"test:integration": "npm run test:dogfood",
"test:dogfood": "npm run test:dogfood:fixture && npm run test:dogfood:self",
"test:dogfood:fixture": "node bin/artisan.mjs test tests/artisan-dogfood.artisan.test.mjs",
"test:dogfood:self": "node bin/artisan.mjs test tests/artisan-self.artisan.test.mjs --artifact ./bin/artisan.mjs --distros debian:stable-slim,alpine:latest,archlinux/archlinux:latest",
"test:all": "npm run test && npm run test:integration && npm run test:dogfood && npm run test:dogfood:fixture && npm run test:dogfood:self",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"lint:dup": "jscpd",
"lint:arch": "depcruise src --config .dependency-cruiser.cjs",
"lint:dead": "knip --include-entry-exports",
"lint:secrets": "gitleaks detect --redact --source .",
"lint:sbom": "cyclonedx-npm --output-file ./sbom.cdx.json --output-format json",
"lint:semgrep": "semgrep ci --config p/javascript --config p/security-audit",
"typecheck": "tsc --noEmit --allowImportingTsExtensions --allowJs --checkJs false --noResolve --skipLibCheck --module nodenext --moduleResolution nodenext --target esnext src/**/*.mjs bin/**/*.mjs || true",
"lint:all": "npm run lint && npm run eslint && npm run lint:dup && npm run lint:arch && npm run lint:dead",
"fix:all": "biome check --write . && eslint . --fix && knip --fix",
"ci": "npm run lint:all && npm run lint:secrets && npm run lint:semgrep && npm run lint:sbom && npm run test:all"
},
"lint-staged": {
"*.mjs": [
"biome check --write",
"eslint --fix",
"eslint"
]
},
"dependencies": {
"commander": "^15.0.0",
"execa": "^9.6.1",
"fast-glob": "^3.3.3",
"minimatch": "^10.2.5",
"testcontainers": "^12.0.3"
},
"peerDependencies": {
"vitest": "^4.0.0"
},
"devDependencies": {
"@biomejs/biome": "^2.5.1",
"@cyclonedx/cyclonedx-npm": "^5.0.0",
"@eslint/js": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^8.62.0",
"@typescript-eslint/parser": "^8.62.0",
"dependency-cruiser": "^18.0.0",
"eslint": "^10.5.0",
"eslint-plugin-security": "^4.0.1",
"eslint-plugin-sonarjs": "^4.1.0",
"eslint-plugin-unicorn": "^69.0.0",
"jscpd": "^5.0.11",
"knip": "^6.21.0",
"lint-staged": "^17.0.8",
"vitest": "^4.1.9"
},
"files": [
"src",
"bin",
"dist",
"templates"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=22"
},
"allowScripts": {
"cpu-features@0.0.10": true,
"fsevents@2.3.3": true,
"protobufjs@7.6.4": true,
"ssh2@1.17.0": true
}
}