forked from 10up/ElasticPress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 5.04 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
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
{
"name": "elasticpress",
"version": "5.1.3",
"license": "GPL-2.0-or-later",
"description": "A fast and flexible search and query engine for WordPress.",
"devDependencies": {
"@4tw/cypress-drag-drop": "^2.2.3",
"@cypress/grep": "^4.0.1",
"@wordpress/env": "^10.4.0",
"10up-toolkit": "^5.2.2",
"classnames": "^2.3.1",
"cypress": "^13.3.1",
"cypress-file-upload": "^5.0.8",
"eslint-plugin-cypress": "^2.12.1",
"husky": "^8.0.3",
"jsdoc": "^3.6.10",
"lint-staged": "^15.0.1",
"postcss-preset-env": "^9.2.0",
"prettier": "^2.6.2",
"terser-webpack-plugin": "^5.3.0",
"wp-hookdoc": "^0.2.0"
},
"scripts": {
"prepare": "husky install",
"start": "composer install --ignore-platform-reqs && npm install && npm run build",
"build": "10up-toolkit build",
"watch": "10up-toolkit start",
"lint-release": "npm install && composer install && npm run lint",
"lint-js": "10up-toolkit lint-js assets/js tests/cypress",
"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",
"build:docs": "rm -rf hook_docs && jsdoc -c hookdoc-conf.json elasticpress.php includes",
"build:zip": "./bin/build-zip.sh",
"lint-style": "10up-toolkit lint-style",
"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 && cd bin/es-docker/ && docker compose build --build-arg ES_VERSION=${ES_VERSION-7.10.2} && docker compose up -d",
"env:stop": "wp-env stop && cd bin/es-docker/ && docker compose down",
"env:reset": "wp-env clean all && npm run env:start && npm run cypress:setup",
"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"
},
"author": "10up",
"repository": {
"type": "git",
"url": "https://github.com/10up/ElasticPress"
},
"engineStrict": true,
"engines": {
"node": ">=18",
"npm": ">=8"
},
"10up-toolkit": {
"entry": {
"autosuggest-script": "./assets/js/autosuggest/index.js",
"blocks-script": "./assets/js/blocks/index.js",
"comments-script": "./assets/js/comments.js",
"comments-block-script": "./assets/js/blocks/comments/index.js",
"dashboard-script": "./assets/js/dashboard.js",
"features-script": "./assets/js/features/index.js",
"facets-script": "./assets/js/facets.js",
"instant-results-script": "./assets/js/instant-results/index.js",
"instant-results-admin-script": "./assets/js/instant-results/admin/index.js",
"notice-script": "./assets/js/notice.js",
"ordering-script": "./assets/js/ordering/index.js",
"facets-block-script": "./assets/js/blocks/facets/taxonomy/index.js",
"facets-meta-block-script": "./assets/js/blocks/facets/meta/index.js",
"facets-meta-range-block-script": "./assets/js/blocks/facets/meta-range/index.js",
"facets-post-type-block-script": "./assets/js/blocks/facets/post-type/index.js",
"facets-meta-range-block-view-script": "./assets/js/blocks/facets/meta-range/view.js",
"facets-date-block-script": "./assets/js/blocks/facets/date/index.js",
"facets-date-block-view-script": "./assets/js/blocks/facets/date/view.js",
"related-posts-block-script": "./assets/js/blocks/related-posts/index.js",
"settings-script": "./assets/js/settings.js",
"sync-script": "./assets/js/sync-ui/index.js",
"sites-admin-script": "./assets/js/sites-admin.js",
"stats-script": "./assets/js/stats.js",
"status-report-script": "./assets/js/status-report/index.js",
"synonyms-script": "./assets/js/synonyms/index.js",
"woocommerce-order-search-script": "./assets/js/woocommerce/admin/orders/index.js",
"admin-script": "./assets/js/admin.js",
"weighting-script": "./assets/js/weighting/index.js",
"search-editor-script": "./assets/js/search/editor/index.js",
"autosuggest-styles": "./assets/css/autosuggest.css",
"comments-styles": "./assets/css/comments.css",
"dashboard-styles": "./assets/css/dashboard.css",
"facets-styles": "./assets/css/facets.css",
"highlighting-styles": "./assets/css/highlighting.css",
"instant-results-styles": "./assets/css/instant-results.css",
"ordering-styles": "./assets/css/ordering.css",
"facets-block-styles": "./assets/css/facets-block.css",
"related-posts-block-styles": "./assets/css/related-posts-block.css",
"synonyms-styles": "./assets/css/synonyms.css",
"woocommerce-order-search-styles": "./assets/css/woocommerce/admin/orders.css"
},
"wpDependencyExternals": true
},
"dependencies": {
"@10up/component-tooltip": "^2.0.0",
"@wordpress/icons": "^9.34.0",
"chart.js": "^2.9.4",
"focus-trap-react": "^8.8.2",
"react-beautiful-dnd": "^11.0.5",
"react-slider": "^2.0.6",
"uuid": "^9.0.0"
},
"overrides": {
"eslint-plugin-jsdoc": "^39.4.0"
}
}