1
0
Форкнуть 0
Microsoft-Start-WordPress-P.../package.json

80 строки
3.3 KiB
JSON

{
"name": "microsoft-wordpress",
"version": "1.0.0",
"description": "",
"scripts": {
"install": "npm run docker-up & npm-run-all install:*",
"install:php": "docker exec -w /app msnews-wordpress-widget_wordpress_1 bash -c \"composer install -d microsoft-news\"",
"start": "nodemon --watch tailwind.config.js --watch webpack.config.js --watch package.json --exec \"npx concurrently --kill-others npm:start-*\"",
"start-webpack": "npx cross-env TAILWIND_MODE=watch NODE_ENV=development wp-scripts start",
"build": "wp-scripts build",
"build-php": "docker exec -w /app msnews-wordpress-widget_wordpress_1 bash -c \"composer update -d microsoft-news\"",
"build-prod": "npm run docker-prod -- build --no-cache",
"purge": "npm run clean & npm-run-all purge:*",
"purge:docker": "docker-compose down --rmi all -v",
"clean": "npm-run-all clean:*",
"clean:composer": "rmdir /s /q microsoft-news\\vendor",
"clean:node": "rmdir /s /q node_modules",
"clean:dist": "rmdir /s /q microsoft-news\\assets",
"docker-up": "docker-compose build && docker-compose up -d",
"docker-down": "docker-compose down",
"docker-db": "docker exec -it msnews-wordpress-widget_db_1 bash",
"docker-wp": "docker exec -it msnews-wordpress-widget_wordpress_1 bash",
"docker-prod": "docker-compose -f docker-compose.yml -f docker-compose.prod.yml",
"docker-up-prod": "npm run docker-prod -- up -d",
"generate-pot": "docker exec -w /app msnews-wordpress-widget_wordpress_1 bash -c \"wp i18n make-pot microsoft-news microsoft-news/languages/microsoft-news.pot --ignore-domain --allow-root\"",
"generate-languages": "docker exec -w /app msnews-wordpress-widget_wordpress_1 bash -c \"wp i18n make-json microsoft-news/languages/post-status --allow-root --no-purge\""
},
"keywords": [],
"author": "",
"license": "",
"devDependencies": {
"@azure/static-web-apps-cli": "^0.6.0",
"@babel/preset-react": "^7.13.13",
"@wordpress/api-fetch": "^3.23.0",
"@wordpress/block-editor": "^5.3.1",
"@wordpress/components": "^13.0.1",
"@wordpress/edit-post": "^3.27.1",
"@wordpress/element": "^2.20.1",
"@wordpress/i18n": "^3.19.1",
"@wordpress/icons": "^2.10.2",
"@wordpress/plugins": "^2.25.1",
"@wordpress/primitives": "^1.12.2",
"@wordpress/scripts": "^13.0.3",
"autoprefixer": "^9.8.6",
"azure-functions-core-tools": "^3.0.3568",
"azurite": "^3.13.1",
"babel-loader": "^8.2.2",
"babel-plugin-import-glob": "^2.0.0",
"babel-preset-react": "^6.24.1",
"concurrently": "^6.2.0",
"cross-env": "^7.0.3",
"deepcopy": "^2.1.0",
"deepmerge": "^4.2.2",
"html-webpack-plugin": "^4.3.0",
"install": "^0.13.0",
"mini-css-extract-plugin": "^1.4.1",
"nodemon": "^2.0.7",
"npm": "^7.9.0",
"npm-run-all": "^4.1.5",
"postcss": "^7.0.35",
"postcss-cli": "^8.3.1",
"precss": "^4.0.0",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.1.2",
"webpack": "^4.32.0",
"webpack-cli": "^4.6.0"
},
"dependencies": {
"@automattic/popup-monitor": "^1.0.0",
"@stripe/react-stripe-js": "^1.4.1",
"@stripe/stripe-js": "^1.15.0",
"classnames": "^2.3.1",
"path": "^0.12.7",
"query-string": "^7.0.0",
"react": "^17.0.0",
"react-router-dom": "^5.2.0",
"stream": "^0.0.2",
"wordpress": "^1.4.1"
}
}