2020-04-02 13:41:06 +00:00
|
|
|
{
|
2020-04-30 17:01:42 +00:00
|
|
|
"name": "@woocommerce/e2e-environment",
|
2021-05-24 15:37:33 +00:00
|
|
|
"version": "0.2.2",
|
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-02-25 23:51:14 +00:00
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/tests/e2e/env/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",
|
2020-10-29 11:41:24 +00:00
|
|
|
"@wordpress/jest-preset-default": "^6.4.0",
|
2020-05-11 18:45:32 +00:00
|
|
|
"app-root-path": "^3.0.0",
|
|
|
|
"jest": "^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",
|
|
|
|
"request": "^2.88.2",
|
|
|
|
"node-stream-zip": "^1.13.6"
|
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",
|
|
|
|
"@babel/polyfill": "7.12.1",
|
|
|
|
"@babel/preset-env": "7.12.7",
|
|
|
|
"@wordpress/eslint-plugin": "7.3.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",
|
|
|
|
"build": "npm run clean && npm run compile",
|
|
|
|
"prepare": "npm run build",
|
2020-07-23 17:30:24 +00:00
|
|
|
"docker:up": "./bin/docker-compose.sh up",
|
|
|
|
"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",
|
2020-04-07 18:09:24 +00:00
|
|
|
"test:e2e-dev": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev"
|
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
|
|
|
}
|
|
|
|
}
|