Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
317 lines (316 sloc) 13.9 KB
{
"name": "wp-calypso",
"version": "0.17.0",
"description": "A pure REST-API and JS based version of the WordPress.com admin",
"private": true,
"license": "GPL-2.0+",
"repository": {
"type": "git",
"url": "https://github.com/Automattic/wp-calypso.git"
},
"main": "index.js",
"bin": {
"calypso-sdk": "./bin/sdk-cli.js"
},
"browserslist": [
"last 2 versions",
"Safari >= 10",
"iOS >= 10",
"not ie <= 10",
"> 1%"
],
"dependencies": {
"@babel/core": "7.0.0-beta.55",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.55",
"@babel/plugin-proposal-export-default-from": "7.0.0-beta.55",
"@babel/plugin-proposal-export-namespace-from": "7.0.0-beta.55",
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.55",
"@babel/plugin-syntax-jsx": "7.0.0-beta.55",
"@babel/plugin-transform-runtime": "7.0.0-beta.55",
"@babel/polyfill": "7.0.0-beta.55",
"@babel/preset-env": "7.0.0-beta.55",
"@babel/preset-react": "7.0.0-beta.55",
"@babel/runtime": "7.0.0-beta.55",
"@wordpress/a11y": "1.1.3",
"@wordpress/api-fetch": "1.1.1",
"@wordpress/block-library": "1.0.0",
"@wordpress/block-serialization-spec-parser": "1.0.1",
"@wordpress/blocks": "2.0.0",
"@wordpress/components": "2.0.0",
"@wordpress/compose": "1.0.3",
"@wordpress/core-data": "1.1.0",
"@wordpress/data": "1.2.1",
"@wordpress/deprecated": "1.0.3",
"@wordpress/editor": "2.0.0",
"@wordpress/element": "1.0.3",
"@wordpress/hooks": "1.3.3",
"@wordpress/i18n": "1.2.3",
"@wordpress/keycodes": "1.0.3",
"@wordpress/nux": "1.1.0",
"@wordpress/plugins": "1.0.3",
"@wordpress/url": "1.2.3",
"@wordpress/viewport": "1.0.3",
"autoprefixer": "9.1.1",
"autosize": "4.0.2",
"babel-loader": "8.0.0-beta.4",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-export-extensions": "6.22.0",
"blob": "0.0.4",
"body-parser": "1.18.3",
"bounding-client-rect": "1.0.5",
"browser-filesaver": "1.1.1",
"chalk": "2.4.1",
"chokidar": "2.0.4",
"chrono-node": "1.3.5",
"circular-dependency-plugin": "5.0.2",
"classnames": "2.2.6",
"click-outside": "2.0.2",
"clipboard": "2.0.1",
"component-closest": "1.0.1",
"component-file-picker": "0.2.1",
"cookie": "0.3.1",
"cookie-parser": "1.4.3",
"copy-webpack-plugin": "4.5.2",
"core-js": "2.5.7",
"cpf_cnpj": "0.2.0",
"create-react-class": "15.6.3",
"creditcards": "3.0.1",
"cross-env": "5.2.0",
"css-loader": "1.0.0",
"d3-array": "1.2.1",
"d3-axis": "1.0.8",
"d3-scale": "2.1.0",
"d3-selection": "1.3.0",
"d3-shape": "1.2.0",
"debug": "3.1.0",
"deep-freeze": "0.0.1",
"diff": "3.5.0",
"doctrine": "2.1.0",
"dom-helpers": "3.3.1",
"dom-scroll-into-view": "1.2.1",
"dompurify": "1.0.7",
"draft-js": "0.10.5",
"email-validator": "2.0.4",
"emoji-text": "0.2.6",
"escape-regexp": "0.0.1",
"escape-string-regexp": "1.0.5",
"events": "3.0.0",
"exports-loader": "0.7.0",
"express": "4.16.3",
"express-useragent": "1.0.12",
"filesize": "3.6.1",
"flag-icon-css": "3.0.0",
"flux": "3.1.3",
"fuse.js": "3.2.1",
"get-video-id": "3.1.0",
"globby": "8.0.1",
"gridicons": "3.0.1",
"gzip-size": "5.0.0",
"hash.js": "1.1.5",
"he": "1.1.1",
"html-loader": "0.5.5",
"html-to-react": "1.3.3",
"i18n-calypso": "2.0.1",
"immutability-helper": "2.7.1",
"immutable": "3.7.6",
"imports-loader": "0.8.0",
"inherits": "2.0.3",
"is-my-json-valid": "2.19.0",
"jquery": "1.12.3",
"json-stable-stringify": "1.0.1",
"jsx-to-string": "1.4.0",
"key-mirror": "1.0.1",
"keymaster": "1.6.2",
"loader-utils": "1.1.0",
"localforage": "1.7.2",
"lodash": "4.17.10",
"lru": "3.1.0",
"lunr": "2.3.1",
"markdown-loader": "3.0.0",
"marked": "0.4.0",
"mini-css-extract-plugin": "0.4.1",
"mkdirp": "0.5.1",
"moment": "2.22.2",
"morgan": "1.9.0",
"node-sass": "4.9.3",
"notifications-panel": "2.2.3",
"npm-run-all": "4.1.3",
"objectpath": "1.2.1",
"page": "1.8.6",
"path-browserify": "1.0.0",
"percentage-regex": "3.0.0",
"phone": "git+https://github.com/Automattic/node-phone.git#1.0.8",
"photon": "2.0.1",
"postcss-cli": "6.0.0",
"postcss-custom-properties": "7.0.0",
"prismjs": "1.15.0",
"prop-types": "15.6.2",
"qrcode.react": "0.8.0",
"qs": "6.5.2",
"react": "16.4.2",
"react-click-outside": "3.0.1",
"react-day-picker": "7.1.10",
"react-dom": "16.4.2",
"react-lazily-render": "1.1.0",
"react-live": "1.11.0",
"react-modal": "3.5.1",
"react-pure-render": "1.0.2",
"react-redux": "5.0.7",
"react-transition-group": "1.2.1",
"react-virtualized": "9.20.1",
"redux": "4.0.0",
"redux-form": "7.4.2",
"redux-thunk": "2.3.0",
"refx": "3.1.1",
"rememo": "3.0.0",
"rtlcss": "2.4.0",
"sass-loader": "7.1.0",
"social-logos": "2.0.0",
"socket.io-client": "2.1.1",
"source-map": "0.7.3",
"source-map-support": "0.5.8",
"store": "1.3.20",
"striptags": "2.2.1",
"superagent": "3.8.3",
"terser-webpack-plugin": "1.0.1",
"textarea-caret": "3.1.0",
"thread-loader": "1.2.0",
"tinymce": "4.8.1",
"to-title-case": "1.0.0",
"tracekit": "0.4.5",
"twemoji": "11.0.1",
"url": "0.11.0",
"uuid": "3.3.2",
"valid-url": "1.0.9",
"webpack": "4.16.5",
"webpack-cli": "3.1.0",
"webpack-dev-middleware": "3.1.3",
"wpcom": "5.4.2",
"wpcom-oauth": "0.3.4",
"wpcom-proxy-request": "5.0.0",
"wpcom-xhr-request": "1.1.2",
"yargs": "12.0.1"
},
"engines": {
"node": "^10.5.0",
"npm": "^6.1.0"
},
"scripts": {
"preanalyze-bundles": "cross-env-shell CALYPSO_ENV=production EMIT_STATS=true npm run -s build-client",
"analyze-bundles": "webpack-bundle-analyzer stats.json public -h 127.0.0.1 -p 9898 -s gzip",
"analyze-css": "node bin/analyze-css.js",
"autoprefixer": "postcss -u autoprefixer -r --no-map",
"postcss": "postcss -r",
"prebuild": "npm run -s install-if-deps-outdated",
"build": "npm run build-css && run-p -s build-devdocs:* build-server build-client-if-prod build-client-if-desktop",
"build-css": "run-p -s build-css:*",
"build-css:debug": "node-sass --include-path client --source-map \"public/style-debug.css.map\" assets/stylesheets/style.scss public/style-debug.css && npm run -s postcss -- public/style-debug.css && rtlcss public/style-debug.css public/style-debug-rtl.css",
"build-css:directly": "node-sass --include-path client assets/stylesheets/directly.scss public/directly.css --output-style compressed && npm run -s autoprefixer -- public/directly.css",
"build-css:emergent-paywall": "node-sass --include-path client assets/stylesheets/emergent-paywall.scss public/emergent-paywall.css --output-style compressed && npm run -s autoprefixer -- public/emergent-paywall.css",
"build-css:editor": "node-sass --include-path client assets/stylesheets/editor.scss public/editor.css --output-style compressed && npm run -s autoprefixer -- public/editor.css",
"build-css:style": "node-sass --include-path client assets/stylesheets/style.scss public/style.css --output-style compressed && npm run -s postcss -- public/style.css && rtlcss public/style.css public/style-rtl.css",
"build-css:sections": "node-sass assets/stylesheets/sections --include-path client -o public/sections --source-map public/sections --output-style compressed && node bin/process-extensions-scss.js && npm run -s autoprefixer -- public/sections/*.css && rtlcss -d public/sections public/sections-rtl",
"prebuild-desktop": "npm run -s install-if-deps-outdated",
"build-desktop": "run-p -s build-server build-css",
"postbuild-desktop": "npm run -s bundle",
"build-devdocs:components-usage-stats": "cross-env-shell NODE_PATH=$NODE_PATH:server:client:. npm run -s build-devdocs:components-usage-stats:_env",
"build-devdocs:components-usage-stats:_env": "node server/devdocs/bin/generate-components-usage-stats.js \"client/**/*.js\" \"client/**/*.jsx\" \"!**/docs/**\" \"!**/test/**\" \"!**/docs-example/**\"",
"build-devdocs:index": "cross-env-shell NODE_PATH=$NODE_PATH:server:client:. npm run -s build-devdocs:index:_env",
"build-devdocs:index:_env": "node server/devdocs/bin/generate-devdocs-index",
"build-docker": "node bin/build-docker.js",
"prebuild-server": "mkdirp build",
"build-server": "cross-env-shell CALYPSO_SERVER=true NODE_PATH=$NODE_PATH:server:client:. webpack --display-error-details --config webpack.config.node.js",
"build-client": "cross-env-shell CALYPSO_CLIENT=true NODE_PATH=$NODE_PATH:server:client:. node --max_old_space_size=8192 ./node_modules/webpack/bin/webpack.js --display-error-details",
"build-client-if-prod": "node -e \"process.env.CALYPSO_ENV === 'production' && process.exit(1)\" || npm run build-client",
"build-client-if-desktop": "node -e \"process.env.CALYPSO_ENV === 'desktop' && process.exit(1)\" || npm run build-client",
"sdk:gutenberg": "node bin/sdk-cli.js gutenberg",
"clean": "npm run -s clean:build && npm run -s clean:devdocs && npm run -s clean:public",
"clean:build": "npm run -s rm -- build && npm run -s rm -- server/bundler .json && npm run -s rm -- .babel-cache",
"clean:devdocs": "npm run -s rm -- server/devdocs/search-index.js && npm run -s rm -- server/devdocs/proptypes-index.json && npm run -s rm -- server/devdocs/components-usage-stats.json",
"clean:public": "npm run -s rm -- public .css .css.map .js .js.map && npm run -s rm -- public/sections .css .css.map && npm run -s rm -- public/sections-rtl .css .css.map",
"distclean": "npm run -s clean && npm run -s rm -- node_modules",
"docker": "docker run -it --name wp-calypso --rm -p 80:3000 wp-calypso",
"eslint-branch": "node bin/eslint-branch.js",
"install-if-deps-outdated": "node bin/install-if-deps-outdated.js",
"install-if-no-packages": "node bin/install-if-no-packages.js",
"lint": "run-s -s lint:*",
"lint:config-defaults": "node server/config/validate-config-keys.js",
"lint:css": "stylelint \"client/**/*.scss\" --syntax scss",
"lint:js": "npm run -s install-if-deps-outdated && eslint-eslines .",
"lint:mixedindent": "mixedindentlint --ignore-comments \"client/**/*.scss\" \"assets/**/*.scss\" \"**/*.js\" \"**/*.jsx\" \"!build/**\" \"!node_modules/**\" \"!public/**\" \"!client/config/index.js\"",
"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",
"rm": "node bin/rm.js",
"prestart": "npx check-node-version --package && npm run -s install-if-deps-outdated && node bin/welcome.js",
"start": "npm run -s build",
"poststart": "cross-env-shell CALYPSO_CLIENT=true NODE_PATH=$NODE_PATH:server:client:. node $NODE_ARGS build/bundle.js",
"reformat-files": "./node_modules/.bin/prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"",
"pretest": "npm run -s install-if-deps-outdated",
"test": "run-s -s test-client test-server",
"pretest-client": "npm run -s pretest",
"test-client": "jest -c=test/client/jest.config.json",
"test-client:ci": "cross-env-shell TEST_REPORT_FILENAME=./test-results-client.xml jest -c=test/client/jest.config.ci.js -w=2",
"test-client:watch": "npm run -s test-client -- --watch",
"pretest-integration": "npm run -s pretest",
"test-integration": "jest -c=test/integration/jest.config.json",
"test-integration:ci": "cross-env-shell TEST_REPORT_FILENAME=./test-results-integration.xml jest -c=test/integration/jest.config.ci.js -w=2",
"test-integration:watch": "npm run -s test-integration -- --watch",
"pretest-server": "npm run -s pretest",
"test-server": "jest -c=test/server/jest.config.json",
"test-server:ci": "cross-env-shell TEST_REPORT_FILENAME=./test-results-server.xml jest -c=test/server/jest.config.ci.js -w=2",
"test-server:coverage": "npm run -s test-server -- --coverage",
"test-server:watch": "npm run -s test-server -- --watch",
"translate": "i18n-calypso --format pot --output-file ./calypso-strings.pot -e date \"**/*.js\" \"**/*.jsx\" \"!build/**\" \"!node_modules/**\" \"!public/**\"",
"update-deps": "npm run -s rm -- node_modules && npm run -s rm -- npm-shrinkwrap.json && npm install && npm shrinkwrap",
"postshrinkwrap": "node -e \"fs.utimesSync( './node_modules', new Date(), new Date() );\""
},
"devDependencies": {
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "8.2.6",
"babel-jest": "23.4.2",
"chai": "4.1.2",
"chai-enzyme": "1.0.0-beta.1",
"check-node-version": "3.2.0",
"enzyme": "3.4.1",
"enzyme-adapter-react-16": "1.2.0",
"enzyme-to-json": "3.3.4",
"eslines": "1.1.0",
"eslint": "4.19.1",
"eslint-config-prettier": "3.0.1",
"eslint-config-wpcalypso": "4.0.0",
"eslint-eslines": "1.0.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jest": "21.21.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-react": "7.11.1",
"eslint-plugin-wpcalypso": "4.0.2",
"fs-extra": "7.0.0",
"glob": "7.1.2",
"husky": "0.14.3",
"jest": "23.5.0",
"jest-docblock": "23.2.0",
"jest-junit-reporter": "1.1.0",
"markdown-it": "8.4.2",
"md5-file": "4.0.0",
"mixedindentlint": "1.2.0",
"nock": "9.6.1",
"npm-merge-driver": "2.3.5",
"prettier": "github:Automattic/wp-prettier#wp-prettier-1.14.0",
"pretty-bytes": "5.1.0",
"react-test-renderer": "16.4.2",
"readline-sync": "1.4.9",
"sinon": "6.1.5",
"sinon-chai": "3.2.0",
"socket.io": "2.1.1",
"stacktrace-gps": "3.0.2",
"stylelint": "9.4.0",
"supertest": "3.1.0",
"terminal-kit": "1.26.1",
"webpack-bundle-analyzer": "2.13.1",
"webpack-hot-middleware": "2.22.3"
},
"optionalDependencies": {
"fsevents": "1.2.4"
}
}