-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
38 lines (38 loc) · 1.51 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
{
"name": "woocommerce-mercadopago",
"description": "Woocommerce MercadoPago Payment Gateway",
"version": "7.8.1",
"main": "main.js",
"repository": {
"type": "git",
"url": "https://github.com/mercadopago/cart-woocommerce"
},
"engines": {
"node": "^14.0.0"
},
"scripts": {
"build": "npm run build:narciso && npm run build:js && npm run build:css && npm run build:webpack",
"build:js": "node -e 'require(\"./main.js\").minifyFiles(\"js\")'",
"build:css": "node -e 'require(\"./main.js\").minifyFiles(\"css\")'",
"build:webpack": "wp-scripts build assets/js/blocks/**.js",
"postbuild:webpack": "cp index.php build",
"js:lint": "jshint",
"pot": "node -e 'require(\"./main.js\").generatePotFiles()'",
"prebuild:narciso": "sh packages/narciso/bin/pre-assets.sh",
"postbuild:narciso": "sh packages/narciso/bin/post-assets.sh",
"build:narciso": "webpack --mode=production --config narciso.webpack.config.js",
"watch": "SHELL=/bin/sh chokidar assets packages/narciso -i **/**.min.* -i assets/images -c 'npm run build' --initial",
"watch:release": "SHELL=/bin/sh chokidar . -i woocommerce-mercadopago.zip -c 'make build'"
},
"devDependencies": {
"@woocommerce/dependency-extraction-webpack-plugin": "^2.2.0",
"@woocommerce/eslint-plugin": "^2.2.0",
"@wordpress/scripts": "^26.16.0",
"chokidar-cli": "^3.0.0",
"css-minimizer-webpack-plugin": "^5.0.1",
"jshint": "^2.13.5",
"minify": "^7.2.2",
"webpack-cli": "^5.1.4",
"wp-pot": "^1.10.2"
}
}