98 lines
3.3 KiB
JSON
Executable File
98 lines
3.3 KiB
JSON
Executable File
{
|
|
"name": "wc-admin",
|
|
"version": "0.1.0",
|
|
"main": "js/index.js",
|
|
"author": "Automattic",
|
|
"license": "GPL-2.0-or-later",
|
|
"repository": "",
|
|
"engines": {
|
|
"node": "8.11.0",
|
|
"npm": "5.6.0"
|
|
},
|
|
"scripts": {
|
|
"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",
|
|
"build": "NODE_ENV=production webpack",
|
|
"prestart": "npm run -s install-if-deps-outdated",
|
|
"start": "webpack --watch",
|
|
"lint": "npm run -s install-if-deps-outdated && eslint client --ext=js,jsx",
|
|
"i18n": "pot-to-php ./languages/wc-admin.pot ./languages/wc-admin.php wc-admin && grunt i18n",
|
|
"precommit": "npm run -s install-if-no-packages && node bin/pre-commit-hook.js",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "9.0.1",
|
|
"@babel/core": "^7.0.0-beta.54",
|
|
"@babel/plugin-transform-async-to-generator": "^7.0.0-beta.54",
|
|
"@wordpress/api-request": "^1.0.0-alpha.3",
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "^1.0.1",
|
|
"@wordpress/babel-plugin-makepot": "^2.0.1",
|
|
"@wordpress/babel-preset-default": "^2.0.2",
|
|
"@wordpress/browserslist-config": "^2.2.0",
|
|
"@wordpress/components": "^1.0.1",
|
|
"@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",
|
|
"@wordpress/scripts": "^2.0.2",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-loader": "^8.0.0-beta.4",
|
|
"chalk": "^2.4.1",
|
|
"core-js": "^2.5.7",
|
|
"css-loader": "^0.28.11",
|
|
"eslint": "^4.18.2",
|
|
"eslint-config-wpcalypso": "^4.0.0",
|
|
"eslint-loader": "^2.0.0",
|
|
"eslint-plugin-jest": "^21.15.1",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-react": "^7.8.2",
|
|
"eslint-plugin-wpcalypso": "^4.0.1",
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
"gridicons": "3.0.1",
|
|
"grunt": "^1.0.2",
|
|
"grunt-wp-i18n": "^1.0.2",
|
|
"history": "^4.7.2",
|
|
"husky": "^0.14.3",
|
|
"interpolate-components": "1.1.1",
|
|
"node-sass": "^4.9.0",
|
|
"postcss-loader": "^2.1.6",
|
|
"prettier": "github:automattic/calypso-prettier#c56b4251",
|
|
"prop-types": "^15.6.1",
|
|
"react": "^16.3.2",
|
|
"react-click-outside": "2.3.1",
|
|
"react-dom": "^16.3.2",
|
|
"react-router-dom": "^4.2.2",
|
|
"react-world-flags": "^1.2.4",
|
|
"readline-sync": "^1.4.9",
|
|
"sass-loader": "^7.0.1",
|
|
"style-loader": "^0.21.0",
|
|
"webpack": "^4.8.3",
|
|
"webpack-cli": "^2.1.3"
|
|
},
|
|
"dependencies": {
|
|
"classnames": "^2.2.5",
|
|
"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",
|
|
"d3-selection": "^1.3.0",
|
|
"d3-shape": "^1.2.0",
|
|
"d3-time-format": "^2.1.1",
|
|
"lodash": "^4.17.10",
|
|
"react-dates": "^16.7.0",
|
|
"react-slot-fill": "^2.0.1",
|
|
"react-transition-group": "^2.4.0",
|
|
"redux": "^4.0.0"
|
|
}
|
|
}
|