2021-08-23 17:39:03 +00:00
|
|
|
{
|
2022-04-29 22:04:41 +00:00
|
|
|
"name": "@woocommerce/api-core-tests",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"description": "API tests for WooCommerce",
|
|
|
|
"main": "index.js",
|
2022-09-26 22:30:52 +00:00
|
|
|
"engines": {
|
|
|
|
"node": "^16.13.1",
|
2022-10-02 21:52:42 +00:00
|
|
|
"pnpm": "^7.12.2"
|
2022-09-26 22:30:52 +00:00
|
|
|
},
|
2022-04-29 22:04:41 +00:00
|
|
|
"scripts": {
|
2022-06-09 21:40:07 +00:00
|
|
|
"e2e": "jest",
|
|
|
|
"e2e:api": "jest --group=api",
|
|
|
|
"e2e:hello": "jest --group=hello",
|
2022-04-29 22:04:41 +00:00
|
|
|
"make:collection": "node utils/api-collection/build-collection.js",
|
2022-05-05 03:02:50 +00:00
|
|
|
"report": "allure generate --clean && allure serve",
|
2022-08-05 00:03:17 +00:00
|
|
|
"lint": "eslint data endpoints tests utils --ext=js,ts,tsx",
|
2022-05-05 03:02:50 +00:00
|
|
|
"lint:fix": "eslint data endpoints tests utils --ext=js,ts,tsx --fix"
|
2022-04-29 22:04:41 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/woocommerce/woocommerce.git"
|
|
|
|
},
|
|
|
|
"license": "GPL-3.0+",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce#readme",
|
|
|
|
"dependencies": {
|
|
|
|
"allure-commandline": "^2.17.2",
|
|
|
|
"dotenv": "^10.0.0",
|
2022-08-17 18:04:41 +00:00
|
|
|
"jest": "^27.5.1",
|
2022-04-29 22:04:41 +00:00
|
|
|
"jest-allure": "^0.1.3",
|
|
|
|
"jest-runner-groups": "^2.1.0",
|
|
|
|
"postman-collection": "^4.1.0",
|
|
|
|
"supertest": "^6.1.4"
|
|
|
|
},
|
2022-05-05 03:02:50 +00:00
|
|
|
"devDependencies": {
|
|
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
2022-08-05 00:03:17 +00:00
|
|
|
"eslint": "^8.12.0"
|
2022-05-05 03:02:50 +00:00
|
|
|
},
|
2022-04-29 22:04:41 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"bin": {
|
|
|
|
"wc-api-tests": "bin/wc-api-tests.sh"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.(t|j)s?(x)": [
|
|
|
|
"eslint --fix"
|
|
|
|
]
|
|
|
|
}
|
2021-08-23 17:39:03 +00:00
|
|
|
}
|