-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.39 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 2.39 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
{
"name": "classifai",
"version": "3.8.0",
"license": "GPL-2.0-or-later",
"repository": "https://github.com/10up/classifai/",
"description": "Enhance your WordPress content with Artificial Intelligence and Machine Learning services.",
"scripts": {
"start": "wp-scripts start",
"build": "wp-scripts build",
"lint:js": "wp-scripts lint-js ./src ./includes/Classifai/Blocks",
"lint:js-fix": "wp-scripts lint-js ./src ./includes/Classifai/Blocks --fix",
"install_tests": "./bin/install-wp-tests.sh classifai_unit_tests root password 127.0.0.1",
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/classifai vendor/bin/phpunit -c phpunit.xml.dist",
"test:e2e": "cypress run --browser chrome --config-file tests/cypress/config.config.js",
"makepot": "wpi18n makepot && echo '.pot file updated'",
"prebuild:docs": "cp ./CHANGELOG.md ./wp-hooks-docs/docs/01.get-started/05.CHANGELOG.md",
"build:docs": "rm -rf docs && wp-hooks-documentor generate",
"cypress:open": "cypress open --config-file tests/cypress/config.config.js",
"cypress:run": "cypress run --browser chrome --config-file tests/cypress/config.config.js",
"env": "wp-env",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"archive": "composer archive --file=$npm_package_name --format=zip",
"postarchive": "rm -rf ./release && unzip $npm_package_name.zip -d ./release",
"prepare": "husky install"
},
"lint-staged": {
"*.php": [
"./vendor/bin/phpcs --extensions=php --warning-severity=8 -s --runtime-set testVersion 7.4"
]
},
"author": {
"name": "10up",
"email": "opensource@10up.com",
"url": "https://10up.com",
"role": "developer"
},
"devDependencies": {
"@10up/cypress-wp-utils": "^0.6.0",
"@types/wordpress__blocks": "^12.5.18",
"@wordpress/env": "^10.38.0",
"@wordpress/scripts": "^31.3.0",
"cypress": "^15.8.2",
"cypress-file-upload": "^5.0.8",
"cypress-mochawesome-reporter": "^4.0.2",
"cypress-plugin-tab": "^1.0.5",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"node-wp-i18n": "^1.2.8",
"wp-hooks-documentor": "github:10up/wp-hooks-documentor#build"
},
"dependencies": {
"@wordpress/icons": "^11.4.0",
"choices.js": "^11.1.0",
"classnames": "^2.5.1",
"motion": "^12.24.7",
"react-router-dom": "^7.12.0",
"tippy.js": "^6.3.7"
}
}