-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 4.14 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 4.14 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
{
"name": "spotmap",
"version": "1.0.0-rc.4",
"description": "[ ](https://wordpress.org/plugins/spotmap/)",
"author": "Timo Giese",
"license": "GPL-2.0-or-later",
"keywords": [],
"homepage": "https://github.com/techtimo/Spotmap#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/techtimo/Spotmap.git"
},
"bugs": {
"url": "https://github.com/techtimo/Spotmap/issues"
},
"main": "index.js",
"files": [
"admin",
"build",
"config",
"includes",
"languages",
"public",
"vendor-prefixed",
"spotmap.php"
],
"dependencies": {
"@fortawesome/fontawesome-free": "^7.2.0",
"@types/mustache": "^4.2.6",
"@wordpress/dataviews": "^14.1.0",
"beautifymarker": "^1.0.9",
"leaflet": "^1.9.4",
"leaflet-easybutton": "^2.4.0",
"leaflet-gpx": "^2.2.0",
"leaflet-textpath": "^1.3.0",
"leaflet-tilelayer-swiss": "^2.2.1",
"leaflet.fullscreen": "^5.3.1",
"mustache": "^4.2.0"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@playwright/test": "^1.59.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/leaflet": "^1.9.21",
"@wordpress/api-fetch": "^7.43.0",
"@wordpress/components": "^32.4.0",
"@wordpress/data": "*",
"@wordpress/env": "^10.39.0",
"@wordpress/i18n": "^6.15.0",
"@wordpress/icons": "^12.2.0",
"@wordpress/scripts": "^32.0.0",
"dotenv": "^17.4.2",
"svg2img": "^1.0.0-beta.2",
"ts-loader": "^9.5.7",
"typescript": "^5.9.3"
},
"scripts": {
"build": "wp-scripts build --webpack-src-dir=src",
"start": "wp-scripts start --webpack-src-dir=src",
"wp-env": "wp-env",
"env:start": "wp-env start --debug",
"env:setup": "node examples/setup-dev.js",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"env:logs": "wp-env run wordpress bash -c \"tail -Fn0 /var/www/html/wp-content/debug.log\"",
"api-hook": "wp-env run cli wp cron event run spotmap_api_crawler_hook --due-now",
"api-hook:garmin": "wp-env run cli wp cron event run spotmap_garmin_crawler_hook --due-now",
"format": "wp-scripts format",
"format:php": "wp-env run cli --env-cwd=wp-content/plugins/Spotmap sh -c \"composer run format\"",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:php": "wp-env run cli --env-cwd=wp-content/plugins/Spotmap sh -c \"composer run lint\"",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"lint:md:docs": "wp-scripts lint-md-docs",
"test:js": "wp-scripts test-unit-js",
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/Spotmap sh -c \"XDEBUG_MODE=off composer run test\"",
"test:e2e": "playwright test",
"check-licenses": "wp-scripts check-licenses --ignore=@fortawesome/fontawesome-free",
"packages-update": "wp-scripts packages-update",
"version:bump": "node scripts/bump-version.js",
"plugin-zip": "npm run build && npm run composer -- install --no-dev --optimize-autoloader && wp-scripts plugin-zip && node -e \"const fs=require('fs'),{execSync}=require('child_process');const v=fs.readFileSync('spotmap.php','utf8').match(/Version:\\s+(\\S+)/)[1];fs.renameSync('spotmap.zip',`spotmap-${v}.zip`);console.log(`Created spotmap-${v}.zip`);\"",
"composer": "wp-env run cli --env-cwd=wp-content/plugins/Spotmap composer"
},
"overrides": {
"serialize-javascript": "^7.0.3",
"minimatch": "^9.0.7",
"eslint-plugin-jsx-a11y": {
"minimatch": "^3.1.2"
},
"glob": "^10.5.0",
"phin": "^3.7.1",
"babel-plugin-istanbul": "^8.0.0"
}
}