forked from woocommerce/woocommerce-gateway-stripe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 3.2 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
{
"name": "woocommerce-gateway-stripe",
"title": "WooCommerce Gateway Stripe",
"version": "4.4.0",
"license": "GPL-3.0",
"homepage": "http://wordpress.org/plugins/woocommerce-gateway-stripe/",
"repository": {
"type": "git",
"url": "git://github.com/woocommerce/woocommerce-gateway-stripe.git"
},
"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.14.0",
"babel-eslint": "^8.2.3",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.14.0",
"babel-preset-stage-2": "^6.13.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chromedriver": "^2.40.0",
"clean-css-cli": "^4.1.10",
"config": "^1.24.0",
"cross-env": "^5.1.6",
"mocha": "^5.2.0",
"node-sass": "^4.11.0",
"node-wp-i18n": "~1.2.1",
"stylelint": "^10.1.0",
"uglify-js": "^3.1.3",
"wait-on": "^5.0.0",
"wc-e2e-page-objects": "0.10.0",
"wp-e2e-webdriver": "0.15.0"
},
"assets": {
"js": {
"min": "assets/js/*.min.js",
"js": "assets/js/*.js"
},
"styles": {
"css": "assets/css/*.css",
"sass": "assets/css/*.scss",
"cssfolder": "assets/css/"
}
},
"scripts": {
"build": "npm run uglify && npm run makepot && npm run sass",
"preuglify": "rm -f $npm_package_assets_js_min",
"uglify": "for f in $npm_package_assets_js_js; do file=${f%.js}; node_modules/.bin/uglifyjs $f -c -m > $file.min.js; done",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"docker:wpcli": "docker run -it --rm --user xfs --volumes-from woocommerce_stripe_wordpress --network container:woocommerce_stripe_wordpress wordpress:cli",
"docker:setup": "wait-on http://localhost:8082 -i 1000 -s 1 -t 60000 && bin/docker-setup.sh",
"predocker:setup": "npm run docker:up",
"postdocker:setup": "tests/bin/install.sh stripe_test root wordpress 127.0.0.1:5678",
"presass": "rm -f $npm_package_assets_styles_css",
"sass": "node_modules/.bin/node-sass $npm_package_assets_styles_cssfolder --output $npm_package_assets_styles_cssfolder --output-style compressed",
"watchsass": "node_modules/.bin/node-sass $npm_package_assets_styles_sass --output $npm_package_assets_styles_css --output-style compressed --watch",
"postsass": "for f in $npm_package_assets_styles_css; do file=${f%.css}; node_modules/.bin/cleancss -o $file.css $f; done",
"makepot": "wpi18n addtextdomain woocommerce-gateway-stripe --exclude node_modules,tests,docs,docker; wpi18n makepot --domain-path languages --pot-file woocommerce-gateway-stripe.pot --type plugin --main-file woocommerce-gateway-stripe.php --exclude node_modules,tests,docs,docker",
"test": "cross-env NODE_CONFIG_DIR='./tests/e2e/config' BABEL_ENV=commonjs mocha \"tests/e2e\" --require babel-register --recursive",
"test:grep": "cross-env NODE_CONFIG_DIR='./tests/e2e/config' BABEL_ENV=commonjs mocha \"tests/e2e\" --require babel-register --grep ",
"test:single": "cross-env NODE_CONFIG_DIR='./tests/e2e/config' BABEL_ENV=commonjs mocha --require babel-register",
"test:php": "./vendor/bin/phpunit -c phpunit.xml"
},
"engines": {
"node": ">=8.9.3",
"npm": ">=5.5.1"
},
"config": {
"wp_org_slug": "woocommerce-gateway-stripe"
}
}