-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
51 lines (51 loc) · 1.35 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
{
"name": "unagi",
"version": "0.2.1",
"description": "Remove nags from WordPress dashboard",
"author": {
"name": "handyplugins",
"email": "support@handyplugins.co",
"url": "https://handyplugins.co",
"role": "developer"
},
"license": "GPL-2.0-or-later",
"scripts": {
"test": "phpunit",
"start": "composer install && npm install --production=false && npm run build",
"watch": "10up-toolkit watch",
"build": "10up-toolkit build",
"build-release": "npm install && composer install --no-dev -o && npm run make-pot && npm run build",
"lint-release": "npm install && composer install && npm run lint",
"format-js": "10up-toolkit format-js",
"lint-js": "10up-toolkit lint-js",
"lint-style": "10up-toolkit lint-style",
"lint": "npm run lint-css && npm run lint-js && npm run lint-php",
"format": "npm run format-js",
"make-pot": "wp i18n make-pot . languages/unagi.pot --domain='unagi'"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.css": [
"stylelint"
],
"*.js": [
"eslint"
],
"*.php": [
"./vendor/bin/phpcs --extensions=php --warning-severity=8 -s"
]
},
"devDependencies": {
"10up-toolkit": "^6.0"
},
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"normalize.css": "^8.0.1"
}
}