-
Notifications
You must be signed in to change notification settings - Fork 52
/
package.json
60 lines (60 loc) · 2.15 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
{
"name": "classifai",
"version": "3.1.1",
"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": "./vendor/bin/phpunit",
"tests:e2e": "./vendor/bin/wpacceptance run",
"makepot": "wpi18n makepot && echo '.pot file updated'",
"build:docs": "rm -rf docs && jsdoc -c hookdoc-conf.json classifai.php includes",
"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": "[email protected]",
"url": "https://10up.com",
"role": "developer"
},
"devDependencies": {
"@10up/cypress-wp-utils": "^0.4.0",
"@wordpress/env": "^10.8.0",
"@wordpress/scripts": "27.9.0",
"cypress": "^13.15.0",
"cypress-file-upload": "^5.0.8",
"cypress-mochawesome-reporter": "^3.8.2",
"cypress-plugin-tab": "^1.0.5",
"husky": "^8.0.3",
"jsdoc": "^4.0.3",
"lint-staged": "^15.2.10",
"mochawesome-json-to-md": "^0.7.2",
"node-wp-i18n": "^1.2.7",
"svg-react-loader": "^0.4.6",
"taffydb": "2.7.3",
"wp-hookdoc": "^0.2.0"
},
"dependencies": {
"@wordpress/icons": "^10.8.0",
"choices.js": "^10.2.0",
"tippy.js": "^6.3.7"
}
}