2018-04-17 21:03:14 +00:00
|
|
|
{
|
2018-07-10 12:48:06 +00:00
|
|
|
"name": "wc-admin",
|
2018-04-17 21:03:14 +00:00
|
|
|
"version": "0.1.0",
|
2018-04-17 23:51:48 +00:00
|
|
|
"main": "js/index.js",
|
2018-04-17 21:38:56 +00:00
|
|
|
"author": "Automattic",
|
2018-04-17 23:51:48 +00:00
|
|
|
"license": "GPL-2.0-or-later",
|
|
|
|
"repository": "",
|
2018-04-17 21:38:56 +00:00
|
|
|
"engines": {
|
2018-09-18 21:37:57 +00:00
|
|
|
"node": ">=8.0.0",
|
|
|
|
"npm": ">=6.0.0"
|
2018-04-17 21:38:56 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2018-05-10 19:17:28 +00:00
|
|
|
"install-if-deps-outdated": "node bin/install-if-deps-outdated.js",
|
|
|
|
"install-if-no-packages": "node bin/install-if-no-packages.js",
|
|
|
|
"prebuild": "npm run -s install-if-deps-outdated",
|
2018-09-25 20:50:51 +00:00
|
|
|
"build": "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",
|
2018-05-10 19:17:28 +00:00
|
|
|
"prestart": "npm run -s install-if-deps-outdated",
|
|
|
|
"start": "webpack --watch",
|
2018-09-26 14:23:55 +00:00
|
|
|
"i18n:js": "cross-env NODE_ENV=production babel client -o /dev/null",
|
|
|
|
"i18n:php": "pot-to-php ./languages/wc-admin.pot ./languages/wc-admin.php wc-admin",
|
|
|
|
"i18n:pot": "grunt makepot",
|
2018-09-28 15:26:30 +00:00
|
|
|
"i18n:check": "grunt checktextdomain",
|
2018-09-28 15:30:06 +00:00
|
|
|
"i18n": "npm run -s i18n:js && npm run -s i18n:php && npm run -s i18n:check && npm run -s i18n:pot",
|
2018-10-22 16:34:28 +00:00
|
|
|
"lint": "npm run lint:js && npm run lint:php",
|
|
|
|
"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-05-10 19:17:28 +00:00
|
|
|
"precommit": "npm run -s install-if-no-packages && node bin/pre-commit-hook.js",
|
2018-05-16 14:59:03 +00:00
|
|
|
"prepush": "npm run -s install-if-no-packages && node bin/pre-push-hook.js",
|
|
|
|
"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",
|
2018-08-31 20:13:20 +00:00
|
|
|
"test:watch": "npm run test -- --watch",
|
|
|
|
"docs": "node ./bin/generate-docs"
|
2018-04-17 21:38:56 +00:00
|
|
|
},
|
2018-04-17 21:03:14 +00:00
|
|
|
"devDependencies": {
|
2018-10-18 19:42:28 +00:00
|
|
|
"@babel/cli": "7.1.2",
|
|
|
|
"@babel/core": "7.1.2",
|
2018-10-18 16:57:29 +00:00
|
|
|
"@babel/plugin-transform-async-to-generator": "7.1.0",
|
2018-10-18 19:42:28 +00:00
|
|
|
"@babel/runtime-corejs2": "7.1.2",
|
2018-10-19 17:06:42 +00:00
|
|
|
"@wordpress/api-fetch": "2.0.2",
|
|
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.2",
|
|
|
|
"@wordpress/babel-plugin-makepot": "2.1.2",
|
2018-10-18 16:57:29 +00:00
|
|
|
"@wordpress/babel-preset-default": "2.1.0",
|
|
|
|
"@wordpress/browserslist-config": "2.2.2",
|
|
|
|
"@wordpress/components": "3.0.0",
|
2018-10-20 00:35:53 +00:00
|
|
|
"@wordpress/data": "2.1.4",
|
2018-10-19 17:06:42 +00:00
|
|
|
"@wordpress/date": "2.0.3",
|
2018-10-20 00:35:53 +00:00
|
|
|
"@wordpress/element": "2.1.4",
|
2018-10-19 17:06:42 +00:00
|
|
|
"@wordpress/hooks": "2.0.2",
|
|
|
|
"@wordpress/html-entities": "2.0.2",
|
2018-10-18 16:57:29 +00:00
|
|
|
"@wordpress/i18n": "2.0.0",
|
2018-10-19 17:06:42 +00:00
|
|
|
"@wordpress/jest-preset-default": "2.0.6",
|
|
|
|
"@wordpress/keycodes": "2.0.2",
|
2018-10-18 16:57:29 +00:00
|
|
|
"@wordpress/postcss-themes": "1.0.4",
|
2018-10-19 17:06:42 +00:00
|
|
|
"@wordpress/scripts": "2.4.0",
|
2018-10-19 13:25:57 +00:00
|
|
|
"ast-types": "0.11.6",
|
2018-10-19 13:31:25 +00:00
|
|
|
"autoprefixer": "9.2.1",
|
2018-10-18 16:57:29 +00:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2018-10-19 17:24:50 +00:00
|
|
|
"babel-eslint": "10.0.1",
|
2018-10-19 13:33:27 +00:00
|
|
|
"babel-loader": "8.0.4",
|
2018-10-18 16:57:29 +00:00
|
|
|
"babel-plugin-transform-class-properties": "6.24.1",
|
2018-10-19 20:36:02 +00:00
|
|
|
"buble": "0.19.4",
|
2018-10-18 16:57:29 +00:00
|
|
|
"chalk": "2.4.1",
|
|
|
|
"core-js": "2.5.7",
|
|
|
|
"cross-env": "5.2.0",
|
|
|
|
"css-loader": "1.0.0",
|
|
|
|
"deep-freeze": "0.0.1",
|
2018-09-18 21:37:57 +00:00
|
|
|
"docsify-cli": "github:docsifyjs/docsify-cli#5df38996",
|
2018-10-19 13:44:01 +00:00
|
|
|
"eslint": "5.7.0",
|
2018-10-18 16:57:29 +00:00
|
|
|
"eslint-config-wpcalypso": "4.0.1",
|
2018-10-19 13:53:36 +00:00
|
|
|
"eslint-loader": "2.1.1",
|
2018-10-19 13:58:49 +00:00
|
|
|
"eslint-plugin-jest": "21.25.1",
|
2018-10-19 14:05:22 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.1.2",
|
2018-10-18 16:57:29 +00:00
|
|
|
"eslint-plugin-react": "7.11.1",
|
|
|
|
"eslint-plugin-wpcalypso": "4.0.2",
|
|
|
|
"extract-text-webpack-plugin": "4.0.0-beta.0",
|
|
|
|
"gfm-code-blocks": "1.0.0",
|
2018-09-11 01:17:04 +00:00
|
|
|
"gridicons": "3.1.1",
|
2018-10-18 16:57:29 +00:00
|
|
|
"grunt": "1.0.3",
|
|
|
|
"grunt-checktextdomain": "1.0.1",
|
|
|
|
"grunt-wp-i18n": "1.0.2",
|
|
|
|
"history": "4.7.2",
|
|
|
|
"html-to-react": "1.3.3",
|
2018-10-19 17:25:11 +00:00
|
|
|
"husky": "1.1.2",
|
2018-10-19 14:08:05 +00:00
|
|
|
"marked": "0.5.1",
|
2018-10-18 16:57:29 +00:00
|
|
|
"interpolate-components": "1.1.1",
|
2018-10-19 16:54:21 +00:00
|
|
|
"node-sass": "4.9.4",
|
2018-10-18 16:57:29 +00:00
|
|
|
"postcss-color-function": "4.0.1",
|
|
|
|
"postcss-loader": "3.0.0",
|
2018-04-17 21:38:56 +00:00
|
|
|
"prettier": "github:automattic/calypso-prettier#c56b4251",
|
2018-10-18 16:57:29 +00:00
|
|
|
"prop-types": "15.6.2",
|
|
|
|
"raw-loader": "0.5.1",
|
2018-10-19 17:01:49 +00:00
|
|
|
"react": "16.5.2",
|
2018-10-18 16:57:29 +00:00
|
|
|
"react-click-outside": "3.0.1",
|
|
|
|
"react-docgen": "2.21.0",
|
2018-10-19 17:01:49 +00:00
|
|
|
"react-dom": "16.5.2",
|
2018-10-19 17:25:39 +00:00
|
|
|
"react-live": "1.12.0",
|
2018-10-18 16:57:29 +00:00
|
|
|
"react-router-dom": "4.3.1",
|
|
|
|
"react-world-flags": "1.2.4",
|
|
|
|
"readline-sync": "1.4.9",
|
2018-10-19 16:55:42 +00:00
|
|
|
"recast": "0.16.0",
|
2018-10-18 16:57:29 +00:00
|
|
|
"sass-loader": "7.1.0",
|
2018-10-19 16:56:48 +00:00
|
|
|
"style-loader": "0.23.1",
|
2018-10-19 16:58:35 +00:00
|
|
|
"webpack": "4.21.0",
|
2018-10-19 17:00:20 +00:00
|
|
|
"webpack-cli": "3.1.2"
|
2018-04-17 23:51:48 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-09-03 07:54:45 +00:00
|
|
|
"browser-filesaver": "^1.1.1",
|
2018-05-10 19:23:41 +00:00
|
|
|
"classnames": "^2.2.5",
|
2018-09-18 21:37:57 +00:00
|
|
|
"d3-array": "^1.2.4",
|
|
|
|
"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",
|
2018-10-12 20:40:16 +00:00
|
|
|
"dompurify": "1.0.8",
|
2018-09-18 21:37:57 +00:00
|
|
|
"lodash": "^4.17.11",
|
|
|
|
"react-dates": "^18.0.4",
|
2018-07-18 03:00:20 +00:00
|
|
|
"react-slot-fill": "^2.0.1",
|
2018-07-05 03:14:40 +00:00
|
|
|
"react-transition-group": "^2.4.0",
|
|
|
|
"redux": "^4.0.0"
|
2018-04-17 21:03:14 +00:00
|
|
|
}
|
|
|
|
}
|