2015-07-10 21:34:15 +00:00
|
|
|
{
|
|
|
|
"name": "woocommerce",
|
|
|
|
"title": "WooCommerce",
|
2021-08-19 20:38:14 +00:00
|
|
|
"version": "5.8.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",
|
2020-08-12 19:52:34 +00:00
|
|
|
"config": {
|
|
|
|
"wp_org_slug": "woocommerce"
|
|
|
|
},
|
2017-02-28 20:00:12 +00:00
|
|
|
"scripts": {
|
2021-01-27 09:09:28 +00:00
|
|
|
"install": " if [ -z \"$SKIP_LERNA_BOOTSTRAP\" ]; then npx lerna bootstrap --hoist; fi",
|
2021-01-26 11:23:24 +00:00
|
|
|
"check:subset-installed": "npm list --depth 1 install-subset > /dev/null 2>&1",
|
|
|
|
"install:subset-only": "npm install --no-package-lock --no-save install-subset",
|
2021-01-27 09:09:28 +00:00
|
|
|
"install:no-e2e": "npm run check:subset-installed --silent || npm run install:subset-only && SKIP_LERNA_BOOTSTRAP=true npx install-subset i no-e2e",
|
2020-08-12 19:52:34 +00:00
|
|
|
"build": "./bin/build-zip.sh",
|
2020-08-19 18:57:06 +00:00
|
|
|
"build:core": "grunt && npm run makepot",
|
|
|
|
"build:dev": "npm run build:core && npm run build:packages",
|
2017-11-27 21:36:02 +00:00
|
|
|
"build-watch": "grunt watch",
|
2020-07-02 18:50:04 +00:00
|
|
|
"build:packages": "lerna run build",
|
2021-01-27 15:50:33 +00:00
|
|
|
"build:zip": "npm run build",
|
2020-08-19 18:49:08 +00:00
|
|
|
"build:assets": "grunt assets",
|
2018-11-06 20:11:52 +00:00
|
|
|
"lint:js": "eslint assets/js --ext=js",
|
2020-12-15 18:37:55 +00:00
|
|
|
"docker:down": "npx wc-e2e docker:down",
|
|
|
|
"docker:ssh": "npx wc-e2e docker:ssh",
|
|
|
|
"docker:up": "npx wc-e2e docker:up",
|
|
|
|
"test:e2e": "npx wc-e2e test:e2e",
|
|
|
|
"test:e2e-debug": "npx wc-e2e test:e2e-debug",
|
|
|
|
"test:e2e-dev": "npx wc-e2e test:e2e-dev",
|
2020-12-23 13:55:03 +00:00
|
|
|
"test:unit": "./vendor/bin/phpunit -c ./phpunit.xml",
|
2020-02-04 20:44:32 +00:00
|
|
|
"makepot": "composer run-script makepot",
|
2020-01-30 17:26:14 +00:00
|
|
|
"packages:fix:textdomain": "node ./bin/package-update-textdomain.js",
|
2020-07-02 18:50:04 +00:00
|
|
|
"publish-packages": "lerna publish from-package",
|
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": {
|
2020-12-01 00:59:25 +00:00
|
|
|
"@babel/cli": "7.12.8",
|
|
|
|
"@babel/core": "7.12.9",
|
2020-11-01 00:11:44 +00:00
|
|
|
"@babel/polyfill": "7.12.1",
|
2020-12-01 00:59:25 +00:00
|
|
|
"@babel/preset-env": "7.12.7",
|
2020-11-01 00:11:44 +00:00
|
|
|
"@babel/register": "7.12.1",
|
2020-10-01 21:28:14 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "3.10.1",
|
|
|
|
"@typescript-eslint/experimental-utils": "3.10.1",
|
|
|
|
"@typescript-eslint/parser": "3.10.1",
|
2020-10-05 12:31:48 +00:00
|
|
|
"@woocommerce/api": "file:tests/e2e/api",
|
2020-09-29 18:22:20 +00:00
|
|
|
"@woocommerce/e2e-core-tests": "file:tests/e2e/core-tests",
|
2020-04-30 17:01:42 +00:00
|
|
|
"@woocommerce/e2e-environment": "file:tests/e2e/env",
|
2020-09-02 20:07:16 +00:00
|
|
|
"@woocommerce/e2e-utils": "file:tests/e2e/utils",
|
2020-05-11 18:45:32 +00:00
|
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
|
|
|
|
"@wordpress/babel-preset-default": "3.0.2",
|
2020-11-11 02:29:27 +00:00
|
|
|
"@wordpress/eslint-plugin": "7.3.0",
|
2020-08-01 01:39:02 +00:00
|
|
|
"autoprefixer": "9.8.6",
|
2020-03-01 00:58:43 +00:00
|
|
|
"babel-eslint": "10.1.0",
|
2019-01-08 11:07:32 +00:00
|
|
|
"chai": "4.2.0",
|
|
|
|
"chai-as-promised": "7.1.1",
|
2020-03-01 01:36:22 +00:00
|
|
|
"commander": "4.1.1",
|
2020-12-01 14:17:11 +00:00
|
|
|
"config": "3.3.3",
|
2019-10-02 16:27:27 +00:00
|
|
|
"cross-env": "6.0.3",
|
2020-12-01 14:21:43 +00:00
|
|
|
"deasync": "0.1.21",
|
2019-12-20 21:37:35 +00:00
|
|
|
"eslint": "6.8.0",
|
2019-11-19 15:03:51 +00:00
|
|
|
"eslint-config-wpcalypso": "5.0.0",
|
2020-10-15 01:40:35 +00:00
|
|
|
"eslint-plugin-jest": "23.20.0",
|
2019-10-20 15:19:43 +00:00
|
|
|
"github-contributors-list": "https://github.com/woocommerce/github-contributors-list/tarball/master",
|
2020-09-19 00:30:15 +00:00
|
|
|
"grunt": "1.3.0",
|
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-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",
|
2020-12-15 20:40:05 +00:00
|
|
|
"grunt-newer": "^1.3.0",
|
2019-01-08 11:07:32 +00:00
|
|
|
"grunt-phpcs": "0.4.0",
|
|
|
|
"grunt-postcss": "0.9.0",
|
2019-11-23 19:04:05 +00:00
|
|
|
"grunt-rtlcss": "2.0.2",
|
2019-08-14 12:02:16 +00:00
|
|
|
"grunt-sass": "3.1.0",
|
2020-12-01 14:26:13 +00:00
|
|
|
"grunt-stylelint": "0.16.0",
|
2020-05-05 19:30:34 +00:00
|
|
|
"gruntify-eslint": "5.0.0",
|
2020-10-01 03:06:15 +00:00
|
|
|
"husky": "4.3.0",
|
2019-01-08 11:07:32 +00:00
|
|
|
"istanbul": "1.0.0-alpha.2",
|
2020-10-28 17:21:02 +00:00
|
|
|
"jest": "^25.1.0",
|
2020-07-01 02:19:54 +00:00
|
|
|
"lerna": "3.22.1",
|
2019-11-27 05:27:44 +00:00
|
|
|
"lint-staged": "9.5.0",
|
2020-06-23 14:46:03 +00:00
|
|
|
"mocha": "7.2.0",
|
2020-11-01 01:58:54 +00:00
|
|
|
"node-sass": "4.14.1",
|
2020-09-05 13:43:24 +00:00
|
|
|
"prettier": "npm:wp-prettier@2.0.5",
|
2021-06-30 18:01:33 +00:00
|
|
|
"stylelint": "^13.8.0",
|
|
|
|
"stylelint-config-wordpress": "17.0.0",
|
2020-10-01 21:28:14 +00:00
|
|
|
"typescript": "3.9.7",
|
2020-11-01 02:03:04 +00:00
|
|
|
"webpack": "4.44.2",
|
2020-09-09 15:07:48 +00:00
|
|
|
"webpack-cli": "3.3.12",
|
2020-09-05 13:43:24 +00:00
|
|
|
"wp-textdomain": "1.0.1"
|
2015-07-10 21:34:15 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2021-05-12 09:06:13 +00:00
|
|
|
"node": "^12.20.1",
|
2020-09-14 16:59:50 +00:00
|
|
|
"npm": "^6.14.6"
|
2018-05-21 14:28:32 +00:00
|
|
|
},
|
2018-11-19 21:07:37 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2020-06-10 03:40:48 +00:00
|
|
|
"post-merge": "./bin/post-merge.sh",
|
2019-11-20 22:18:16 +00:00
|
|
|
"pre-commit": "lint-staged",
|
2020-06-10 03:40:48 +00:00
|
|
|
"pre-push": "./bin/pre-push.sh"
|
2018-11-19 21:07:37 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
2020-06-06 23:44:44 +00:00
|
|
|
],
|
|
|
|
"*.ts": [
|
|
|
|
"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"
|
2021-01-26 11:23:24 +00:00
|
|
|
],
|
|
|
|
"subsets": {
|
2021-01-29 15:58:22 +00:00
|
|
|
"no-e2e": {
|
|
|
|
"exclude": [
|
2021-01-26 11:23:24 +00:00
|
|
|
"@woocommerce/api",
|
|
|
|
"@woocommerce/e2e-core-tests",
|
|
|
|
"@woocommerce/e2e-environment",
|
|
|
|
"@woocommerce/e2e-utils",
|
|
|
|
"@wordpress/e2e-test-utils"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2015-07-10 21:34:15 +00:00
|
|
|
}
|