2018-04-17 21:03:14 +00:00
|
|
|
{
|
2019-04-11 18:31:31 +00:00
|
|
|
"name": "@woocommerce/admin-library",
|
2019-12-20 12:24:49 +00:00
|
|
|
"version": "0.23.2",
|
2019-04-16 23:00:19 +00:00
|
|
|
"homepage": "https://woocommerce.github.io/woocommerce-admin/",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com:woocommerce/woocommerce-admin.git"
|
2018-04-17 21:38:56 +00:00
|
|
|
},
|
2019-05-16 16:14:03 +00:00
|
|
|
"license": "GPL-3.0-or-later",
|
2019-04-16 23:00:19 +00:00
|
|
|
"author": "Automattic",
|
|
|
|
"files": [
|
|
|
|
"dist/**/*.css",
|
|
|
|
"dist/**/*.js",
|
|
|
|
"dist/feature-config-core.php",
|
|
|
|
"includes/class-wc-admin-loader.php",
|
|
|
|
"includes/features/**/*.php",
|
|
|
|
"languages/**/*.json",
|
2019-05-16 16:14:03 +00:00
|
|
|
"license.txt"
|
2019-04-16 23:00:19 +00:00
|
|
|
],
|
2018-04-17 21:38:56 +00:00
|
|
|
"scripts": {
|
2019-03-25 06:43:26 +00:00
|
|
|
"prebuild": "npm run -s install-if-deps-outdated && php ./bin/update-version.php",
|
2019-11-17 22:39:27 +00:00
|
|
|
"build": "npm run build:feature-config && npm run build:packages && cross-env NODE_ENV=production webpack",
|
2018-09-26 14:23:55 +00:00
|
|
|
"postbuild": "npm run -s i18n:php && npm run -s i18n:pot",
|
2019-04-26 18:37:39 +00:00
|
|
|
"build:feature-config": "php bin/generate-feature-config.php",
|
2019-04-16 23:00:19 +00:00
|
|
|
"build:packages": "node ./bin/packages/build.js",
|
2019-09-26 23:05:26 +00:00
|
|
|
"build:release": "./bin/build-plugin-zip.sh",
|
2019-04-16 23:00:19 +00:00
|
|
|
"clean": "rimraf ./dist ./packages/*/build ./packages/*/build-module ./packages/*/build-style",
|
|
|
|
"predev": "npm run -s install-if-deps-outdated && php ./bin/update-version.php",
|
|
|
|
"dev": "cross-env WC_ADMIN_PHASE=development npm run build:feature-config && cross-env WC_ADMIN_PHASE=development npm run build:packages && cross-env WC_ADMIN_PHASE=development webpack",
|
|
|
|
"docs": "node ./bin/generate-docs",
|
|
|
|
"i18n": "npm run -s i18n:js && npm run -s i18n:php && npm run -s i18n:check && npm run -s i18n:pot",
|
|
|
|
"i18n:check": "grunt checktextdomain",
|
2018-09-26 14:23:55 +00:00
|
|
|
"i18n:js": "cross-env NODE_ENV=production babel client -o /dev/null",
|
2019-03-13 17:14:02 +00:00
|
|
|
"i18n:php": "pot-to-php ./languages/woocommerce-admin.pot ./languages/woocommerce-admin.php woocommerce-admin",
|
2018-09-26 14:23:55 +00:00
|
|
|
"i18n:pot": "grunt makepot",
|
2019-04-16 23:00:19 +00:00
|
|
|
"install-if-deps-outdated": "node bin/install-if-deps-outdated.js",
|
|
|
|
"install-if-no-packages": "node bin/install-if-no-packages.js",
|
|
|
|
"jest:update": "jest -u --config=tests/js/jest.config.json",
|
2018-11-02 19:48:16 +00:00
|
|
|
"lint": "npm run lint:js && npm run lint:css",
|
2018-10-30 12:56:22 +00:00
|
|
|
"lint:css": "stylelint '**/*.scss'",
|
|
|
|
"lint:css-fix": "stylelint '**/*.scss' --fix",
|
2018-10-22 16:34:28 +00:00
|
|
|
"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$)",
|
2018-10-30 12:53:43 +00:00
|
|
|
"lint:php-fix": "./vendor/bin/phpcbf --standard=phpcs.xml.dist $(git ls-files | grep .php$)",
|
2019-04-16 23:00:19 +00:00
|
|
|
"prepack": "npm install && npm run lint && npm run test && cross-env WC_ADMIN_PHASE=core npm run build",
|
|
|
|
"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",
|
|
|
|
"postshrinkwrap": "replace --silent 'http://' 'https://' ./package-lock.json",
|
|
|
|
"prestart": "npm run -s install-if-deps-outdated && php ./bin/update-version.php",
|
|
|
|
"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\" \"node ./bin/packages/watch.js\"",
|
2018-05-16 14:59:03 +00:00
|
|
|
"pretest": "npm run -s install-if-no-packages",
|
|
|
|
"test": "wp-scripts test-unit-js --config tests/js/jest.config.json",
|
2019-04-16 23:00:19 +00:00
|
|
|
"test:help": "wp-scripts test-unit-js --help",
|
2018-11-01 12:39:41 +00:00
|
|
|
"test:update-snapshots": "jest --updateSnapshot --config tests/js/jest.config.json",
|
2019-04-09 00:39:11 +00:00
|
|
|
"test:watch": "npm run test -- --watch",
|
2019-06-13 06:41:47 +00:00
|
|
|
"example": "webpack --config docs/examples/extensions/examples.config.js --watch",
|
2019-07-26 02:16:09 +00:00
|
|
|
"changelog": "node ./bin/changelog.js ",
|
2019-12-15 22:59:35 +00:00
|
|
|
"pre-release": "./bin/pre-release.sh",
|
|
|
|
"create-wc-extension": "node ./bin/starter-pack/starter-pack.js"
|
2019-04-16 23:00:19 +00:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-05-01 00:41:04 +00:00
|
|
|
"@fresh-data/framework": "0.6.1",
|
2019-06-11 21:56:55 +00:00
|
|
|
"@wordpress/api-fetch": "2.2.8",
|
2019-11-22 00:19:37 +00:00
|
|
|
"@wordpress/components": "8.4.0",
|
2019-10-23 18:18:32 +00:00
|
|
|
"@wordpress/data": "4.9.1",
|
|
|
|
"@wordpress/date": "3.5.0",
|
2019-12-02 17:39:22 +00:00
|
|
|
"@wordpress/dom": "2.6.0",
|
2019-10-23 18:18:32 +00:00
|
|
|
"@wordpress/element": "2.8.1",
|
|
|
|
"@wordpress/hooks": "2.6.0",
|
|
|
|
"@wordpress/html-entities": "2.5.0",
|
|
|
|
"@wordpress/i18n": "3.6.1",
|
|
|
|
"@wordpress/keycodes": "2.6.1",
|
|
|
|
"@wordpress/notices": "1.8.1",
|
|
|
|
"@wordpress/scripts": "3.4.0",
|
|
|
|
"@wordpress/url": "2.8.0",
|
|
|
|
"@wordpress/viewport": "2.8.1",
|
2019-04-16 23:00:19 +00:00
|
|
|
"browser-filesaver": "1.1.1",
|
|
|
|
"classnames": "2.2.6",
|
2019-12-12 13:08:13 +00:00
|
|
|
"core-js": "2.6.11",
|
2019-04-16 23:00:19 +00:00
|
|
|
"d3-axis": "1.0.12",
|
2019-11-25 04:02:39 +00:00
|
|
|
"d3-format": "1.4.2",
|
2019-04-16 23:00:19 +00:00
|
|
|
"d3-scale": "2.2.2",
|
2019-08-28 00:50:11 +00:00
|
|
|
"d3-scale-chromatic": "1.5.0",
|
2019-11-25 04:07:43 +00:00
|
|
|
"d3-selection": "1.4.1",
|
2019-11-25 04:26:56 +00:00
|
|
|
"d3-shape": "1.3.7",
|
2019-11-28 00:01:53 +00:00
|
|
|
"d3-time-format": "2.2.2",
|
2019-09-25 19:19:12 +00:00
|
|
|
"debug": "4.1.1",
|
2019-10-24 03:46:42 +00:00
|
|
|
"dompurify": "2.0.7",
|
2019-04-16 23:00:19 +00:00
|
|
|
"emoji-flags": "1.2.0",
|
2019-05-08 02:16:06 +00:00
|
|
|
"gridicons": "3.3.1",
|
2019-09-27 19:08:57 +00:00
|
|
|
"history": "4.10.1",
|
2019-04-16 23:00:19 +00:00
|
|
|
"interpolate-components": "1.1.1",
|
2019-12-20 11:35:23 +00:00
|
|
|
"marked": "0.8.0",
|
2019-08-28 02:01:26 +00:00
|
|
|
"memoize-one": "5.1.1",
|
2019-07-31 14:48:31 +00:00
|
|
|
"prismjs": "1.17.1",
|
2019-11-13 08:51:47 +00:00
|
|
|
"qs": "6.9.1",
|
2019-04-16 23:00:19 +00:00
|
|
|
"react-click-outside": "3.0.1",
|
|
|
|
"react-dates": "17.2.0",
|
2019-10-24 04:00:05 +00:00
|
|
|
"react-router-dom": "5.1.2",
|
2019-04-16 23:00:19 +00:00
|
|
|
"react-transition-group": "2.9.0",
|
2019-10-24 17:13:05 +00:00
|
|
|
"react-visibility-sensor": "5.1.1",
|
2019-08-21 01:21:30 +00:00
|
|
|
"redux": "4.0.4"
|
2018-04-17 21:38:56 +00:00
|
|
|
},
|
2018-04-17 21:03:14 +00:00
|
|
|
"devDependencies": {
|
2019-10-08 22:02:26 +00:00
|
|
|
"@automattic/color-studio": "2.2.0",
|
2019-12-12 03:00:37 +00:00
|
|
|
"@babel/cli": "7.7.5",
|
|
|
|
"@babel/core": "7.7.5",
|
2019-11-27 04:06:29 +00:00
|
|
|
"@babel/plugin-transform-async-to-generator": "7.7.4",
|
|
|
|
"@babel/plugin-transform-react-jsx": "7.7.4",
|
2019-12-12 03:00:37 +00:00
|
|
|
"@babel/runtime-corejs2": "7.7.6",
|
2019-12-20 03:48:33 +00:00
|
|
|
"@octokit/rest": "16.35.2",
|
2019-06-11 21:56:55 +00:00
|
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
|
|
|
|
"@wordpress/babel-plugin-makepot": "2.1.3",
|
|
|
|
"@wordpress/babel-preset-default": "3.0.2",
|
2019-11-27 03:39:57 +00:00
|
|
|
"@wordpress/base-styles": "1.0.0",
|
2019-10-23 18:18:32 +00:00
|
|
|
"@wordpress/browserslist-config": "2.6.0",
|
|
|
|
"@wordpress/custom-templated-path-webpack-plugin": "1.5.0",
|
|
|
|
"@wordpress/jest-preset-default": "5.1.1",
|
2019-06-11 21:56:55 +00:00
|
|
|
"@wordpress/postcss-themes": "1.0.5",
|
2019-07-02 00:06:10 +00:00
|
|
|
"ast-types": "0.13.2",
|
2019-12-09 18:36:13 +00:00
|
|
|
"autoprefixer": "9.7.3",
|
2018-10-18 16:57:29 +00:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2019-08-28 00:47:31 +00:00
|
|
|
"babel-eslint": "10.0.3",
|
2019-05-15 01:38:42 +00:00
|
|
|
"babel-loader": "8.0.6",
|
2018-10-18 16:57:29 +00:00
|
|
|
"babel-plugin-transform-class-properties": "6.24.1",
|
2018-12-26 07:21:54 +00:00
|
|
|
"babel-plugin-transform-es2015-template-literals": "6.22.0",
|
2019-01-14 10:47:28 +00:00
|
|
|
"chalk": "2.4.2",
|
2019-08-21 00:11:39 +00:00
|
|
|
"concurrently": "4.1.2",
|
2019-12-20 03:52:20 +00:00
|
|
|
"copy-webpack-plugin": "5.1.1",
|
2019-10-07 17:57:27 +00:00
|
|
|
"cross-env": "6.0.3",
|
2019-12-20 03:57:09 +00:00
|
|
|
"css-loader": "3.4.0",
|
2019-12-09 19:00:33 +00:00
|
|
|
"deasync": "0.1.16",
|
2018-10-18 16:57:29 +00:00
|
|
|
"deep-freeze": "0.0.1",
|
2019-12-09 19:26:27 +00:00
|
|
|
"docsify-cli": "4.4.0",
|
2019-10-23 18:18:32 +00:00
|
|
|
"enzyme-adapter-react-16": "1.15.1",
|
2019-04-10 00:44:29 +00:00
|
|
|
"eslint": "5.16.0",
|
2018-10-18 16:57:29 +00:00
|
|
|
"eslint-config-wpcalypso": "4.0.1",
|
2019-07-29 18:05:03 +00:00
|
|
|
"eslint-loader": "2.2.1",
|
2019-10-31 14:24:46 +00:00
|
|
|
"eslint-plugin-jest": "22.21.0",
|
2019-07-03 19:16:10 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
2019-12-09 19:21:57 +00:00
|
|
|
"eslint-plugin-react": "7.17.0",
|
2019-05-08 02:14:21 +00:00
|
|
|
"eslint-plugin-wpcalypso": "4.1.0",
|
2019-12-20 01:46:15 +00:00
|
|
|
"fs-extra": "8.1.0",
|
2019-03-26 11:31:57 +00:00
|
|
|
"grunt": "1.0.4",
|
2018-10-18 16:57:29 +00:00
|
|
|
"grunt-checktextdomain": "1.0.1",
|
2018-12-26 07:21:04 +00:00
|
|
|
"grunt-wp-i18n": "1.0.3",
|
2019-07-03 01:47:37 +00:00
|
|
|
"husky": "2.7.0",
|
2019-12-09 19:36:51 +00:00
|
|
|
"lerna": "3.19.0",
|
2019-07-02 00:26:35 +00:00
|
|
|
"locutus": "2.0.11",
|
2019-12-20 11:40:41 +00:00
|
|
|
"mini-css-extract-plugin": "0.8.2",
|
2019-11-11 10:07:49 +00:00
|
|
|
"node-sass": "4.13.0",
|
2019-08-15 06:20:19 +00:00
|
|
|
"node-watch": "0.6.3",
|
2019-04-11 00:49:42 +00:00
|
|
|
"postcss-color-function": "4.1.0",
|
2018-10-18 16:57:29 +00:00
|
|
|
"postcss-loader": "3.0.0",
|
2018-04-17 21:38:56 +00:00
|
|
|
"prettier": "github:automattic/calypso-prettier#c56b4251",
|
2019-06-19 02:55:02 +00:00
|
|
|
"promptly": "3.0.3",
|
2019-03-08 17:18:25 +00:00
|
|
|
"prop-types": "15.7.2",
|
2018-12-14 05:30:45 +00:00
|
|
|
"raw-loader": "1.0.0",
|
2018-10-18 16:57:29 +00:00
|
|
|
"react-docgen": "2.21.0",
|
2019-08-15 06:22:45 +00:00
|
|
|
"readline-sync": "1.4.10",
|
2019-10-24 04:11:07 +00:00
|
|
|
"recast": "0.18.5",
|
2019-09-04 08:55:59 +00:00
|
|
|
"replace": "1.1.1",
|
2019-11-11 10:07:44 +00:00
|
|
|
"request-promise": "4.2.5",
|
2019-10-07 16:03:29 +00:00
|
|
|
"rimraf": "2.7.1",
|
2019-12-12 03:47:50 +00:00
|
|
|
"rtlcss": "2.4.1",
|
2019-10-07 16:06:26 +00:00
|
|
|
"sass-loader": "7.3.1",
|
2018-10-19 16:56:48 +00:00
|
|
|
"style-loader": "0.23.1",
|
2019-03-13 03:00:28 +00:00
|
|
|
"stylelint": "9.10.1",
|
2018-10-30 12:56:22 +00:00
|
|
|
"stylelint-config-wordpress": "13.1.0",
|
2019-05-28 14:05:55 +00:00
|
|
|
"url-loader": "1.1.2",
|
2019-10-24 04:15:28 +00:00
|
|
|
"webpack": "4.41.2",
|
2019-12-12 12:53:07 +00:00
|
|
|
"webpack-cli": "3.3.10",
|
2019-10-09 13:20:55 +00:00
|
|
|
"webpack-fix-style-only-entries": "0.3.1",
|
2019-09-06 14:12:50 +00:00
|
|
|
"webpack-rtl-plugin": "2.0.0"
|
2018-04-17 23:51:48 +00:00
|
|
|
},
|
2019-04-16 23:00:19 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">=8.0.0",
|
|
|
|
"npm": ">=6.0.0"
|
|
|
|
}
|
2018-04-17 21:03:14 +00:00
|
|
|
}
|