-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 2.06 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
{
"name": "ankur",
"version": "1.1.1",
"description": "WordPress block theme supporting full site editing",
"scripts": {
"lint:css": "wp-scripts lint-style \"src/**/*.scss\"",
"prettier:check": "prettier --check \"{inc,parts,patterns,src,styles,templates}/**/*.+(html|scss)\"",
"prettier:write": "prettier --write \"{inc,parts,patterns,src,styles,templates}/**/*.+(html|scss)\"",
"lint:php": "cross-env ./vendor/bin/phpcs --warning-severity=0 ./",
"lint:php:fix": "php ./vendor/bin/phpcbf --ignore=*/build/*,*/node_modules/*,*/vendor/* ./",
"lint": "npm run lint:css && npm run prettier:check && npm run lint:php",
"fix": "npm run prettier:write && npm run phpcb",
"clean": "rimraf \"./assets\" \"./build\" \"ankur.pot\"",
"build": "npm run lint && npm run clean && wp-scripts build && npm run i18n",
"mkdir:build": "mkdirp build",
"copy": "copyfiles assets/**/* inc/**/* parts/**/* patterns/**/* src/**/* styles/**/* templates/**/* *.php readme.txt screenshot.jpg style.css theme.json ankur.pot build/ankur",
"zip": "cd build && bestzip ankur.zip ankur",
"export": "npm run mkdir:build && npm run copy && npm run zip",
"i18n:textdomain": "wpi18n addtextdomain --exclude=node_modules,vendor",
"i18n:pot": "wpi18n makepot",
"i18n": "npm run i18n:textdomain && npm run i18n:pot"
},
"repository": {
"type": "git",
"url": "git+https://github.com/peiche/ankur.git"
},
"author": "Paul Eiche <[email protected]>",
"license": "GPL-2.0-or-later",
"bugs": {
"url": "https://github.com/peiche/ankur/issues"
},
"homepage": "https://boldoak.design/ankur",
"devDependencies": {
"@wordpress/prettier-config": "^2.20.0",
"@wordpress/scripts": "^29.0.0",
"bestzip": "^2.2.1",
"copyfiles": "^2.4.1",
"mini-css-extract-plugin": "^2.6.0",
"mkdirp": "^3.0.1",
"path": "^0.12.7",
"postcss-preset-env": "^7.7.1",
"prettier": "^3.0.0",
"rimraf": "^2.7.1",
"webpack-fix-style-only-entries": "^0.6.1"
},
"dependencies": {
"cross-env": "^7.0.3",
"node-wp-i18n": "^1.2.7"
}
}