Skip to content
package.json 1.97 KiB
Newer Older
{
  "name": "Drupal",
  "description": "Drupal is an open source content management platform powering millions of websites and applications.",
  "license": "GPL-2.0",
  "private": true,
  "scripts": {
    "build:js": "node ./scripts/js/babel-es6-build.js",
    "build:js-dev": "cross-env NODE_ENV=development node ./scripts/js/babel-es6-build.js",
    "watch:js": "node ./scripts/js/babel-es6-watch.js",
    "watch:js-dev": "cross-env NODE_ENV=development node ./scripts/js/babel-es6-watch.js",
    "lint:core-js": "node ./node_modules/eslint/bin/eslint.js --ext=.es6.js . || exit 0",
    "lint:core-js-passing": "node ./node_modules/eslint/bin/eslint.js --quiet --config=.eslintrc.passing.json --ext=.es6.js . || exit 0",
    "lint:core-js-stats": "node ./node_modules/eslint/bin/eslint.js --format=./scripts/js/eslint-stats-by-type.js --ext=.es6.js . || exit 0",
    "lint:css": "stylelint \"**/*.css\" || exit 0",
    "lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js || exit 0"
    "eslint": "3.19.0",
    "eslint-config-airbnb": "14.1.0",
    "eslint-plugin-import": "2.2.0",
    "eslint-plugin-jsx-a11y": "4.0.0",
    "eslint-plugin-react": "6.10.3",
    "stylelint": "^7.10.1",
    "stylelint-checkstyle-formatter": "^0.1.0",
    "stylelint-config-standard": "^16.0.0",
    "stylelint-no-browser-hacks": "^1.0.2"
      [
        "env",
        {
          "modules": false,
          "targets": {
            "browsers": [
              "ie >= 9",
              "edge >= 13",
              "firefox >= 5",
              "opera >= 12",
              "safari >= 5",
              "chrome >= 56"
            ]
          }
        }
      ]