forked from WordPress/wporg-mu-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.82 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
{
"name": "wporg-mu-plugins",
"version": "0.0.1",
"description": "Over time, this is intended to become the canonical source repository for all `mu-plugins` on the WordPress.org network. At the moment, it only includes a few.",
"repository": {
"type": "git",
"url": "git+https://github.com/WordPress/wporg-mu-plugins.git"
},
"license": "GPL-2.0-or-later",
"private": true,
"bugs": {
"url": "https://github.com/WordPress/wporg-mu-plugins/issues"
},
"dependencies": {},
"devDependencies": {
"@wordpress/browserslist-config": "^4.1.0",
"cssnano": "^5.0.8",
"postcss": "^8.3.7",
"postcss-cli": "^8.3.1",
"postcss-custom-media": "^8.0.0",
"postcss-import": "^14.0.2",
"postcss-nesting": "^8.0.1",
"postcss-preset-env": "^6.7.0",
"postcss-reporter": "^7.0.2",
"rtlcss": "3.5.0"
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"scripts": {
"start": "npm run build:css -- --watch",
"lint:css": "wp-scripts lint-style mu-plugins/blocks/global-header-footer/postcss/**/*.pcss",
"pre-build": "mkdir -p mu-plugins/blocks/global-header-footer/build",
"build": "npm run pre-build && npm run build:css && npm run build:rtl",
"build:css": "postcss mu-plugins/blocks/global-header-footer/postcss/style.pcss --output mu-plugins/blocks/global-header-footer/build/style.css",
"build:rtl": "rtlcss mu-plugins/blocks/global-header-footer/build/style.css mu-plugins/blocks/global-header-footer/build/style-rtl.css"
},
"rtlcssConfig": {},
"stylelint": {
"extends": "@wordpress/stylelint-config",
"rules": {
"max-line-length": null,
"no-duplicate-selectors": null,
"no-descending-specificity": null,
"rule-empty-line-before": [
"always-multi-line",
{
"except": [
"first-nested",
"after-single-line-comment"
]
}
],
"selector-class-pattern": null
}
}
}