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": {
|
|
|
|
"node": "8.11.0",
|
|
|
|
"npm": "5.6.0"
|
|
|
|
},
|
|
|
|
"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-04-17 21:38:56 +00:00
|
|
|
"build": "NODE_ENV=production webpack",
|
2018-05-10 19:17:28 +00:00
|
|
|
"prestart": "npm run -s install-if-deps-outdated",
|
|
|
|
"start": "webpack --watch",
|
2018-05-11 16:13:57 +00:00
|
|
|
"lint": "npm run -s install-if-deps-outdated && eslint client --ext=js,jsx",
|
2018-07-10 12:48:06 +00:00
|
|
|
"i18n": "pot-to-php ./languages/wc-admin.pot ./languages/wc-admin.php wc-admin && grunt i18n",
|
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-07-23 20:14:40 +00:00
|
|
|
"@babel/core": "^7.0.0-beta.54",
|
|
|
|
"@babel/plugin-transform-async-to-generator": "^7.0.0-beta.54",
|
2018-08-21 19:02:49 +00:00
|
|
|
"@wordpress/api-fetch": "^1.1.1",
|
2018-07-23 20:14:40 +00:00
|
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "^1.0.1",
|
|
|
|
"@wordpress/babel-plugin-makepot": "^2.0.1",
|
|
|
|
"@wordpress/babel-preset-default": "^2.0.2",
|
2018-07-30 14:05:22 +00:00
|
|
|
"@wordpress/browserslist-config": "^2.2.0",
|
2018-07-23 20:14:40 +00:00
|
|
|
"@wordpress/components": "^1.0.1",
|
2018-08-15 13:44:49 +00:00
|
|
|
"@wordpress/data": "^1.0.1",
|
2018-07-23 20:14:40 +00:00
|
|
|
"@wordpress/date": "^1.0.1",
|
|
|
|
"@wordpress/element": "^1.0.1",
|
|
|
|
"@wordpress/hooks": "^1.3.1",
|
|
|
|
"@wordpress/html-entities": "^1.0.1",
|
|
|
|
"@wordpress/i18n": "^1.2.1",
|
|
|
|
"@wordpress/jest-preset-default": "^2.0.1",
|
|
|
|
"@wordpress/keycodes": "^1.0.1",
|
2018-07-20 03:40:15 +00:00
|
|
|
"@wordpress/postcss-themes": "^1.0.1",
|
2018-07-23 20:14:40 +00:00
|
|
|
"@wordpress/scripts": "^2.0.2",
|
2018-08-31 17:27:21 +00:00
|
|
|
"ast-types": "^0.11.5",
|
2018-09-06 15:11:34 +00:00
|
|
|
"autoprefixer": "^9.1.3",
|
2018-07-23 20:14:40 +00:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
|
|
"babel-eslint": "^8.2.6",
|
|
|
|
"babel-loader": "^8.0.0-beta.4",
|
2018-05-10 19:17:28 +00:00
|
|
|
"chalk": "^2.4.1",
|
2018-07-23 20:14:40 +00:00
|
|
|
"core-js": "^2.5.7",
|
2018-04-17 21:38:56 +00:00
|
|
|
"css-loader": "^0.28.11",
|
2018-08-15 13:44:49 +00:00
|
|
|
"deep-freeze": "^0.0.1",
|
2018-08-31 20:13:20 +00:00
|
|
|
"docsify-cli": "^4.2.1",
|
2018-04-17 21:38:56 +00:00
|
|
|
"eslint": "^4.18.2",
|
2018-05-21 15:26:04 +00:00
|
|
|
"eslint-config-wpcalypso": "^4.0.0",
|
2018-04-17 21:38:56 +00:00
|
|
|
"eslint-loader": "^2.0.0",
|
2018-05-16 14:59:03 +00:00
|
|
|
"eslint-plugin-jest": "^21.15.1",
|
2018-05-10 18:20:20 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
2018-05-21 15:26:04 +00:00
|
|
|
"eslint-plugin-react": "^7.8.2",
|
2018-04-17 21:38:56 +00:00
|
|
|
"eslint-plugin-wpcalypso": "^4.0.1",
|
|
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
2018-06-28 15:23:26 +00:00
|
|
|
"gridicons": "3.0.1",
|
2018-04-17 21:38:56 +00:00
|
|
|
"grunt": "^1.0.2",
|
|
|
|
"grunt-wp-i18n": "^1.0.2",
|
2018-06-26 14:59:35 +00:00
|
|
|
"history": "^4.7.2",
|
2018-05-10 19:17:28 +00:00
|
|
|
"husky": "^0.14.3",
|
2018-08-01 12:21:51 +00:00
|
|
|
"interpolate-components": "1.1.1",
|
2018-05-07 15:19:43 +00:00
|
|
|
"node-sass": "^4.9.0",
|
2018-07-20 03:40:15 +00:00
|
|
|
"postcss-color-function": "^4.0.1",
|
2018-07-30 14:05:22 +00:00
|
|
|
"postcss-loader": "^2.1.6",
|
2018-04-17 21:38:56 +00:00
|
|
|
"prettier": "github:automattic/calypso-prettier#c56b4251",
|
2018-05-10 18:35:55 +00:00
|
|
|
"prop-types": "^15.6.1",
|
2018-07-20 03:40:15 +00:00
|
|
|
"raw-loader": "^0.5.1",
|
2018-05-16 14:59:03 +00:00
|
|
|
"react": "^16.3.2",
|
2018-07-06 12:40:05 +00:00
|
|
|
"react-click-outside": "2.3.1",
|
2018-08-31 17:27:21 +00:00
|
|
|
"react-docgen": "^2.21.0",
|
2018-05-16 14:59:03 +00:00
|
|
|
"react-dom": "^16.3.2",
|
2018-05-15 15:06:15 +00:00
|
|
|
"react-router-dom": "^4.2.2",
|
2018-07-19 16:30:25 +00:00
|
|
|
"react-world-flags": "^1.2.4",
|
2018-05-10 19:17:28 +00:00
|
|
|
"readline-sync": "^1.4.9",
|
2018-08-31 17:27:21 +00:00
|
|
|
"recast": "^0.15.3",
|
2018-04-17 21:38:56 +00:00
|
|
|
"sass-loader": "^7.0.1",
|
2018-05-07 15:19:43 +00:00
|
|
|
"style-loader": "^0.21.0",
|
2018-05-21 15:26:04 +00:00
|
|
|
"webpack": "^4.8.3",
|
2018-05-07 15:19:43 +00:00
|
|
|
"webpack-cli": "^2.1.3"
|
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-06-15 18:11:25 +00:00
|
|
|
"d3-array": "^1.2.1",
|
|
|
|
"d3-axis": "^1.0.8",
|
|
|
|
"d3-format": "^1.3.0",
|
|
|
|
"d3-scale": "^2.0.0",
|
|
|
|
"d3-scale-chromatic": "^1.3.0",
|
2018-05-22 13:00:06 +00:00
|
|
|
"d3-selection": "^1.3.0",
|
2018-07-03 14:44:10 +00:00
|
|
|
"d3-shape": "^1.2.0",
|
2018-06-15 18:11:25 +00:00
|
|
|
"d3-time-format": "^2.1.1",
|
2018-05-10 19:23:41 +00:00
|
|
|
"lodash": "^4.17.10",
|
2018-05-28 10:55:19 +00:00
|
|
|
"react-dates": "^16.7.0",
|
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
|
|
|
}
|
|
|
|
}
|