-
-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 5.64 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 5.64 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"version": "2.15.1",
"name": "ultimate-multisite",
"title": "Ultimate Multisite",
"homepage": "https://ultimatemultisite.com/",
"authors": [
{
"name": "David Stone",
"email": "david@ultimatemultisite.com"
}
],
"repository": {
"type": "git",
"url": "https://github.com/Ultimate-Multisite/ultimate-multisite.git"
},
"engines": {
"node": ">=22.0.0 <23"
},
"packageManager": "pnpm@11.20.0",
"devDependencies": {
"@eslint/js": "^9.39.2",
"@wordpress/env": "^10.27.0",
"@wordpress/eslint-plugin": "^23.0.0",
"@wordpress/stylelint-config": "^23.29.0",
"clean-css-cli": "^5.6.3",
"cypress": "^14.5.4",
"cypress-mailpit": "^1.4.0",
"eslint": "^8.57.1",
"glob": "^10.5.0",
"globals": "^16.5.0",
"lint-staged": "^16.2.7",
"stylelint": "^16.26.1",
"stylelint-config-standard": "^39.0.1",
"uglify-js": "^3.19.3",
"v-money": "0.8.1",
"vue": "2.7.16",
"vue-apexcharts": "1.7.0",
"vue-the-mask": "0.11.1",
"vuedraggable": "2.24.3"
},
"config": {
"translate": true
},
"scripts": {
"prebuild": "pnpm run makepot && composer install -o --no-dev",
"prebuild:dev": "composer install",
"copylibs": "node scripts/copy-libs.js",
"build:vue": "node scripts/build-vue.js",
"build": "pnpm run copylibs && pnpm run build:vue && pnpm run uglify && pnpm run cleancss && pnpm run generate:hooks",
"postbuild": "pnpm run archive",
"generate:hooks": "php inc/documentation/generate-berlindb-hooks.php",
"build:dev": "pnpm run copylibs && pnpm run build:vue && pnpm run uglify && pnpm run cleancss && pnpm run makepot && pnpm run generate:hooks",
"build:translate": "pnpm run copylibs && pnpm run build:vue && pnpm run uglify && pnpm run cleancss && pnpm run makepot && pnpm run translate",
"prearchive": "php encrypt-secrets.php",
"archive": "node scripts/archive.js",
"preuglify": "node scripts/clean-js.js",
"uglify": "node scripts/uglify.js",
"precleancss": "node scripts/clean-css.js",
"cleancss": "node scripts/cleancss.js",
"makepot": "node scripts/makepot.js",
"test": "vendor/bin/phpunit",
"test:coverage": "php -d zend_extension=xdebug -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html=coverage-html --coverage-clover=coverage.xml --coverage-text",
"test:watch": "echo 'PHPUnit --watch is not supported in this project (PHPUnit 9). Use: vendor/bin/phpunit --filter ClassName' && exit 1",
"lint": "pnpm run lint:php && pnpm run lint:js && pnpm run lint:css",
"lint:php": "vendor/bin/phpcs",
"lint:php:fix": "vendor/bin/phpcbf || true",
"lint:js": "eslint assets/js --ext .js --ignore-pattern '*.min.js'",
"lint:js:fix": "eslint assets/js --ext .js --ignore-pattern '*.min.js' --fix",
"lint:css": "stylelint 'assets/css/**/*.css' --ignore-pattern '*.min.css'",
"lint:css:fix": "stylelint 'assets/css/**/*.css' --ignore-pattern '*.min.css' --fix",
"lint:fix": "pnpm run lint:php:fix && pnpm run lint:js:fix && pnpm run lint:css:fix",
"stan": "vendor/bin/phpstan analyse",
"quality": "pnpm run lint && pnpm run stan",
"quality:fix": "pnpm run lint:fix && pnpm run stan",
"check": "pnpm run lint && pnpm run stan && pnpm test",
"dev:install": "pnpm run install:deps && pnpm run setup:hooks",
"install:deps": "pnpm run install:composer && pnpm run install:pnpm",
"install:composer": "composer install",
"install:pnpm": "pnpm install",
"setup:hooks": "bash bin/setup-hooks.sh",
"dev:setup": "pnpm run install:deps && pnpm run setup:hooks",
"clean": "pnpm run clean:coverage && pnpm run clean:cache",
"clean:coverage": "rm -rf coverage-html coverage.xml",
"clean:cache": "rm -f .phpunit.result.cache && rm -rf node_modules/.cache",
"translate": "php scripts/translate.php",
"translate:force": "php scripts/translate.php --force",
"env:fix-perms": "docker run --rm -v \"$HOME/.wp-env:/wp-env\" alpine chown -R \"$(id -u):$(id -g)\" /wp-env || true",
"env:start": "pnpm run env:fix-perms && wp-env start",
"env:stop": "wp-env stop",
"env:clean": "wp-env clean all",
"env:destroy": "wp-env destroy all",
"env:start:dev": "wp-env start --env=development",
"env:start:test": "wp-env start --env=tests",
"cy:open:launch:dev": "cypress open -b chrome --config-file cypress.config.dev.js",
"cy:run:launch:dev": "cypress run -b chrome --config-file cypress.config.dev.js",
"cy:open:launch:test": "cypress open -b chrome --config-file cypress.config.test.js",
"cy:run:launch:test": "cypress run -b chrome --config-file cypress.config.test.js",
"cy:open:dev": "pnpm run env:destroy && pnpm run env:start:dev && pnpm run cy:open:launch:dev",
"cy:run:dev": "pnpm run env:destroy && pnpm run env:start:dev && pnpm run cy:run:launch:dev",
"cy:open:test": "pnpm run env:destroy && pnpm run env:start:test && pnpm run cy:open:launch:test",
"cy:run:test": "pnpm run env:destroy && pnpm run env:start:test && pnpm run cy:run:launch:test",
"env:run:all": "bash ./bin/docker-up.sh",
"env:run:stop": "bash ./bin/docker-down.sh"
},
"dependencies": {
"apexcharts": "^5.2.0",
"shepherd.js": "^14.5.0"
},
"overrides": {
"@babel/core": "7.29.6",
"glob": "^10.5.0",
"js-yaml": "4.3.0",
"minimatch@^3": "3.1.4",
"minimatch@^9": "9.0.9",
"picomatch": "4.0.4",
"postcss": "8.5.10",
"qs": "6.15.3",
"simple-git": "3.36.0",
"shell-quote": "1.8.4",
"tmp": "0.2.7",
"uuid": "11.1.1"
},
"lint-staged": {
"assets/js/**/*.js": [
"eslint --fix --ignore-pattern '*.min.js'"
],
"assets/css/**/*.css": [
"stylelint --fix --ignore-pattern '*.min.css'"
]
}
}