-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (50 loc) · 1.88 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
{
"requires": true,
"lockfileVersion": 1,
"name": "gp-project-icon",
"version": "1.0.0",
"description": "This GlotPress plugin allows you to add icons to your projects.",
"author": "Pedro Mendonça",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"GlotPress",
"translation",
"project",
"icon"
],
"homepage": "https://github.com/pedro-mendonca/GP-Project-Icon#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/pedro-mendonca/GP-Project-Icon.git"
},
"bugs": {
"url": "https://github.com/pedro-mendonca/GP-Project-Icon/issues"
},
"devDependencies": {
"@wordpress/scripts": "^30.6.0",
"postcss-cli": "^11.0.0",
"postcss-preset-env": "^10.1.1",
"sass": "^1.81.0",
"uglify-js": "^3.19.3"
},
"scripts": {
"build": "npm run build:js & npm run build:css",
"build:css": "npm run compile:css && npm run lint:css:fix && npm run build:css:prefix && npm run build:css:minify",
"compile:css": "sass assets/css/ --color --no-source-map --verbose",
"build:css:prefix": "postcss assets/css/style.css --replace --verbose",
"build:css:minify": "postcss assets/css/style.css -o assets/css/style.min.css --map --use cssnano --verbose",
"build:js": "npm run build:js:projects & npm run build:js:project-edit",
"build:js:projects": "uglifyjs assets/js/projects.js -o assets/js/projects.min.js --compress drop_console=true --source-map base=assets/js,url=projects.min.js.map",
"build:js:project-edit": "uglifyjs assets/js/project-edit.js -o assets/js/project-edit.min.js --compress drop_console=true --source-map base=assets/js,url=project-edit.min.js.map",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json"
},
"browserslist": [
"last 3 versions"
]
}