-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
42 lines (42 loc) · 1.52 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
{
"requires": true,
"lockfileVersion": 1,
"name": "translation-stats",
"version": "1.3.0",
"description": "The plugin adds a \"Translation Stats\" column to the plugin list screen in WordPress admin.",
"author": "Pedro Mendonça",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"i18n",
"l10n"
],
"homepage": "https://github.com/pedro-mendonca/Translation-Stats#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/pedro-mendonca/Translation-Stats.git"
},
"bugs": {
"url": "https://github.com/pedro-mendonca/Translation-Stats/issues"
},
"devDependencies": {
"@wordpress/scripts": "^30.5.1",
"node-sass": "^9.0.0",
"postcss-cli": "^11.0.0",
"tablesorter": "^2.31.3",
"uglify-js": "^3.19.3"
},
"scripts": {
"build": "npm run build:js & npm run compile:css & npm run build:css",
"build:js": "npm run build:js:plugins && npm run build:js:settings",
"build:js:plugins": "uglifyjs assets/js/admin-plugins.js --compress drop_console=true -o assets/js/admin-plugins.min.js",
"build:js:settings": "uglifyjs assets/js/admin-settings.js --compress drop_console=true -o assets/js/admin-settings.min.js",
"compile:css": "node-sass assets/css/ -o assets/css/ && stylelint assets/css/*.css --fix",
"build:css": "npm run build:css:admin",
"build:css:admin": "postcss assets/css/admin.css > assets/css/admin.min.css",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json"
}
}