-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
95 lines (95 loc) · 3.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "@wp-pay/core",
"version": "4.23.0",
"description": "Core components for the WordPress payment processing library.",
"repository": {
"type": "git",
"url": "https://github.com/wp-pay/core"
},
"keywords": [
"wordpress",
"wp",
"pay",
"core",
"gateway",
"pronamic"
],
"author": {
"name": "Pronamic",
"email": "[email protected]",
"url": "http://www.pronamic.nl/"
},
"contributors": [
{
"name": "Remco Tolsma",
"email": "[email protected]",
"url": "http://www.remcotolsma.nl/"
}
],
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/wp-pay/core/issues"
},
"homepage": "http://www.wp-pay.org/",
"dependencies": {
"@wp-pay/logos": "^2.0.0",
"jquery": "^3.6.0",
"slick-carousel": "^1.8.1",
"tippy.js": "^3.4"
},
"devDependencies": {
"@wordpress/env": "^10.6.0",
"autoprefixer": "^9.8.8",
"clean-css-cli": "^5.6.2",
"copyfiles": "^2.4.1",
"cssnano": "^4.1.11",
"eslint": "^8.0",
"eslint-plugin-json": "^3.1",
"grunt": "^1.4.1",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-imagemin": "^4.0.0",
"grunt-contrib-sass": "^2.0.0",
"grunt-contrib-uglify": "^5.0.1",
"grunt-postcss": "^0.9.0",
"grunt-webfont": "^1.7.2",
"htmlhint": "^0.15.2",
"load-grunt-tasks": "^5.1.0",
"npm-run-all": "^4.1.5",
"postcss-eol": "0.0.8",
"sass": "^1.43.3",
"sass-lint": "^1.13.1",
"stylelint": "^13.13.1",
"stylelint-config-sass-guidelines": "^8.0.0",
"stylelint-config-standard": "^22.0.0",
"stylelint-order": "^4.1.0",
"terser": "^5.9.0"
},
"scripts": {
"build-image": "npm-run-all build-image-*",
"build-image-svg-cards": "mkdir -p images/dist/cards; svgo -f images/src/cards/ -o images/dist/cards/",
"build-image-svg-default": "svgo images/src/wp-pay.svg -o images/dist/wp-pay.svgo-min.svg",
"build-image-svg-white": "svgo images/src/wp-pay-white.svg -o images/dist/wp-pay-white.svgo-min.svg",
"build-image-svg-wp-admin": "svgo images/src/wp-pay-wp-admin-fresh-base.svg -o images/dist/wp-pay-wp-admin-fresh-base.svgo-min.svg",
"build-image-png-512": "rsvg-convert -w 512 -h 512 images/src/wp-pay.svg -o images/src/wp-pay-512.png",
"build-image-png-512-min": "pngquant images/src/wp-pay-512.png --output images/dist/wp-pay-512.pngquant-min.png --force",
"build-image-png-white-512": "rsvg-convert -w 512 -h 512 images/src/wp-pay-white.svg -o images/src/wp-pay-white-512.png",
"build-image-png-white-512-min": "pngquant images/src/wp-pay-white-512.png --output images/dist/wp-pay-white-512.pngquant-min.png --force",
"build-slick-carousel": "npm-run-all copy-slick-carousel cssmin-slick-carousel js-minify-slick-carousel",
"copy-slick-carousel": "copyfiles -f -E node_modules/slick-carousel/slick/slick.js node_modules/slick-carousel/slick/slick.css assets/slick-carousel/",
"copy-images-cards": "rsync --recursive --delete --verbose ./node_modules/@wp-pay/logos/dist/cards/ ./images/dist/cards/",
"cssmin-slick-carousel": "cleancss -o assets/slick-carousel/slick.min.css assets/slick-carousel/slick.css",
"eslint": "eslint . --ext .json --ext .js",
"lint": "npm-run-all --parallel eslint sass-lint",
"sass-lint": "sass-lint --verbose",
"js-build": "npm-run-all js-build-* js-minify",
"js-build-copy": "cp js/src/*.js js/dist",
"js-minify": "npm-run-all js-minify-*",
"js-minify-admin": "terser --compress --mangle --output js/dist/admin.min.js js/src/admin.js",
"js-minify-admin-test": "terser --compress --mangle --output js/dist/admin-test.min.js js/src/admin-test.js",
"js-minify-admin-tour": "terser --compress --mangle --output js/dist/admin-tour.min.js js/src/admin-tour.js",
"js-minify-slick-carousel": "terser --compress --mangle --output assets/slick-carousel/slick.min.js assets/slick-carousel/slick.js",
"js-minify-subscription-mandate": "terser --compress --mangle --output js/dist/subscription-mandate.min.js js/src/subscription-mandate.js",
"sass": "sass scss:css"
}
}