2020-04-02 13:41:06 +00:00
|
|
|
{
|
2020-04-30 17:01:42 +00:00
|
|
|
"name": "@woocommerce/e2e-environment",
|
2020-10-15 17:09:03 +00:00
|
|
|
"version": "0.1.6",
|
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"
|
|
|
|
],
|
2020-04-30 17:01:42 +00:00
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/master/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",
|
2020-05-13 18:14:18 +00:00
|
|
|
"@wordpress/e2e-test-utils": "^4.6.0",
|
2020-07-21 17:51:16 +00:00
|
|
|
"@wordpress/jest-preset-default": "^6.2.0",
|
2020-05-11 18:45:32 +00:00
|
|
|
"app-root-path": "^3.0.0",
|
|
|
|
"jest": "^25.1.0",
|
|
|
|
"jest-puppeteer": "^4.4.0",
|
|
|
|
"puppeteer": "^2.1.1"
|
|
|
|
},
|
2020-04-02 13:41:06 +00:00
|
|
|
"devDependencies": {
|
|
|
|
"@babel/cli": "^7.8.4",
|
|
|
|
"@babel/core": "^7.8.4",
|
|
|
|
"@babel/polyfill": "^7.8.3",
|
|
|
|
"@babel/preset-env": "^7.8.4",
|
|
|
|
"@wordpress/eslint-plugin": "^4.0.0",
|
|
|
|
"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-02 13:41:06 +00:00
|
|
|
"install-wp-tests": "./bin/install-wp-tests.sh",
|
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-04-02 13:41:06 +00:00
|
|
|
}
|
|
|
|
}
|