-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.95 KB
/
package.json
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
{
"name": "elasticpress-labs",
"version": "2.3.1",
"description": "ElasticPress Labs",
"author": {
"name": "10up",
"email": "[email protected]",
"url": "https://10up.com",
"role": "developer"
},
"license": "GPL-2.0-or-later",
"scripts": {
"test": "./vendor/bin/phpunit",
"start": "composer install && npm install && npm run build",
"build": "10up-toolkit build",
"watch": "10up-toolkit start",
"build-release": "npm install && composer install --no-dev -o && npm run build",
"build:zip": "./bin/build-zip.sh",
"lint-release": "npm install && composer install && npm run lint",
"lint-style": "10up-toolkit lint-style",
"lint-js": "10up-toolkit lint-js assets/js",
"lint-php": "composer run lint",
"format-js": "10up-toolkit format-js assets/js",
"lint": "npm run lint-style && npm run lint-js && npm run lint-php",
"format": "npm run format-js",
"prepare": "husky",
"es:start": "./bin/install-es-docker.sh start",
"es:stop": "./bin/install-es-docker.sh stop",
"env": "wp-env",
"env:install-tests-cli": "./bin/install-wp-cli.sh tests-wordpress",
"env:start": "wp-env start && npm run env:install-tests-cli && npm run es:start",
"env:stop": "wp-env stop && npm run es:stop",
"cypress:setup": "./bin/setup-cypress-env.sh",
"cypress:open": "cypress open --config-file tests/cypress/config.js",
"cypress:run": "cypress run --config-file tests/cypress/config.js"
},
"repository": {
"type": "git",
"url": "https://github.com/10up/ElasticPressLabs"
},
"devDependencies": {
"@10up/cypress-wp-utils": "^0.4.0",
"@wordpress/env": "^10.15.0",
"10up-toolkit": "^6.3.0",
"cypress": "^13.17.0",
"eslint-plugin-cypress": "^3.6.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.10"
},
"engines": {
"node": ">=20.0.0"
},
"10up-toolkit": {
"entry": {
"admin": "./assets/js/admin/admin.js"
},
"wpDependencyExternals": false
}
}