2020-06-06 23:44:44 +00:00
|
|
|
{
|
2020-09-03 19:28:17 +00:00
|
|
|
"name": "@woocommerce/api",
|
2021-05-25 14:00:56 +00:00
|
|
|
"version": "0.2.0",
|
2020-06-06 23:44:44 +00:00
|
|
|
"author": "Automattic",
|
2020-09-03 19:28:17 +00:00
|
|
|
"description": "A simple interface for interacting with a WooCommerce installation.",
|
2021-10-28 19:32:31 +00:00
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/api/README.md",
|
2020-06-06 23:44:44 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"woocommerce",
|
|
|
|
"e2e"
|
|
|
|
],
|
|
|
|
"license": "GPL-3.0+",
|
|
|
|
"main": "dist/index.js",
|
2020-06-21 00:40:50 +00:00
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"files": [
|
|
|
|
"/dist/",
|
2020-09-21 20:33:57 +00:00
|
|
|
"!*.ts.map",
|
2020-06-21 00:40:50 +00:00
|
|
|
"!*.tsbuildinfo",
|
2020-09-21 20:33:57 +00:00
|
|
|
"!/dist/**/__tests__/",
|
|
|
|
"!/dist/**/__mocks__/",
|
2020-11-05 20:37:40 +00:00
|
|
|
"!/dist/**/__snapshops__/",
|
|
|
|
"!/dist/**/__test_data__/"
|
2020-06-21 00:40:50 +00:00
|
|
|
],
|
2020-06-06 23:44:44 +00:00
|
|
|
"sideEffects": false,
|
|
|
|
"scripts": {
|
2021-12-02 19:09:46 +00:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2020-07-02 18:50:04 +00:00
|
|
|
"clean": "rm -rf ./dist ./tsconfig.tsbuildinfo",
|
|
|
|
"compile": "tsc -b",
|
2021-10-28 19:32:31 +00:00
|
|
|
"build": "pnpm run clean && npm run compile",
|
|
|
|
"prepare": "pnpm run build",
|
2020-09-04 18:27:34 +00:00
|
|
|
"lint": "eslint src",
|
|
|
|
"test": "jest"
|
2020-06-06 23:44:44 +00:00
|
|
|
},
|
2020-06-19 19:08:48 +00:00
|
|
|
"dependencies": {
|
2021-11-16 07:06:47 +00:00
|
|
|
"axios": "^0.24.0",
|
2020-06-19 19:08:48 +00:00
|
|
|
"create-hmac": "1.1.7",
|
|
|
|
"oauth-1.0a": "2.2.6"
|
|
|
|
},
|
2020-06-06 23:44:44 +00:00
|
|
|
"devDependencies": {
|
2020-06-19 19:08:48 +00:00
|
|
|
"@types/create-hmac": "1.1.0",
|
2021-11-16 07:06:47 +00:00
|
|
|
"@types/jest": "^27.0.2",
|
2020-06-06 23:44:44 +00:00
|
|
|
"@types/node": "13.13.5",
|
2021-11-16 07:06:47 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.3.1",
|
|
|
|
"@typescript-eslint/parser": "^5.3.1",
|
|
|
|
"axios-mock-adapter": "^1.20.0",
|
|
|
|
"eslint": "^8.2.0",
|
|
|
|
"jest": "^27.3.1",
|
2021-11-16 23:33:00 +00:00
|
|
|
"ts-jest": "25.5.0",
|
2021-11-16 07:06:47 +00:00
|
|
|
"typescript": "^4.4.4"
|
2020-07-13 17:05:17 +00:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
2020-06-06 23:44:44 +00:00
|
|
|
}
|
|
|
|
}
|