-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (85 loc) · 5.68 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (85 loc) · 5.68 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "a8csp-project-template",
"version": "1.0.0",
"private": true,
"description": "A template repository for A8C Special Projects full-site builds.",
"author": {
"name": "A8C Special Projects",
"url": "https://specialprojects.automattic.com/"
},
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress"
],
"homepage": "https://github.com/a8cteam51/a8csp-project-template",
"repository": "https://github.com/a8cteam51/a8csp-project-template",
"bugs": "https://github.com/a8cteam51/a8csp-project-template/issues",
"engines": {
"node": ">=26",
"npm": ">=11"
},
"devDependencies": {
"@a8csp/configs": "github:a8cteam51/a8csp-configs#trunk",
"@playwright/test": "^1.61.1",
"@wordpress/browserslist-config": "^6.52.0",
"@wordpress/components": "^38.0.0",
"@wordpress/data": "^10.52.0",
"@wordpress/e2e-test-utils-playwright": "^1.52.0",
"@wordpress/editor": "^14.52.0",
"@wordpress/env": "^11.12.0",
"@wordpress/i18n": "^6.25.0",
"@wordpress/plugins": "^7.52.0",
"@wordpress/scripts": "^34.0.0",
"npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.1",
"rtlcss": "^4.0.0",
"sass": "^1.77.0"
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"scripts": {
"packages-install": "npm install",
"packages-update": "npm update",
"packages-update:wp": "wp-scripts packages-update --dist-tag=latest",
"build": "NODE_ENV=production npm-run-all --sequential build:theme:** build:features:**",
"build:theme:style": "sass themes/a8csp-project-template/assets/sass/style.scss themes/a8csp-project-template/style.css && postcss themes/a8csp-project-template/style.css --replace",
"build:theme:style-rtl": "rtlcss themes/a8csp-project-template/style.css themes/a8csp-project-template/style-rtl.css",
"build:theme:style-editor": "sass themes/a8csp-project-template/assets/sass/style-editor.scss themes/a8csp-project-template/style-editor.css && postcss themes/a8csp-project-template/style-editor.css --replace",
"build:theme:scripts": "wp-scripts build themes/a8csp-project-template/assets/js/src/index.js --output-path=themes/a8csp-project-template/assets/js/build",
"build:theme:css": "sass themes/a8csp-project-template/assets/css/src:themes/a8csp-project-template/assets/css/build && postcss themes/a8csp-project-template/assets/css/build/*.css --replace",
"build:features:css": "sass mu-plugins/a8csp-project-template-features/assets/css/src:mu-plugins/a8csp-project-template-features/assets/css/build && postcss mu-plugins/a8csp-project-template-features/assets/css/build/*.css --replace",
"build:features:scripts": "wp-scripts build mu-plugins/a8csp-project-template-features/assets/js/src/book-cover-reminder.js --output-path=mu-plugins/a8csp-project-template-features/assets/js/build",
"start": "npm-run-all --parallel start:theme:** start:features:**",
"start:theme:style": "sass --watch themes/a8csp-project-template/assets/sass/style.scss:themes/a8csp-project-template/style.css",
"start:theme:style-editor": "sass --watch themes/a8csp-project-template/assets/sass/style-editor.scss:themes/a8csp-project-template/style-editor.css",
"start:theme:scripts": "wp-scripts start themes/a8csp-project-template/assets/js/src/index.js --output-path=themes/a8csp-project-template/assets/js/build",
"start:theme:css": "sass --watch themes/a8csp-project-template/assets/css/src:themes/a8csp-project-template/assets/css/build",
"start:features:css": "sass --watch mu-plugins/a8csp-project-template-features/assets/css/src:mu-plugins/a8csp-project-template-features/assets/css/build",
"start:features:scripts": "wp-scripts start mu-plugins/a8csp-project-template-features/assets/js/src/book-cover-reminder.js --output-path=mu-plugins/a8csp-project-template-features/assets/js/build",
"format": "npm-run-all --sequential format:**",
"format:scripts": "wp-scripts format themes/a8csp-project-template/assets/js/src mu-plugins/a8csp-project-template-features/assets/js/src --no-error-on-unmatched-pattern",
"format:styles": "npm run lint:styles -- --fix",
"lint": "npm-run-all --sequential lint:**",
"lint:scripts": "wp-scripts lint-js themes/a8csp-project-template/assets/js/src mu-plugins/a8csp-project-template-features/assets/js/src .github/workflows/fill-in-scaffold.mjs .github/workflows/fill-in-scaffold-content.mjs playwright.config.js tests/EndToEnd --no-error-on-unmatched-pattern",
"lint:styles": "wp-scripts lint-style themes/a8csp-project-template/assets/sass/**/*.{css,scss} themes/a8csp-project-template/assets/css/src/**/*.{css,scss} mu-plugins/a8csp-project-template-features/assets/css/src/**/*.{css,scss} --allow-empty-input --report-descriptionless-disables --report-invalid-scope-disables --report-needless-disables",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"lint:readme-md": "wp-scripts lint-md-docs README.md",
"wp-env:start": "wp-env start",
"wp-env:update": "wp-env start --update",
"wp-env:stop": "wp-env stop",
"wp-env:destroy": "wp-env destroy",
"wp-env:tests:start": "wp-env --config .wp-env.tests.json start",
"wp-env:tests:stop": "wp-env --config .wp-env.tests.json stop",
"wp-env:tests:destroy": "wp-env --config .wp-env.tests.json destroy",
"audit": "composer audit --abandoned=report && npm audit --audit-level=critical",
"audit:fix": "npm audit fix",
"check:engines": "wp-scripts check-engines",
"check:licenses": "wp-scripts check-licenses",
"test:integration": "wp-env --config .wp-env.tests.json run cli --env-cwd=wp-content/project vendor/bin/phpunit --testsuite=Integration",
"test:e2e": "playwright test --config=playwright.config.js"
},
"overrides": {
"serialize-javascript": "^7.0.5"
}
}