2020-06-06 23:44:44 +00:00
|
|
|
{
|
2022-04-29 18:56:39 +00:00
|
|
|
"name": "@woocommerce/api",
|
2023-08-08 04:35:31 +00:00
|
|
|
"version": "0.3.0",
|
2022-04-29 18:56:39 +00:00
|
|
|
"author": "Automattic",
|
|
|
|
"description": "A simple interface for interacting with a WooCommerce installation.",
|
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/api/README.md",
|
2022-09-26 22:30:52 +00:00
|
|
|
"engines": {
|
2023-04-25 06:49:30 +00:00
|
|
|
"node": "^16.14.1",
|
2023-07-18 02:27:18 +00:00
|
|
|
"pnpm": "^8.6.7"
|
2022-09-26 22:30:52 +00:00
|
|
|
},
|
2022-04-29 18:56:39 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"woocommerce",
|
|
|
|
"e2e"
|
|
|
|
],
|
|
|
|
"license": "GPL-3.0+",
|
|
|
|
"main": "dist/index.js",
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"files": [
|
|
|
|
"/dist/",
|
|
|
|
"!*.ts.map",
|
|
|
|
"!*.tsbuildinfo",
|
|
|
|
"!/dist/**/__tests__/",
|
|
|
|
"!/dist/**/__mocks__/",
|
|
|
|
"!/dist/**/__snapshops__/",
|
|
|
|
"!/dist/**/__test_data__/"
|
|
|
|
],
|
|
|
|
"sideEffects": false,
|
|
|
|
"scripts": {
|
2022-08-05 00:03:17 +00:00
|
|
|
"turbo:build": "pnpm run clean && npm run compile",
|
|
|
|
"turbo:test": "jest",
|
2023-10-06 22:41:47 +00:00
|
|
|
"test": "pnpm test:js",
|
|
|
|
"test:js": "pnpm -w exec turbo run turbo:test --filter=$npm_package_name",
|
2022-07-07 02:53:59 +00:00
|
|
|
"prepare": "composer install",
|
2022-06-09 21:40:07 +00:00
|
|
|
"changelog": "composer exec -- changelogger",
|
2022-04-29 18:56:39 +00:00
|
|
|
"clean": "rm -rf ./dist ./tsconfig.tsbuildinfo",
|
2023-03-23 18:25:42 +00:00
|
|
|
"compile": "tsc --project tsconfig.json",
|
2022-04-29 18:56:39 +00:00
|
|
|
"prepack": "pnpm run build",
|
2022-09-15 21:21:42 +00:00
|
|
|
"build": "pnpm -w exec turbo run turbo:build --filter=$npm_package_name",
|
dev: edited package.json lint scripts to output to console (#41498)
* edited package.jsons to output to console
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/product-editor, @woocommerce/onboarding, @woocommerce/number, @woocommerce/navigation, @woocommerce/integrate-plugin, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/components, @woocommerce/block-templates, @woocommerce/api, @woocommerce/ai, @woocommerce/admin-layout, @woocommerce/admin-e2e-tests
* empty commit to trigger CI
---------
Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 03:16:08 +00:00
|
|
|
"lint": "eslint src",
|
2022-08-05 00:03:17 +00:00
|
|
|
"lint:fix": "eslint src --fix"
|
2022-04-29 18:56:39 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"axios": "^0.24.0",
|
|
|
|
"create-hmac": "1.1.7",
|
|
|
|
"oauth-1.0a": "2.2.6"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/create-hmac": "1.1.0",
|
2022-09-06 14:29:45 +00:00
|
|
|
"@types/jest": "^27.4.1",
|
2023-03-24 01:02:20 +00:00
|
|
|
"@types/node": "^16.18.18",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
|
|
"@typescript-eslint/parser": "^5.54.0",
|
2022-10-12 02:05:01 +00:00
|
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
2022-04-29 18:56:39 +00:00
|
|
|
"axios-mock-adapter": "^1.20.0",
|
2023-02-02 10:25:04 +00:00
|
|
|
"eslint": "^8.32.0",
|
2023-12-05 08:36:30 +00:00
|
|
|
"jest": "~27.5.1",
|
|
|
|
"ts-jest": "~29.1.1",
|
2023-08-08 04:35:31 +00:00
|
|
|
"typescript": "^5.1.6"
|
2022-04-29 18:56:39 +00:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.(t|j)s?(x)": [
|
|
|
|
"pnpm lint:fix"
|
|
|
|
]
|
|
|
|
}
|
2020-06-06 23:44:44 +00:00
|
|
|
}
|