123 lines
4.3 KiB
JSON
Executable File
123 lines
4.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.0.0",
|
|
"npm": ">=6.0.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": "cross-env NODE_ENV=production webpack",
|
|
"postbuild": "npm run -s i18n:php && npm run -s i18n:pot",
|
|
"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: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",
|
|
"i18n:check": "grunt checktextdomain",
|
|
"i18n": "npm run -s i18n:js && npm run -s i18n:php && npm run -s i18n:check && npm run -s i18n:pot",
|
|
"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",
|
|
"docs": "node ./bin/generate-docs"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.1.0",
|
|
"@babel/core": "^7.1.0",
|
|
"@babel/plugin-transform-async-to-generator": "^7.1.0",
|
|
"@babel/runtime-corejs2": "^7.0.0",
|
|
"@wordpress/api-fetch": "^2.0.0",
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "^1.1.0",
|
|
"@wordpress/babel-plugin-makepot": "^2.1.0",
|
|
"@wordpress/babel-preset-default": "^2.1.0",
|
|
"@wordpress/browserslist-config": "^2.2.2",
|
|
"@wordpress/components": "^3.0.0",
|
|
"@wordpress/data": "^2.0.0",
|
|
"@wordpress/date": "^2.0.0",
|
|
"@wordpress/element": "^2.0.0",
|
|
"@wordpress/hooks": "^2.0.0",
|
|
"@wordpress/html-entities": "^2.0.0",
|
|
"@wordpress/i18n": "^2.0.0",
|
|
"@wordpress/jest-preset-default": "^2.0.4",
|
|
"@wordpress/keycodes": "^2.0.0",
|
|
"@wordpress/postcss-themes": "^1.0.4",
|
|
"@wordpress/scripts": "^2.2.1",
|
|
"ast-types": "^0.11.5",
|
|
"autoprefixer": "^9.1.5",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-eslint": "^9.0.0",
|
|
"babel-loader": "^8.0.2",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"chalk": "^2.4.1",
|
|
"core-js": "^2.5.7",
|
|
"cross-env": "^5.2.0",
|
|
"css-loader": "^1.0.0",
|
|
"deep-freeze": "^0.0.1",
|
|
"docsify-cli": "github:docsifyjs/docsify-cli#5df38996",
|
|
"eslint": "^5.6.0",
|
|
"eslint-config-wpcalypso": "^4.0.1",
|
|
"eslint-loader": "^2.0.0",
|
|
"eslint-plugin-jest": "^21.22.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"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",
|
|
"gridicons": "3.1.1",
|
|
"grunt": "^1.0.2",
|
|
"grunt-checktextdomain": "^1.0.1",
|
|
"grunt-wp-i18n": "^1.0.2",
|
|
"history": "^4.7.2",
|
|
"html-to-react": "^1.3.3",
|
|
"husky": "^0.14.3",
|
|
"marked": "^0.5.0",
|
|
"interpolate-components": "^1.1.1",
|
|
"node-sass": "^4.9.3",
|
|
"postcss-color-function": "^4.0.1",
|
|
"postcss-loader": "^3.0.0",
|
|
"prettier": "github:automattic/calypso-prettier#c56b4251",
|
|
"prop-types": "^15.6.1",
|
|
"raw-loader": "^0.5.1",
|
|
"react": "^16.5.1",
|
|
"react-click-outside": "^3.0.1",
|
|
"react-docgen": "^2.21.0",
|
|
"react-dom": "^16.5.1",
|
|
"react-live": "^1.11.0",
|
|
"react-router-dom": "^4.2.2",
|
|
"react-world-flags": "^1.2.4",
|
|
"readline-sync": "^1.4.9",
|
|
"recast": "^0.15.5",
|
|
"sass-loader": "^7.1.0",
|
|
"style-loader": "^0.23.0",
|
|
"webpack": "^4.19.1",
|
|
"webpack-cli": "^3.1.0"
|
|
},
|
|
"dependencies": {
|
|
"browser-filesaver": "^1.1.1",
|
|
"classnames": "^2.2.5",
|
|
"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",
|
|
"lodash": "^4.17.11",
|
|
"react-dates": "^18.0.4",
|
|
"react-slot-fill": "^2.0.1",
|
|
"react-transition-group": "^2.4.0",
|
|
"redux": "^4.0.0"
|
|
}
|
|
}
|