-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.81 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.81 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "elementary-theme",
"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"
},
"overrides": {
"webpack-dev-server": "^5.2.1",
"serialize-javascript": "^7.0.3",
"minimatch": "3.1.3"
},
"dependencies": {
"@wordpress/interactivity": "6.40.0"
},
"devDependencies": {
"@babel/core": "7.29.0",
"@wordpress/babel-preset-default": "8.40.0",
"@wordpress/browserslist-config": "6.40.0",
"@wordpress/env": "^10.39.0",
"@wordpress/eslint-plugin": "24.2.0",
"@wordpress/jest-preset-default": "12.40.0",
"@wordpress/scripts": "31.5.0",
"browserslist": "4.28.1",
"cross-env": "10.1.0",
"css-minimizer-webpack-plugin": "7.0.4",
"eslint": "^9.39.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jest": "29.15.0",
"eslint-plugin-react-hooks": "7.0.1",
"jest-silent-reporter": "0.6.0",
"lint-staged": "16.3.0",
"npm-run-all": "4.1.5",
"webpack-remove-empty-scripts": "1.1.1"
},
"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 --experimental-modules",
"init": "./bin/init.js",
"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": "php vendor/bin/phpcs",
"lint:php:fix": "node ./bin/phpcbf.js",
"lint:package-json": "wp-scripts lint-pkg-json --ignorePath .gitignore",
"lint:staged": "lint-staged",
"prepare": "npm run init",
"start": "wp-scripts start --experimental-modules",
"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",
"pot": "composer run pot"
}
}