-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 2.59 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
{
"name": "doppio-coffee",
"version": "1.0.0",
"description": "A starter theme that facilitates a quick head start for developing new block-based themes along with a bunch of developer-friendly features.",
"private": true,
"author": "rtCamp",
"license": "GPL-2.0-or-later",
"keywords": [
"rtcamp",
"wp-theme",
"block-theme"
],
"homepage": "https://github.com/rtCamp/theme-elementary#readme",
"repository": {
"type": "git",
"url": "https://github.com/rtCamp/theme-elementary.git"
},
"bugs": {
"url": "https://github.com/rtCamp/theme-elementary/issues"
},
"devDependencies": {
"@babel/core": "7.23.7",
"@wordpress/babel-preset-default": "7.32.0",
"@wordpress/browserslist-config": "5.31.0",
"@wordpress/env": "9.0.0",
"@wordpress/eslint-plugin": "17.5.0",
"@wordpress/jest-preset-default": "11.19.0",
"@wordpress/scripts": "26.19.0",
"browserslist": "4.22.2",
"cross-env": "7.0.3",
"css-minimizer-webpack-plugin": "5.0.1",
"eslint": "8.56.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.6.1",
"husky": "8.0.3",
"jest-silent-reporter": "0.5.0",
"lint-staged": "15.2.0",
"npm-run-all": "4.1.5",
"webpack-remove-empty-scripts": "1.0.4"
},
"scripts": {
"build:dev": "cross-env NODE_ENV=development npm-run-all 'build:!(dev|prod)'",
"build:prod": "cross-env NODE_ENV=production npm-run-all 'build:!(dev|prod)'",
"build:js": "wp-scripts build",
"init": "./bin/init.js && composer dump-autoload",
"lint:all": "npm-run-all --parallel lint:*",
"lint:css": "wp-scripts lint-style ./assets/src",
"lint:css:fix": "npm run lint:css -- --fix ./assets/src",
"lint:js": "wp-scripts lint-js ./assets/src",
"lint:js:fix": "npm run lint:js -- --fix ./assets/src",
"lint:js:report": "npm run lint:js -- --output-file lint-js-report.json --format json .",
"lint:php": "vendor/bin/phpcs",
"lint:php:fix": "./bin/phpcbf.sh",
"lint:package-json": "wp-scripts lint-pkg-json --ignorePath .gitignore",
"lint:staged": "lint-staged",
"prepare": "npm run init && ./bin/git-init.sh && husky install",
"start": "wp-scripts start",
"test": "npm-run-all --parallel test:*",
"test:js": "wp-scripts test-unit-js --config=tests/js/jest.config.js --passWithNoTests",
"test:js:watch": "npm run test:js -- --watch",
"pretest:php": "wp-env run cli --env-cwd=/var/www/html/wp-content/themes/$(basename $(pwd)) composer install --no-interaction --no-scripts",
"test:php": "wp-env run cli --env-cwd=/var/www/html/wp-content/themes/$(basename $(pwd)) composer exec 'phpunit --do-not-cache-result --verbose'",
"wp-env": "wp-env"
}
}