-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·28 lines (28 loc) · 1.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
{
"name": "wp-inci",
"description": "WP INCI plugin",
"author": "xlthlx",
"keywords": [
"WordPress",
"Plugin"
],
"homepage": "https://wordpress.org/plugins/wp-inci/",
"scripts": {
"minify:js": "uglifyjs admin/js/jquery.autocomplete.js --compress --mangle --warn --output admin/js/jquery.autocomplete.min.js && uglifyjs admin/js/multiple-search-ajax.js --compress --mangle --output admin/js/multiple-search-ajax.min.js && uglifyjs admin/js/search-ajax.js --compress --mangle --output admin/js/search-ajax.min.js && uglifyjs admin/js/wp-inci-admin.js --compress --mangle --output admin/js/wp-inci-admin.min.js",
"minify:css": "cleancss -o admin/css/wp-inci-admin.min.css admin/css/wp-inci-admin.css && cleancss -o public/css/wp-inci.min.css public/css/wp-inci.css",
"minify:img": "imagemin assets/* --out-dir=img",
"watch:css": "onchange 'admin/css/*.css' -- npm run minify:css && onchange 'public/css/*.css' -- npm run minify:css",
"watch:js": "onchange 'admin/js/*.js' -- npm run minify:js",
"watch": "run-p watch:*",
"build": "npm run minify:css && npm run minify:js",
"wp-env": "wp-env"
},
"devDependencies": {
"@wordpress/env": "^10.2.0",
"clean-css-cli": "^5.6.3",
"imagemin-cli": "^8.0.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"uglify-js": "^3.18.0"
}
}