117 lines
3.0 KiB
JSON
117 lines
3.0 KiB
JSON
{
|
|
"name": "@woocommerce/admin-e2e-tests",
|
|
"version": "1.0.0",
|
|
"author": "Automattic",
|
|
"description": "E2E tests for the new WooCommerce interface.",
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/admin-e2e-tests/README.md",
|
|
"engines": {
|
|
"node": "^20.11.1",
|
|
"pnpm": "^9.1.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
|
},
|
|
"keywords": [
|
|
"woocommerce",
|
|
"e2e"
|
|
],
|
|
"license": "GPL-3.0+",
|
|
"main": "build/index.js",
|
|
"types": "build/index.d.ts",
|
|
"files": [
|
|
"build",
|
|
"!*.ts.map",
|
|
"!*.tsbuildinfo"
|
|
],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "pnpm --if-present --workspace-concurrency=Infinity --stream --filter=\"$npm_package_name...\" '/^build:project:.*$/'",
|
|
"build:project": "pnpm --if-present '/^build:project:.*$/'",
|
|
"build:project:typescript": "wireit",
|
|
"changelog": "composer install && composer exec -- changelogger",
|
|
"lint": "pnpm --if-present '/^lint:lang:.*$/'",
|
|
"lint:fix": "pnpm --if-present '/^lint:fix:lang:.*$/'",
|
|
"lint:fix:lang:js": "eslint src --fix",
|
|
"lint:lang:js": "eslint src",
|
|
"prepack": "pnpm build",
|
|
"watch:build": "pnpm --if-present --workspace-concurrency=Infinity --filter=\"$npm_package_name...\" --parallel '/^watch:build:project:.*$/'",
|
|
"watch:build:project": "pnpm --if-present run '/^watch:build:project:.*$/'",
|
|
"watch:build:project:typescript": "wireit"
|
|
},
|
|
"lint-staged": {
|
|
"*.(t|j)s?(x)": [
|
|
"pnpm lint:fix:lang:js"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@jest/globals": "^27.5.1",
|
|
"@types/jest": "^27.5.2",
|
|
"@woocommerce/e2e-utils": "workspace:*",
|
|
"config": "3.3.7"
|
|
},
|
|
"peerDependencies": {
|
|
"@woocommerce/e2e-environment": "^0.2.3 || ^0.3.0",
|
|
"@woocommerce/e2e-utils": "^0.2.0",
|
|
"puppeteer": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.5",
|
|
"@types/config": "0.0.41",
|
|
"@types/expect-puppeteer": "^4.4.7",
|
|
"@types/puppeteer": "^5.4.7",
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@woocommerce/api": "^0.2.0",
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
|
"eslint": "^8.55.0",
|
|
"jest": "~27.5.1",
|
|
"jest-cli": "~27.5.1",
|
|
"jest-mock-extended": "^1.0.18",
|
|
"rimraf": "5.0.5",
|
|
"ts-jest": "~29.1.1",
|
|
"typescript": "^5.3.3",
|
|
"wireit": "0.14.3"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"config": {
|
|
"ci": {
|
|
"lint": {
|
|
"command": "lint",
|
|
"changes": "src/**/*.{js,jsx,ts,tsx}"
|
|
}
|
|
}
|
|
},
|
|
"wireit": {
|
|
"build:project:typescript": {
|
|
"command": "tsc --project tsconfig.json",
|
|
"clean": "if-file-deleted",
|
|
"files": [
|
|
"tsconfig.json",
|
|
"src/**/*.{js,jsx,ts,tsx}",
|
|
"typings/**/*.ts"
|
|
],
|
|
"output": [
|
|
"build"
|
|
],
|
|
"dependencies": [
|
|
"dependencyOutputs"
|
|
]
|
|
},
|
|
"watch:build:project:typescript": {
|
|
"command": "tsc --project tsconfig.json --watch",
|
|
"service": true
|
|
},
|
|
"dependencyOutputs": {
|
|
"allowUsuallyExcludedPaths": true,
|
|
"files": [
|
|
"node_modules/@woocommerce/eslint-plugin/configs",
|
|
"node_modules/@woocommerce/eslint-plugin/rules",
|
|
"node_modules/@woocommerce/eslint-plugin/index.js",
|
|
"package.json"
|
|
]
|
|
}
|
|
}
|
|
}
|