woocommerce/packages/js/api-core-tests/package.json

67 lines
1.5 KiB
JSON
Raw Normal View History

2021-08-23 17:39:03 +00:00
{
2022-04-29 22:04:41 +00:00
"name": "@woocommerce/api-core-tests",
"version": "1.0.0",
2022-04-29 22:04:41 +00:00
"description": "API tests for WooCommerce",
"main": "index.js",
"engines": {
"node": "^16.14.1",
2023-12-18 07:31:49 +00:00
"pnpm": "^8.12.1"
},
2022-04-29 22:04:41 +00:00
"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"
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"
2022-04-29 22:04:41 +00:00
},
"homepage": "https://github.com/woocommerce/woocommerce#readme",
2022-04-29 22:04:41 +00:00
"dependencies": {
2023-12-09 15:12:20 +00:00
"allure-commandline": "^2.25.0",
2022-04-29 22:04:41 +00:00
"dotenv": "^10.0.0",
"jest": "~27.5.1",
2022-04-29 22:04:41 +00:00
"jest-allure": "^0.1.3",
2023-12-09 15:12:20 +00:00
"jest-runner-groups": "^2.2.0",
"postman-collection": "^4.3.0",
"supertest": "^6.3.3"
2022-04-29 22:04:41 +00:00
},
"devDependencies": {
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.55.0",
"wireit": "0.14.3"
},
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"
]
},
"config": {
"ci": {
"lint": {
"command": "lint",
"changes": [
"data/**/*.{js,ts,tsx}",
"endpoints/**/*.{js,ts,tsx}",
"tests/**/*.{js,ts,tsx}",
"utils/**/*.{js,ts,tsx}"
]
}
}
2022-04-29 22:04:41 +00:00
}
2021-08-23 17:39:03 +00:00
}