{ "name": "woocommerce", "title": "WooCommerce", "version": "3.4.0", "homepage": "https://woocommerce.com/", "repository": { "type": "git", "url": "https://github.com/woocommerce/woocommerce.git" }, "license": "GPL-3.0+", "main": "Gruntfile.js", "scripts": { "build": "grunt", "build-watch": "grunt watch", "lint:js": "eslint assets/js --ext=js", "test": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --require babel-register --recursive", "test:grep": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --require babel-register --grep ", "test:single": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha --require babel-register" }, "devDependencies": { "autoprefixer": "~8.6.2", "babel": "^6.5.2", "babel-cli": "^6.14.0", "babel-eslint": "^8.2.3", "babel-plugin-add-module-exports": "^0.2.1", "babel-preset-es2015": "^6.14.0", "babel-preset-stage-2": "^6.13.0", "chai": "^4.1.2", "chai-as-promised": "^7.1.1", "chromedriver": "^2.40.0", "config": "^1.24.0", "cross-env": "^5.1.6", "eslint": "5.8.0", "eslint-config-wpcalypso": "4.0.1", "eslint-plugin-wpcalypso": "4.0.2", "grunt": "^1.0.3", "grunt-checktextdomain": "~1.0.1", "grunt-contrib-clean": "~1.1.0", "grunt-contrib-concat": "~1.0.1", "grunt-contrib-cssmin": "~2.2.1", "grunt-contrib-jshint": "~1.1.0", "grunt-contrib-uglify": "~3.3.0", "grunt-contrib-watch": "^1.1.0", "grunt-phpcs": "~0.4.0", "grunt-postcss": "~0.9.0", "grunt-prompt": "^1.3.3", "grunt-rtlcss": "~2.0.1", "grunt-sass": "~2.1.0", "grunt-shell": "~2.1.0", "grunt-stylelint": "~0.10.0", "grunt-wp-i18n": "~1.0.1", "husky": "^1.1.4", "istanbul": "^1.0.0-alpha", "lint-staged": "^8.0.5", "mocha": "^5.2.0", "prettier": "github:automattic/calypso-prettier#c56b4251", "stylelint": "~9.2.1", "stylelint-config-wordpress": "^13.1.0", "wc-e2e-page-objects": "0.10.0" }, "engines": { "node": ">=8.9.3", "npm": ">=5.5.1" }, "dependencies": { "github-contributors-list": "https://github.com/woocommerce/github-contributors-list/tarball/master" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "linters": { "*.php": [ "php -d display_errors=1 -l", "composer run-script phpcs" ], "*.scss": [ "stylelint --syntax=scss --fix", "git add" ], "*.js": [ "eslint --fix", "git add" ] }, "ignore": [ "*.min.js", "*.css" ] } }