package.json 1.98 KB
Newer Older
1 2 3 4 5 6
{
  "name": "Drupal",
  "description": "Drupal is an open source content management platform powering millions of websites and applications.",
  "license": "GPL-2.0",
  "private": true,
  "scripts": {
7
    "build:js": "node ./scripts/js/babel-es6-build.js",
8 9 10 11
    "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",
12 13
    "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",
14 15
    "lint:css": "stylelint \"**/*.css\" || exit 0",
    "lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js || exit 0"
16 17
  },
  "devDependencies": {
18 19 20 21 22 23 24 25 26 27 28 29
    "babel-core": "^6.26.0",
    "babel-plugin-add-header-comment": "^1.0.3",
    "babel-preset-env": "^1.4.0",
    "chalk": "^2.3.0",
    "chokidar": "^2.0.0",
    "cross-env": "^5.1.3",
    "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",
    "glob": "^7.1.1",
30
    "minimist": "^1.2.0",
31
    "stylelint": "^9.1.1",
32
    "stylelint-checkstyle-formatter": "^0.1.1",
33
    "stylelint-config-standard": "^18.2.0",
34
    "stylelint-no-browser-hacks": "^1.1.0"
35 36 37
  },
  "babel": {
    "presets": [
38 39 40 41 42 43
      [
        "env",
        {
          "modules": false,
          "targets": {
            "browsers": [
44
              "ie >= 11",
45 46 47 48 49 50 51 52 53
              "edge >= 13",
              "firefox >= 5",
              "opera >= 12",
              "safari >= 5",
              "chrome >= 56"
            ]
          }
        }
      ]
54 55 56
    ]
  }
}