53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"name": "@woocommerce/api-core-tests",
|
|
"version": "1.0.0",
|
|
"description": "API tests for WooCommerce",
|
|
"main": "index.js",
|
|
"engines": {
|
|
"node": "^16.13.1",
|
|
"pnpm": "^7.13.3"
|
|
},
|
|
"scripts": {
|
|
"e2e": "jest",
|
|
"e2e:api": "jest --group=api",
|
|
"e2e:hello": "jest --group=hello",
|
|
"make:collection": "node utils/api-collection/build-collection.js",
|
|
"report": "allure generate --clean && allure serve",
|
|
"lint": "eslint data endpoints tests utils --ext=js,ts,tsx",
|
|
"lint:fix": "eslint data endpoints tests utils --ext=js,ts,tsx --fix"
|
|
},
|
|
"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",
|
|
"jest": "^27.5.1",
|
|
"jest-allure": "^0.1.3",
|
|
"jest-runner-groups": "^2.1.0",
|
|
"postman-collection": "^4.1.0",
|
|
"supertest": "^6.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
|
"eslint": "^8.12.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"bin": {
|
|
"wc-api-tests": "bin/wc-api-tests.sh"
|
|
},
|
|
"lint-staged": {
|
|
"*.(t|j)s?(x)": [
|
|
"eslint --fix"
|
|
]
|
|
}
|
|
}
|