-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 2.63 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": "alicorn",
"description": "A Block Based Starter Theme",
"version": "1.0.0",
"license": "GPL-3.0-or-later",
"engines": {
"node": ">=16.0",
"npm": ">=7.0"
},
"devDependencies": {
"@csstools/postcss-sass": "^5.0.1",
"@wordpress/base-styles": "^4.16.0",
"@wordpress/browserslist-config": "^5.8.0",
"@wordpress/postcss-plugins-preset": "^4.9.0",
"@wordpress/scripts": "^25.2.0",
"npm-run-all": "^4.1.5",
"postcss-cli": "^10.1.0",
"rtlcss": "^4.0.0"
},
"rtlcssConfig": {
"options": {
"autoRename": false,
"autoRenameStrict": false,
"blacklist": {},
"clean": true,
"greedy": false,
"processUrls": false,
"stringMap": []
},
"plugins": [],
"map": false
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"scripts": {
"build": "npm-run-all --sequential build:**",
"build:scripts:theme": "wp-scripts build --webpack-src-dir=assets/js/src --output-path=assets/js/build",
"build:styles:theme-stylesheet": "postcss assets/sass/style.scss --output style.css --env production",
"build:styles:theme-stylesheet-rtl": "rtlcss style.css style-rtl.css",
"build:styles:theme-editor": "postcss assets/sass/style-editor.scss --output style-editor.css --env production",
"format:scripts": "npm-run-all --sequential format:scripts:**",
"format:scripts:theme": "wp-scripts format --no-error-on-unmatched-pattern",
"format:styles": "npm-run-all --sequential format:styles:**",
"format:styles:theme": "npm run lint:styles:theme -- --fix",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"lint:readme-md": "wp-scripts lint-md-docs README.md",
"lint:scripts": "npm-run-all --sequential lint:scripts:**",
"lint:scripts:theme": "wp-scripts lint-js --no-error-on-unmatched-pattern",
"lint:styles": "npm-run-all --sequential lint:styles:**",
"lint:styles:theme": "wp-scripts lint-style /**/*.{css,sass,scss} !style.css --allow-empty-input --report-descriptionless-disables --report-invalid-scope-disables --report-needless-disables",
"packages-update": "wp-scripts packages-update",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"start": "npm-run-all --parallel start:**",
"start:scripts:theme": "wp-scripts start --webpack-src-dir=assets/js/src --output-path=assets/js/build",
"start:styles:theme-stylesheet": "postcss assets/sass/style.scss --output style.css --env development --watch --verbose",
"start:styles:theme-editor": "postcss assets/sass/style-editor.scss --output style-editor.css --env development --watch --verbose"
}
}