forked from roots/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.18 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
{
"name": "sage",
"private": true,
"browserslist": [
"extends @roots/browserslist-config"
],
"engines": {
"node": ">=16.0.0"
},
"type": "module",
"scripts": {
"dev": "bud dev",
"build": "bud build",
"lint": "yarn lint:js && yarn lint:css",
"lint:js": "npx eslint resources/scripts",
"lint:css": "npx stylelint \"resources/**/*.{css,scss,vue}\"",
"test": "yarn lint",
"translate": "yarn translate:pot && yarn translate:update",
"translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --include=\"app,resources\"",
"translate:update": "for filename in ./resources/lang/*.po; do msgmerge -U $filename ./resources/lang/sage.pot; done; rm -f ./resources/lang/*.po~",
"translate:compile": "yarn translate:mo && yarn translate:js",
"translate:js": "wp i18n make-json ./resources/lang --pretty-print",
"translate:mo": "wp i18n make-mo ./resources/lang ./resources/lang"
},
"devDependencies": {
"@roots/bud": "6.9.1",
"@roots/bud-eslint": "6.9.1",
"@roots/bud-prettier": "6.9.1",
"@roots/bud-stylelint": "6.9.1",
"@roots/bud-tailwindcss": "6.9.1",
"@roots/eslint-config": "6.9.1",
"@roots/sage": "6.9.1"
}
}