2020-04-02 13:41:06 +00:00
|
|
|
{
|
2020-04-30 17:01:42 +00:00
|
|
|
"name": "@woocommerce/e2e-environment",
|
2022-02-18 17:14:06 +00:00
|
|
|
"version": "0.3.0",
|
2020-04-02 13:41:06 +00:00
|
|
|
"description": "WooCommerce End to End Testing Environment Configuration.",
|
|
|
|
"author": "Automattic",
|
|
|
|
"license": "GPL-3.0-or-later",
|
|
|
|
"keywords": [
|
|
|
|
"wordpress",
|
|
|
|
"woocommerce",
|
|
|
|
"e2e",
|
|
|
|
"puppeteer"
|
|
|
|
],
|
2021-10-28 19:32:31 +00:00
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/e2e-environment/README.md",
|
2020-09-10 20:05:31 +00:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
|
|
},
|
2020-04-02 13:41:06 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-04-07 08:43:11 +00:00
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
2020-04-02 13:41:06 +00:00
|
|
|
},
|
|
|
|
"main": "index.js",
|
2020-05-13 18:14:18 +00:00
|
|
|
"module": "build-module/index.js",
|
2020-05-11 18:45:32 +00:00
|
|
|
"dependencies": {
|
2020-07-28 15:00:46 +00:00
|
|
|
"@automattic/puppeteer-utils": "github:Automattic/puppeteer-utils#0f3ec50",
|
|
|
|
"@jest/test-sequencer": "^25.5.4",
|
2021-03-12 18:00:23 +00:00
|
|
|
"@slack/web-api": "^6.1.0",
|
2021-06-30 20:03:07 +00:00
|
|
|
"@woocommerce/api": "^0.2.0",
|
2021-08-19 17:29:05 +00:00
|
|
|
"@wordpress/e2e-test-utils": "^4.16.1",
|
2021-12-15 15:08:37 +00:00
|
|
|
"@wordpress/jest-preset-default": "^7.1.3",
|
2020-05-11 18:45:32 +00:00
|
|
|
"app-root-path": "^3.0.0",
|
2021-10-28 19:32:31 +00:00
|
|
|
"commander": "4.1.1",
|
2022-01-25 17:00:33 +00:00
|
|
|
"config": "3.3.3",
|
2020-05-11 18:45:32 +00:00
|
|
|
"jest": "^25.1.0",
|
2022-01-06 02:04:50 +00:00
|
|
|
"jest-circus": "25.1.0",
|
2021-03-08 20:17:27 +00:00
|
|
|
"jest-each": "25.5.0",
|
2021-07-15 20:39:32 +00:00
|
|
|
"jest-puppeteer": "^4.4.0",
|
2021-12-01 19:34:28 +00:00
|
|
|
"node-stream-zip": "^1.13.6",
|
2022-01-28 17:15:45 +00:00
|
|
|
"puppeteer": "2.1.1",
|
|
|
|
"readline-sync": "^1.4.10",
|
2021-07-15 20:39:32 +00:00
|
|
|
"request": "^2.88.2",
|
2021-11-26 21:08:27 +00:00
|
|
|
"sprintf-js": "^1.1.2"
|
2020-05-11 18:45:32 +00:00
|
|
|
},
|
2020-04-02 13:41:06 +00:00
|
|
|
"devDependencies": {
|
2021-08-19 17:29:05 +00:00
|
|
|
"@babel/cli": "7.12.8",
|
|
|
|
"@babel/core": "7.12.9",
|
2021-12-16 15:48:52 +00:00
|
|
|
"@babel/plugin-proposal-async-generator-functions": "^7.16.4",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.16.0",
|
|
|
|
"@babel/plugin-transform-react-jsx": "^7.16.0",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.16.4",
|
2021-12-14 20:10:28 +00:00
|
|
|
"@babel/polyfill": "7.12.1",
|
2021-08-19 17:29:05 +00:00
|
|
|
"@babel/preset-env": "7.12.7",
|
2021-12-16 15:48:52 +00:00
|
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
|
|
|
|
"@wordpress/babel-preset-default": "3.0.2",
|
|
|
|
"@wordpress/browserslist-config": "^4.1.0",
|
2021-08-19 17:29:05 +00:00
|
|
|
"@wordpress/eslint-plugin": "7.3.0",
|
2021-11-05 12:54:57 +00:00
|
|
|
"eslint": "^8.1.0",
|
2020-04-02 13:41:06 +00:00
|
|
|
"ndb": "^1.1.5",
|
2020-09-10 21:26:44 +00:00
|
|
|
"semver": "^7.3.2"
|
2020-04-02 13:41:06 +00:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2020-07-02 18:50:04 +00:00
|
|
|
"clean": "rm -rf ./build ./build-module",
|
|
|
|
"compile": "node ./../bin/build.js",
|
2021-10-28 19:32:31 +00:00
|
|
|
"build": "pnpm run clean && pnpm run compile",
|
|
|
|
"prepare": "pnpm run build",
|
2020-07-23 17:30:24 +00:00
|
|
|
"docker:up": "./bin/docker-compose.sh up",
|
2022-02-17 22:31:26 +00:00
|
|
|
"docker:wait": "bash ./bin/wait-for-build.sh",
|
2020-07-23 17:30:24 +00:00
|
|
|
"docker:down": "./bin/docker-compose.sh down",
|
2020-04-02 13:41:06 +00:00
|
|
|
"docker:clear-all": "docker rmi --force $(docker images -q)",
|
2020-08-10 17:54:10 +00:00
|
|
|
"docker:ssh": "docker exec -it $(node utils/get-app-name.js)_wordpress-www /bin/bash",
|
2020-04-07 18:09:24 +00:00
|
|
|
"test:e2e": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js",
|
2020-10-09 08:00:03 +00:00
|
|
|
"test:e2e-debug": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev --debug",
|
2021-11-05 12:54:57 +00:00
|
|
|
"test:e2e-dev": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev",
|
|
|
|
"lint": "eslint src"
|
2020-12-07 16:06:45 +00:00
|
|
|
},
|
|
|
|
"bin": {
|
2020-12-15 18:37:55 +00:00
|
|
|
"wc-e2e": "bin/wc-e2e.sh"
|
2020-04-02 13:41:06 +00:00
|
|
|
}
|
|
|
|
}
|