41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{
|
|
"name": "woocommerce-docs",
|
|
"version": "1.0.0",
|
|
"description": "WooCommerce Docs Plugin",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "wp-scripts build",
|
|
"start": "wp-scripts start",
|
|
"postinstall": "composer install",
|
|
"test:env-setup": "wp-env start && wp-env run cli --env-cwd=wp-content/plugins/woocommerce-docs composer install",
|
|
"test:unit": "pnpm run test:env-setup && wp-env run tests-cli vendor/bin/phpunit --env-cwd=wp-content/plugins/woocommerce-docs"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "GPL-3.0+",
|
|
"dependencies": {
|
|
"@wordpress/api-fetch": "wp-6.0",
|
|
"@wordpress/components": "wp-6.0",
|
|
"directory-tree": "^3.5.1",
|
|
"glob": "^10.2.7",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^16.18.18",
|
|
"@types/react": "^17.0.2",
|
|
"@types/react-dom": "^17.0.2",
|
|
"@woocommerce/dependency-extraction-webpack-plugin": "workspace:*",
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
|
"@wordpress/env": "^8.2.0",
|
|
"@wordpress/prettier-config": "2.17.0",
|
|
"@wordpress/scripts": "^26.4.0",
|
|
"eslint": "^8.32.0",
|
|
"gray-matter": "^4.0.3",
|
|
"prettier": "npm:wp-prettier@^2.6.2",
|
|
"ts-loader": "^9.4.1",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.5"
|
|
}
|
|
}
|