-
-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 4.59 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 4.59 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
{
"version": "2.4.13-beta.1",
"name": "ultimate-multisite",
"title": "Ultimate Multisite",
"homepage": "https://ultimatemultisite.com/",
"authors": [
{
"name": "David Stone",
"email": "david@ultimatemultisite.com"
}
],
"repository": {
"type": "git",
"url": "git://github.com/superdav/wp-multisite-waas.git"
},
"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",
"globals": "^16.5.0",
"lint-staged": "^16.2.7",
"npm-run-all": "^4.1.5",
"stylelint": "^16.26.1",
"stylelint-config-standard": "^39.0.1",
"uglify-js": "^3.19.3"
},
"config": {
"translate": true
},
"scripts": {
"prebuild": "npm run makepot && composer install -o --no-dev",
"prebuild:dev": "composer install",
"copylibs": "node scripts/copy-libs.js",
"build": "npm-run-all --parallel copylibs uglify cleancss generate:hooks",
"postbuild": "npm run archive",
"generate:hooks": "php inc/documentation/generate-berlindb-hooks.php",
"build:dev": "npm run copylibs && npm run uglify && npm run cleancss && npm run makepot && npm run generate:hooks",
"build:translate": "npm run copylibs && npm run uglify && npm run cleancss && npm run makepot && npm 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": "vendor/bin/phpunit --watch",
"lint": "run-p lint:php lint:js lint:css",
"lint:php": "vendor/bin/phpcs",
"lint:php:fix": "vendor/bin/phpcbf",
"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": "run-p lint:php:fix lint:js:fix lint:css:fix",
"stan": "vendor/bin/phpstan analyse",
"quality": "run-s lint stan",
"quality:fix": "run-s lint:fix stan",
"check": "run-s lint stan test",
"dev:install": "run-s install:deps setup:hooks",
"install:deps": "run-p install:composer install:npm",
"install:composer": "composer install",
"install:npm": "npm install",
"setup:hooks": "bash bin/setup-hooks.sh",
"dev:setup": "run-s install:deps setup:hooks",
"clean": "run-p clean:coverage 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": "npm 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": "run-s env:destroy env:start:dev cy:open:launch:dev",
"cy:run:dev": "run-s env:destroy env:start:dev cy:run:launch:dev",
"cy:open:test": "run-s env:destroy env:start:test cy:open:launch:test",
"cy:run:test": "run-s env:destroy env:start:test 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"
},
"lint-staged": {
"assets/js/**/*.js": [
"eslint --fix --ignore-pattern '*.min.js'"
],
"assets/css/**/*.css": [
"stylelint --fix --ignore-pattern '*.min.css'"
]
}
}