Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 2.82 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 2.82 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
{
"name": "Waymark",
"version": "1.8.2",
"description": "Waymark for WordPress",
"author": "Joe Hawes",
"main": "Gruntfile.js",
"scripts": {
"dev": "wp-env start && printf '\\n────────────────────────────────────\\n MySQL 127.0.0.1 root / password\\n Admin http://localhost:8888/wp-admin admin / password\\n────────────────────────────────────\\n' && npm run grunt:watch",
"grunt": "grunt build",
"grunt:watch": "grunt watch",
"i18n:check": "node scripts/i18n-check.mjs",
"dist": "bash scripts/dist.sh",
"test": "npm run test:js && npm run test:php && npm run test:e2e",
"test:js": "vitest run",
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/waymark-wp phpunit",
"test:php:lint": "wp-env run tests-cli bash -c 'cd wp-content/plugins/waymark-wp && find . -name \"*.php\" -not -path \"./node_modules/*\" -print0 | xargs -0 -n1 php -l'",
"test:php:setup": "wp-env run tests-cli bash -c 'composer global require --no-interaction --with-all-dependencies phpunit/phpunit:^9.6 yoast/phpunit-polyfills:^2.0'",
"test:e2e": "playwright test",
"readme:check": "node scripts/readme-assets.js check",
"screenshots": "WAYMARK_SCREENSHOTS=1 playwright test tests/e2e/screenshots.spec.js && node tests/e2e/screenshots.js publish && npm run readme:check",
"screenshots:check": "WAYMARK_SCREENSHOTS=1 playwright test tests/e2e/screenshots.spec.js && node tests/e2e/screenshots.js check && npm run readme:check",
"video": "sh -c 'set -e; s=\"${1:-changing-basemaps}\"; case \"$s\" in *.json) p=\"$s\"; id=$(basename \"$s\" .json) ;; *) id=\"$s\"; p=\"scripts/video/scenarios/$s.json\" ;; esac; node scripts/video/tts.mjs \"$id\" && node scripts/video/record.mjs \"$p\" && node scripts/video/build.mjs \"$id\" && node scripts/video/validate.mjs' --",
"video:tts": "node scripts/video/tts.mjs",
"video:record": "node scripts/video/record.mjs",
"video:build": "node scripts/video/build.mjs",
"video:validate": "node scripts/video/validate.mjs",
"video:audit": "node scripts/video/audit.mjs",
"video:doctor": "node scripts/video/doctor.mjs",
"video:new": "node scripts/video/new.mjs"
},
"devDependencies": {
"@playwright/test": "^1.63.0",
"@wordpress/env": "^11.8.0",
"d3": "5.15.0",
"dompurify": "^3.4.16",
"grunt": "^1.5.3",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^3.0.0",
"grunt-contrib-less": "^2.1.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-terser": "^1.0.0",
"grunt-wp-i18n": "^1.0.3",
"grunt-wp-readme-to-markdown": "^2.1.0",
"jquery": "^3.7.1",
"jsdom": "^27.4.0",
"prettier": "^3.1.1",
"vitest": "^4.1.11"
}
}