-
Notifications
You must be signed in to change notification settings - Fork 94
/
package.json
44 lines (44 loc) · 1.85 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
{
"name": "woocommerce-correios",
"description": "Correios para WooCommerce",
"version": "4.2.5",
"repository": {
"type": "git",
"url": "https://github.com/claudiosanches/woocommerce-correios"
},
"scripts": {
"autoprefixer": "postcss -u --no-map autoprefixer -r assets/css/**/*.css",
"babel:admin": "babel assets/js/admin --out-dir assets/js/admin --out-file-extension .min.js --ignore '**/*.min.js'",
"babel:frontend": "babel assets/js/frontend --out-dir assets/js/frontend --out-file-extension .min.js --ignore '**/*.min.js'",
"build:css": "npm-run-all -s scss autoprefixer",
"build:js": "npm-run-all -s babel:*",
"build:md": "wp-readme-to-md --screenshot-url=https://ps.w.org/woocommerce-correios/assets/{screenshot}.png",
"build:pot": "composer run-script makepot",
"build": "npm-run-all -s lint:* build:*",
"commit": "npm install && composer install && npm run build && wp-plugin-deploy",
"lint:js": "eslint assets/js",
"lint:php": "composer run-script phpcs",
"fix:php": "composer run-script phpcbf",
"lint:scss": "stylelint assets/scss/**/*.scss",
"lint": "npm-run-all -s lint:*",
"scss": "sass --no-source-map --style=compressed assets/scss:assets/css",
"watch:jsadmin": "npm run babel:admin -- --watch",
"watch:jsfrontend": "npm run babel:frontend -- --watch",
"watch:scss": "npm run scss -- --watch --update",
"watch": "npm-run-all -p watch:*"
},
"devDependencies": {
"@babel/cli": "^7.21.5",
"@wordpress/babel-preset-default": "^7.16.0",
"@wordpress/eslint-plugin": "^14.5.0",
"@wordpress/stylelint-config": "^21.15.0",
"autoprefixer": "^10.4.14",
"babel-preset-minify": "^0.5.2",
"npm-run-all": "^4.1.5",
"postcss-cli": "^10.1.0",
"prettier": "^2.8.8",
"sass": "^1.62.1",
"uglify": "^0.1.5",
"wp-readme-to-markdown": "^1.0.1"
}
}