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",
|
|
|
|
"test:watch": "npm run test -- --watch"
|
2018-04-17 21:38:56 +00:00
|
|
|
},
|
2018-04-17 21:03:14 +00:00
|
|
|
"devDependencies": {
|
2018-05-21 15:26:04 +00:00
|
|
|
"@wordpress/babel-plugin-makepot": "^1.0.1",
|
|
|
|
"@wordpress/babel-preset-default": "^1.2.1",
|
|
|
|
"@wordpress/i18n": "^1.1.1",
|
|
|
|
"@wordpress/jest-preset-default": "^1.0.6",
|
|
|
|
"@wordpress/scripts": "^1.1.5",
|
2018-05-07 15:19:43 +00:00
|
|
|
"babel-core": "^6.26.3",
|
2018-04-17 21:38:56 +00:00
|
|
|
"babel-eslint": "^8.2.3",
|
|
|
|
"babel-loader": "^7.1.4",
|
2018-04-17 23:51:48 +00:00
|
|
|
"babel-plugin-transform-async-generator-functions": "^6.24.1",
|
2018-05-10 19:17:28 +00:00
|
|
|
"chalk": "^2.4.1",
|
2018-04-17 21:38:56 +00:00
|
|
|
"css-loader": "^0.28.11",
|
|
|
|
"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-07-14 09:20:10 +00:00
|
|
|
"gutenberg": "github:WordPress/gutenberg#v3.2.0",
|
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-05-07 15:19:43 +00:00
|
|
|
"node-sass": "^4.9.0",
|
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-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-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-05-10 19:17:28 +00:00
|
|
|
"readline-sync": "^1.4.9",
|
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-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-18 17:31:08 +00:00
|
|
|
"prop-types": "^15.6.1",
|
2018-05-28 10:55:19 +00:00
|
|
|
"react-dates": "^16.7.0",
|
2018-05-18 17:31:08 +00:00
|
|
|
"react-slot-fill": "^2.0.1"
|
2018-04-17 21:03:14 +00:00
|
|
|
}
|
|
|
|
}
|