2020-04-02 13:41:06 +00:00
|
|
|
{
|
2022-04-29 22:04:41 +00:00
|
|
|
"name": "@woocommerce/e2e-environment",
|
|
|
|
"version": "0.3.0",
|
|
|
|
"description": "WooCommerce End to End Testing Environment Configuration.",
|
|
|
|
"author": "Automattic",
|
|
|
|
"license": "GPL-3.0-or-later",
|
|
|
|
"keywords": [
|
|
|
|
"wordpress",
|
|
|
|
"woocommerce",
|
|
|
|
"e2e",
|
|
|
|
"puppeteer"
|
|
|
|
],
|
2022-09-26 22:30:52 +00:00
|
|
|
"engines": {
|
|
|
|
"node": "^16.13.1",
|
|
|
|
"pnpm": "7.11.0"
|
|
|
|
},
|
2022-04-29 22:04:41 +00:00
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/e2e-environment/README.md",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
|
|
|
},
|
|
|
|
"main": "index.js",
|
|
|
|
"module": "build-module/index.js",
|
|
|
|
"dependencies": {
|
|
|
|
"@automattic/puppeteer-utils": "github:Automattic/puppeteer-utils#0f3ec50",
|
2022-09-06 14:29:45 +00:00
|
|
|
"@jest/test-sequencer": "^27.5.1",
|
2022-04-29 22:04:41 +00:00
|
|
|
"@slack/web-api": "^6.1.0",
|
|
|
|
"@woocommerce/api": "^0.2.0",
|
|
|
|
"@wordpress/e2e-test-utils": "^4.16.1",
|
|
|
|
"@wordpress/jest-preset-default": "^7.1.3",
|
|
|
|
"app-root-path": "^3.0.0",
|
|
|
|
"commander": "4.1.1",
|
2022-05-05 03:02:50 +00:00
|
|
|
"config": "3.3.3",
|
2022-09-06 14:29:45 +00:00
|
|
|
"jest": "^27.5.1",
|
|
|
|
"jest-circus": "27.5.1",
|
|
|
|
"jest-each": "27.5.1",
|
2022-08-29 18:22:30 +00:00
|
|
|
"jest-puppeteer": "^5.0.4",
|
2022-04-29 22:04:41 +00:00
|
|
|
"node-stream-zip": "^1.13.6",
|
|
|
|
"puppeteer": "2.1.1",
|
|
|
|
"readline-sync": "^1.4.10",
|
|
|
|
"request": "^2.88.2",
|
|
|
|
"sprintf-js": "^1.1.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/cli": "7.12.8",
|
|
|
|
"@babel/core": "7.12.9",
|
|
|
|
"@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",
|
|
|
|
"@babel/polyfill": "7.12.1",
|
|
|
|
"@babel/preset-env": "7.12.7",
|
2022-08-05 00:03:17 +00:00
|
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
2022-05-31 22:42:00 +00:00
|
|
|
"@woocommerce/internal-e2e-builds": "workspace:*",
|
2022-04-29 22:04:41 +00:00
|
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
|
|
|
|
"@wordpress/babel-preset-default": "3.0.2",
|
|
|
|
"@wordpress/browserslist-config": "^4.1.0",
|
|
|
|
"ndb": "^1.1.5",
|
|
|
|
"semver": "^7.3.2"
|
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2022-08-05 00:03:17 +00:00
|
|
|
"turbo:build": "pnpm run clean && pnpm run compile",
|
2022-09-15 21:21:42 +00:00
|
|
|
"build": "pnpm -w exec turbo run turbo:build --filter=$npm_package_name",
|
2022-04-29 22:04:41 +00:00
|
|
|
"clean": "rm -rf ./build ./build-module",
|
|
|
|
"compile": "e2e-builds",
|
2022-05-05 03:02:50 +00:00
|
|
|
"prepare": "pnpm run build",
|
2022-04-29 22:04:41 +00:00
|
|
|
"docker:up": "./bin/docker-compose.sh up",
|
|
|
|
"docker:wait": "bash ./bin/wait-for-build.sh",
|
|
|
|
"docker:down": "./bin/docker-compose.sh down",
|
|
|
|
"docker:clear-all": "docker rmi --force $(docker images -q)",
|
|
|
|
"docker:ssh": "docker exec -it $(node utils/get-app-name.js)_wordpress-www /bin/bash",
|
|
|
|
"test:e2e": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js",
|
|
|
|
"test:e2e-debug": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev --debug",
|
|
|
|
"test:e2e-dev": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev",
|
2022-05-05 03:02:50 +00:00
|
|
|
"lint": "eslint src --ext=js,ts,tsx",
|
|
|
|
"lint:fix": "eslint src --ext=js,ts,tsx --fix"
|
2022-04-29 22:04:41 +00:00
|
|
|
},
|
|
|
|
"bin": {
|
|
|
|
"wc-e2e": "bin/wc-e2e.sh"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.(t|j)s?(x)": [
|
2022-05-05 03:02:50 +00:00
|
|
|
"pnpm lint:fix"
|
2022-04-29 22:04:41 +00:00
|
|
|
]
|
|
|
|
}
|
2020-04-02 13:41:06 +00:00
|
|
|
}
|