2015-07-10 21:34:15 +00:00
|
|
|
{
|
|
|
|
"name": "woocommerce",
|
|
|
|
"title": "WooCommerce",
|
2019-08-20 05:41:32 +00:00
|
|
|
"version": "3.7.0",
|
2016-07-05 22:52:16 +00:00
|
|
|
"homepage": "https://woocommerce.com/",
|
2015-07-10 21:34:15 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2016-09-28 10:17:40 +00:00
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
2015-07-10 21:34:15 +00:00
|
|
|
},
|
2015-07-11 03:33:12 +00:00
|
|
|
"license": "GPL-3.0+",
|
2015-07-10 21:34:15 +00:00
|
|
|
"main": "Gruntfile.js",
|
2017-02-28 20:00:12 +00:00
|
|
|
"scripts": {
|
2017-11-27 21:36:02 +00:00
|
|
|
"build": "grunt",
|
|
|
|
"build-watch": "grunt watch",
|
2018-11-06 20:11:52 +00:00
|
|
|
"lint:js": "eslint assets/js --ext=js",
|
2018-06-11 17:23:31 +00:00
|
|
|
"test": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --require babel-register --recursive",
|
|
|
|
"test:grep": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --require babel-register --grep ",
|
2019-01-17 18:46:11 +00:00
|
|
|
"test:single": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha --require babel-register",
|
2019-07-08 17:29:17 +00:00
|
|
|
"makepot": "grunt makepot",
|
2019-01-17 18:46:11 +00:00
|
|
|
"git:update-hooks": "rm -r .git/hooks && mkdir -p .git/hooks && node ./node_modules/husky/husky.js install"
|
2017-02-28 20:00:12 +00:00
|
|
|
},
|
2015-07-10 21:34:15 +00:00
|
|
|
"devDependencies": {
|
2019-11-01 01:13:12 +00:00
|
|
|
"autoprefixer": "9.7.1",
|
2019-01-08 11:07:32 +00:00
|
|
|
"babel": "6.23.0",
|
|
|
|
"babel-cli": "6.26.0",
|
2019-08-25 21:20:47 +00:00
|
|
|
"babel-eslint": "10.0.3",
|
2019-04-17 17:17:11 +00:00
|
|
|
"babel-plugin-add-module-exports": "1.0.2",
|
2019-01-08 11:07:32 +00:00
|
|
|
"babel-preset-es2015": "6.24.1",
|
|
|
|
"babel-preset-stage-2": "6.24.1",
|
|
|
|
"chai": "4.2.0",
|
|
|
|
"chai-as-promised": "7.1.1",
|
2019-10-28 15:48:57 +00:00
|
|
|
"chromedriver": "78.0.1",
|
2019-10-25 18:34:34 +00:00
|
|
|
"config": "3.2.4",
|
2019-10-02 16:27:27 +00:00
|
|
|
"cross-env": "6.0.3",
|
2019-10-25 19:02:46 +00:00
|
|
|
"eslint": "6.6.0",
|
2018-11-06 20:11:52 +00:00
|
|
|
"eslint-config-wpcalypso": "4.0.1",
|
2019-05-08 15:55:58 +00:00
|
|
|
"eslint-plugin-wpcalypso": "4.1.0",
|
2019-03-22 18:53:08 +00:00
|
|
|
"grunt": "1.0.4",
|
2019-01-08 11:07:32 +00:00
|
|
|
"grunt-checktextdomain": "1.0.1",
|
2019-01-08 18:50:19 +00:00
|
|
|
"grunt-contrib-clean": "2.0.0",
|
2019-01-08 11:07:32 +00:00
|
|
|
"grunt-contrib-concat": "1.0.1",
|
2019-02-23 01:00:47 +00:00
|
|
|
"grunt-contrib-copy": "1.0.0",
|
2019-01-08 21:49:14 +00:00
|
|
|
"grunt-contrib-cssmin": "3.0.0",
|
2019-03-18 12:20:00 +00:00
|
|
|
"grunt-contrib-jshint": "2.1.0",
|
2019-03-21 18:57:42 +00:00
|
|
|
"grunt-contrib-uglify": "4.0.1",
|
2019-01-08 11:07:32 +00:00
|
|
|
"grunt-contrib-watch": "1.1.0",
|
|
|
|
"grunt-phpcs": "0.4.0",
|
|
|
|
"grunt-postcss": "0.9.0",
|
|
|
|
"grunt-prompt": "1.3.3",
|
|
|
|
"grunt-rtlcss": "2.0.1",
|
2019-08-14 12:02:16 +00:00
|
|
|
"grunt-sass": "3.1.0",
|
2019-01-09 11:32:09 +00:00
|
|
|
"grunt-shell": "3.0.1",
|
2019-10-21 12:46:23 +00:00
|
|
|
"grunt-stylelint": "0.12.0",
|
2019-01-08 13:44:30 +00:00
|
|
|
"grunt-wp-i18n": "1.0.3",
|
2019-11-18 02:39:31 +00:00
|
|
|
"husky": "3.1.0",
|
2019-01-08 11:07:32 +00:00
|
|
|
"istanbul": "1.0.0-alpha.2",
|
2019-11-13 20:13:59 +00:00
|
|
|
"lint-staged": "9.4.3",
|
2019-10-18 20:13:01 +00:00
|
|
|
"mocha": "6.2.2",
|
2019-10-24 06:55:38 +00:00
|
|
|
"node-sass": "4.13.0",
|
2018-11-06 20:45:03 +00:00
|
|
|
"prettier": "github:automattic/calypso-prettier#c56b4251",
|
2019-11-16 12:30:51 +00:00
|
|
|
"stylelint": "12.0.0",
|
2019-10-05 10:05:21 +00:00
|
|
|
"stylelint-config-wordpress": "15.0.0",
|
2019-04-30 19:30:35 +00:00
|
|
|
"wc-e2e-page-objects": "0.10.0",
|
|
|
|
"github-contributors-list": "https://github.com/woocommerce/github-contributors-list/tarball/master"
|
2015-07-10 21:34:15 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2019-01-30 08:12:08 +00:00
|
|
|
"node": ">=10.15.0",
|
|
|
|
"npm": ">=6.4.1"
|
2018-05-21 14:28:32 +00:00
|
|
|
},
|
2018-11-19 21:07:37 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-07-08 17:55:44 +00:00
|
|
|
"*.php": [
|
|
|
|
"php -d display_errors=1 -l",
|
|
|
|
"composer run-script phpcs-pre-commit"
|
|
|
|
],
|
|
|
|
"*.scss": [
|
|
|
|
"stylelint --syntax=scss --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.js": [
|
|
|
|
"eslint --fix",
|
|
|
|
"git add"
|
2018-11-19 21:07:37 +00:00
|
|
|
]
|
2019-07-12 06:52:36 +00:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"> 0.1%",
|
|
|
|
"ie 8",
|
|
|
|
"ie 9"
|
|
|
|
]
|
2015-07-10 21:34:15 +00:00
|
|
|
}
|