-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 2.32 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
{
"requires": true,
"lockfileVersion": 1,
"name": "gp-toolbox",
"version": "1.0.0",
"description": "This set of tools extends the functionality of GlotPress, bringing to light any potential problems hidden under the hood, keeping it clean, fast and trouble-free.",
"author": "Pedro Mendonça",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"GlotPress",
"translation",
"toolbox",
"i18n"
],
"homepage": "https://github.com/pedro-mendonca/GP-Toolbox#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/pedro-mendonca/GP-Toolbox.git"
},
"bugs": {
"url": "https://github.com/pedro-mendonca/GP-Toolbox/issues"
},
"devDependencies": {
"@wordpress/scripts": "^29.0.0",
"node-sass": "^9.0.0",
"postcss-cli": "^11.0.0",
"uglify-js": "^3.19.3"
},
"scripts": {
"build": "npm run compile:js & npm run compile:css & npm run build:css",
"compile:css": "node-sass assets/css/ -o assets/css/ && stylelint assets/css/*.css --fix",
"build:css": "npm run build:css:style",
"build:css:style": "postcss assets/css/style.css > assets/css/style.min.css",
"compile:js": "npm run compile:js:project && npm run compile:js:tools-glossaries && npm run compile:js:tools-originals && npm run compile:js:tools-permissions && npm run compile:js:tools-translation-sets && npm run compile:js:tools-translations",
"compile:js:project": "uglifyjs assets/js/project.js --compress drop_console=true -o assets/js/project.min.js",
"compile:js:tools-glossaries": "uglifyjs assets/js/tools-glossaries.js --compress drop_console=true -o assets/js/tools-glossaries.min.js",
"compile:js:tools-originals": "uglifyjs assets/js/tools-originals.js --compress drop_console=true -o assets/js/tools-originals.min.js",
"compile:js:tools-permissions": "uglifyjs assets/js/tools-permissions.js --compress drop_console=true -o assets/js/tools-permissions.min.js",
"compile:js:tools-translation-sets": "uglifyjs assets/js/tools-translation-sets.js --compress drop_console=true -o assets/js/tools-translation-sets.min.js",
"compile:js:tools-translations": "uglifyjs assets/js/tools-translations.js --compress drop_console=true -o assets/js/tools-translations.min.js",
"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"
}
}