{
	"name": "snapchat-for-woocommerce",
	"title": "Snapchat for WooCommerce",
	"description": "Snapchat for WooCommerce",
	"version": "0.1.0",
	"author": "The WordPress Contributors",
	"license": "GPL-3.0+",
	"keywords": [
		"WooCommerce",
		"Snapchat"
	],
	"repository": {
		"type": "git",
		"url": "git@github.com:woocommerce/snapchat-for-woocommerce.git"
	},
	"bugs": {
		"url": "https://github.com/woocommerce/snapchat-for-woocommerce/issues"
	},
	"dependencies": {
		"@woocommerce/components": "^12.3.0",
		"@woocommerce/navigation": "^8.2.0",
		"@woocommerce/tracks": "^1.4.0",
		"@wordpress/api-fetch": "^7.26.0",
		"@wordpress/base-styles": "^6.2.0",
		"@wordpress/components": "^29.12.0",
		"@wordpress/compose": "^7.26.0",
		"@wordpress/data": "^10.26.0",
		"@wordpress/element": "^6.26.0",
		"@wordpress/hooks": "^4.26.0",
		"@wordpress/i18n": "^5.26.0",
		"@wordpress/url": "^4.26.0",
		"classnames": "^2.5.1",
		"gridicons": "^3.4.2",
		"lodash": "^4.17.21"
	},
	"devDependencies": {
		"@playwright/test": "^1.53.1",
		"@woocommerce/dependency-extraction-webpack-plugin": "^4.0.0",
		"@woocommerce/e2e-utils-playwright": "^0.4.0",
		"@woocommerce/eslint-plugin": "^2.3.0",
		"@wordpress/env": "^10.26.0",
		"@wordpress/jest-preset-default": "^12.26.0",
		"@wordpress/prettier-config": "^4.26.0",
		"@wordpress/scripts": "^30.19.0",
		"ajv": "^8.17.1",
		"axios": "^1.7.2",
		"eslint": "^8.57.1",
		"eslint-import-resolver-webpack": "^0.13.8",
		"eslint-plugin-import": "^2.29.1",
		"jest": "^30.0.4",
		"jest-environment-jsdom": "^30.0.4",
		"mini-css-extract-plugin": "^2.9.0",
		"path-browserify": "^1.0.1",
		"prettier": "npm:wp-prettier@^3.0.3",
		"react": "^18",
		"react-dom": "^18",
		"stylelint-config-standard-scss": "^15.0.1",
		"typescript": "^5.5.4",
		"woocommerce-grow-jsdoc": "git+https://github.com/woocommerce/grow#jsdoc-v1"
	},
	"overrides": {
		"@woocommerce/eslint-plugin": {
			"@wordpress/eslint-plugin@<18.1.0": "^18.1.0"
		},
		"@woocommerce/components": {
			"@woocommerce/csv-export@<1.9.0": "^1.9.0"
		}
	},
	"scripts": {
		"prebuild": "composer install --no-dev",
		"build": "NODE_ENV=production wp-scripts build --webpack-src-dir=js/src",
		"postbuild": "npm run archive",
		"archive": "composer archive --file=$npm_package_name --format=zip",
		"postarchive": "rm -rf $npm_package_name && unzip $npm_package_name.zip -d $npm_package_name && rm $npm_package_name.zip && zip -r $npm_package_name.zip $npm_package_name && rm -rf $npm_package_name",
		"doc:tracking": "woocommerce-grow-jsdoc ./js/src",
		"format": "wp-scripts format",
		"i18n": "WP_CLI_PHP_ARGS='-d memory_limit=2048M' ./vendor/bin/wp i18n make-pot ./ languages/$npm_package_name.pot --slug=$npm_package_name --domain=$npm_package_name --exclude=bin,data,js/src,node_modules,tests,vendor",
		"lint": "npm run lint:php && npm run lint:js && npm run lint:css",
		"lint:css": "wp-scripts lint-style",
		"lint:js": "wp-scripts lint-js",
		"lint:js:fix": "wp-scripts lint-js --fix",
		"lint:php": "vendor/bin/phpcs",
		"packages-update": "wp-scripts packages-update",
		"plugin-zip": "wp-scripts plugin-zip",
		"env": "wp-env",
		"env:start": "wp-env start",
		"env:clean": "wp-env clean",
		"env:stop": "wp-env stop",
		"env:destroy": "wp-env destroy",
		"postenv:start": "bash ./tests/e2e/bin/initialize.sh",
		"test:e2e": "npx playwright test --config tests/e2e/playwright.config.js",
		"start": "wp-scripts start --webpack-src-dir=js/src"
	},
	"browserslist": [
		"extends @wordpress/browserslist-config"
	],
	"engines": {
		"node": "^20",
		"npm": "^10 || ^9"
	}
}
