-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 3.48 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 3.48 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
{
"name": "ghostmaxxing",
"version": "1.0.0",
"description": "Web AR laboratory for testing adversarial makeup and anti-biometric facial camouflage in the browser.",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "commonjs",
"homepage": "https://ghostmaxxing.vecna.eu/",
"repository": {
"type": "git",
"url": "git+https://github.com/vecna/ghostmaxxing.git"
},
"bugs": {
"url": "https://github.com/vecna/ghostmaxxing/issues"
},
"keywords": [
"ghostmaxxing",
"adversarial-makeup",
"anti-biometric",
"computer-vision",
"face-recognition",
"cv-dazzle",
"web-ar",
"ghostyles"
],
"author": "Vecna",
"scripts": {
"start": "http-server . -p 8080 -c-1 -o /lab.html",
"serve": "http-server . -p 8080 -c-1",
"serve:site": "http-server . -p 8080 -c-1 -o /index.html",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "vitest run",
"test:unit:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"docs": "jsdoc -c jsdoc.clean.json",
"docs:clean": "node -e \"require('node:fs').rmSync('docs/jsdoc', { recursive: true, force: true })\"",
"docs:rebuild": "npm run docs:clean && npm run docs",
"validate:ghostyle": "node scripts-dev/validate-plugin.js",
"validate-plugin": "npm run validate:ghostyle --",
"validate:ghostyles": "node -e \"const fs=require('node:fs'); const cp=require('node:child_process'); const files=fs.readdirSync('ghostyles').filter((f)=>f.endsWith('.js')).sort(); for (const f of files) cp.execFileSync(process.execPath, ['scripts-dev/validate-plugin.js', 'ghostyles/'+f], { stdio: 'inherit' });\"",
"update:coverage-badge": "node scripts-dev/update-coverage-badge.js",
"update:references": "node references/build-references-page.js",
"i18n:extract": "node scripts-dev/extract-i18n-pot.cjs",
"install": "npm update:references; npm run docs:rebuild; node scripts-dev/install-client-interface.cjs",
"check": "npm run validate:ghostyles && npm run test:unit",
"prepare:e2e": "playwright install chromium",
"c2p": "code2prompt . --no-ignore --include '*.html,*.css,*.js,*.cjs,*.json,*.md,*.d.ts,*.xml,**/*.html,**/*.css,**/*.js,**/*.cjs,**/*.json,**/*.md,**/*.d.ts,**/*.xml' --exclude 'node_modules/**,package-lock.json,CODE2PROMPT*.txt,.DS_Store,**/.DS_Store,tests/**/*.js,tests/**/*.jpg,tests/**/*.mjpeg,scripts/i18n.js,scripts-dev/extract-i18n-pot.cjs,scripts/vendor/README.md,scripts/vendor/**/*.js,scripts/vendor/**/*.json,scripts/vendor/**/*.wasm,scripts/vendor/**/*.task,scripts/vendor/**/*.tflite,scripts/vendor/**/*-shard*,scripts/vendor/foca.sh,styles/vendor/README.md,styles/vendor/**/*.css,styles/vendor/**/*.woff2,docs/jsdoc/**,coverage/**/*.html,coverage/**/*.js,coverage/**/*.css,coverage/**/*.json,coverage/**/*.info,coverage/**/*.png,playwright-report/**/*.html,test-results/**/*.json,images/**/*.svg,images/**/*.png,images/**/*.webp,data/**/*.json,translations/README.md,translations/**/*.pot,translations/**/*.csv,references/index.html,references/*.js,references/*.txt' --sort name_asc --output-format markdown -O \"CODE2PROMPT-$(date +%Y-%m-%d).txt\""
},
"devDependencies": {
"@playwright/test": "^1.60.0",
"@vitest/coverage-v8": "^4.1.8",
"canvas": "^3.2.3",
"clean-jsdoc-theme": "^5.0.2",
"http-server": "^14.1.1",
"jsdoc": "^4.0.5",
"jsdom": "^29.1.1",
"vite": "^8.0.16",
"vitest": "^4.1.8"
},
"engines": {
"node": ">=18"
}
}