{ "name": "@woocommerce/admin-library", "version": "0.10.0", "author": "Automattic", "license": "GPL-2.0-or-later", "repository": "", "engines": { "node": ">=8.0.0", "npm": ">=6.0.0" }, "scripts": { "install-if-deps-outdated": "node bin/install-if-deps-outdated.js", "install-if-no-packages": "node bin/install-if-no-packages.js", "clean": "rimraf ./dist ./packages/*/build ./packages/*/build-module ./packages/*/build-style", "prebuild": "npm run -s install-if-deps-outdated && php ./bin/update-version.php", "build:packages": "node ./bin/packages/build.js", "build:core": "cross-env NODE_ENV=production webpack", "build": "npm run build:feature-config && npm run build:packages && npm run build:core", "build:release": "cross-env WC_ADMIN_PHASE=plugin ./bin/build-plugin-zip.sh", "build:feature-config": "php bin/generate-feature-config.php", "postbuild": "npm run -s i18n:php && npm run -s i18n:pot", "postshrinkwrap": "replace --silent 'http://' 'https://' ./package-lock.json", "prestart": "npm run -s install-if-deps-outdated && php ./bin/update-version.php", "prepack": "npm install && npm run lint && npm run test && cross-env WC_ADMIN_PHASE=core npm run build", "dev:packages": "node ./bin/packages/watch.js", "start": "cross-env WC_ADMIN_PHASE=development npm run build:packages && cross-env WC_ADMIN_PHASE=development npm run build:feature-config && concurrently \"cross-env WC_ADMIN_PHASE=development webpack --watch\" \"npm run dev:packages\"", "i18n:js": "cross-env NODE_ENV=production babel client -o /dev/null", "i18n:php": "pot-to-php ./languages/woocommerce-admin.pot ./languages/woocommerce-admin.php woocommerce-admin", "i18n:pot": "grunt makepot", "i18n:check": "grunt checktextdomain", "i18n": "npm run -s i18n:js && npm run -s i18n:php && npm run -s i18n:check && npm run -s i18n:pot", "lint": "npm run lint:js && npm run lint:css", "lint:css": "stylelint '**/*.scss'", "lint:css-fix": "stylelint '**/*.scss' --fix", "lint:js": "npm run -s install-if-deps-outdated && eslint client --ext=js,jsx", "lint:php": "./vendor/bin/phpcs --standard=phpcs.xml.dist $(git ls-files | grep .php$)", "lint:php-fix": "./vendor/bin/phpcbf --standard=phpcs.xml.dist $(git ls-files | grep .php$)", "pretest": "npm run -s install-if-no-packages", "test:help": "wp-scripts test-unit-js --help", "test": "wp-scripts test-unit-js --config tests/js/jest.config.json", "test:watch": "npm run test -- --watch", "test:update-snapshots": "jest --updateSnapshot --config tests/js/jest.config.json", "jest:update": "jest -u --config=tests/js/jest.config.json", "docs": "node ./bin/generate-docs", "publish-packages:check": "npm run build:packages && lerna updated", "publish-packages:dev": "npm run build:packages && lerna publish from-package --npm-tag next", "publish-packages:prod": "npm run build:packages && lerna publish from-package" }, "devDependencies": { "@babel/cli": "7.4.3", "@babel/core": "7.4.3", "@babel/plugin-transform-async-to-generator": "7.4.0", "@babel/plugin-transform-react-jsx": "7.3.0", "@babel/runtime-corejs2": "7.4.3", "@wordpress/babel-plugin-import-jsx-pragma": "1.1.2", "@wordpress/babel-plugin-makepot": "2.1.2", "@wordpress/babel-preset-default": "3.0.1", "@wordpress/browserslist-config": "2.2.2", "@wordpress/custom-templated-path-webpack-plugin": "1.1.5", "@wordpress/jest-preset-default": "4.0.0", "@wordpress/postcss-themes": "1.0.4", "ast-types": "0.12.3", "autoprefixer": "9.5.1", "babel-core": "7.0.0-bridge.0", "babel-eslint": "10.0.1", "babel-loader": "8.0.5", "babel-plugin-transform-class-properties": "6.24.1", "babel-plugin-transform-es2015-template-literals": "6.22.0", "chalk": "2.4.2", "concurrently": "4.1.0", "copy-webpack-plugin": "4.6.0", "cross-env": "5.2.0", "css-loader": "2.1.1", "deasync": "0.1.14", "deep-freeze": "0.0.1", "docsify-cli": "4.3.0", "eslint": "5.16.0", "eslint-config-wpcalypso": "4.0.1", "eslint-loader": "2.1.2", "eslint-plugin-jest": "22.4.1", "eslint-plugin-jsx-a11y": "6.2.1", "eslint-plugin-react": "7.12.4", "eslint-plugin-wpcalypso": "4.0.2", "grunt": "1.0.4", "grunt-checktextdomain": "1.0.1", "grunt-wp-i18n": "1.0.3", "husky": "1.3.1", "lerna": "3.13.2", "locutus": "2.0.10", "mini-css-extract-plugin": "0.5.0", "node-sass": "4.11.0", "node-watch": "0.6.1", "postcss-color-function": "4.0.1", "postcss-loader": "3.0.0", "prettier": "github:automattic/calypso-prettier#c56b4251", "prop-types": "15.7.2", "raw-loader": "1.0.0", "react-docgen": "2.21.0", "readline-sync": "1.4.9", "recast": "0.17.4", "replace": "1.1.0", "rimraf": "2.6.3", "rtlcss": "2.4.0", "sass-loader": "7.1.0", "style-loader": "0.23.1", "stylelint": "9.10.1", "stylelint-config-wordpress": "13.1.0", "webpack": "4.28.3", "webpack-cli": "3.1.2", "webpack-rtl-plugin": "github:yoavf/webpack-rtl-plugin#develop" }, "dependencies": { "@fresh-data/framework": "^0.6.0", "@wordpress/api-fetch": "2.2.6", "@wordpress/components": "7.0.5", "@wordpress/data": "4.2.0", "@wordpress/date": "3.0.1", "@wordpress/element": "2.1.8", "@wordpress/hooks": "2.0.3", "@wordpress/html-entities": "2.0.4", "@wordpress/i18n": "3.1.0", "@wordpress/keycodes": "2.0.5", "@wordpress/scripts": "3.1.0", "@wordpress/viewport": "^2.0.7", "browser-filesaver": "^1.1.1", "classnames": "^2.2.5", "core-js": "2.6.5", "d3-array": "^2.0.0", "d3-axis": "^1.0.12", "d3-format": "^1.3.2", "d3-scale": "^2.1.2", "d3-scale-chromatic": "^1.3.3", "d3-selection": "^1.3.2", "d3-shape": "^1.2.2", "d3-time-format": "^2.1.3", "dompurify": "1.0.10", "emoji-flags": "^1.2.0", "gfm-code-blocks": "1.0.0", "gridicons": "3.1.1", "history": "4.9.0", "html-to-react": "1.3.4", "interpolate-components": "1.1.1", "lodash": "^4.17.11", "marked": "0.6.2", "memoize-one": "^5.0.0", "prismjs": "^1.15.0", "qs": "^6.5.2", "react-click-outside": "3.0.1", "react-dates": "^18.0.4", "react-live": "1.12.0", "react-router-dom": "^5.0.0", "react-slot-fill": "^2.0.1", "react-transition-group": "^2.4.0", "redux": "^4.0.0" }, "husky": { "hooks": { "pre-commit": "npm run -s install-if-no-packages && node bin/pre-commit-hook.js", "pre-push": "npm run -s install-if-no-packages && node bin/pre-push-hook.js" } }, "files": [ "dist/**/*.css", "dist/**/*.js", "dist/feature-config-core.php", "includes/class-wc-admin-loader.php", "includes/features/**/*.php", "languages/**/*.json", "LICENSE.MD" ] }