package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "Drupal",
  3. "description": "Drupal is an open source content management platform powering millions of websites and applications.",
  4. "license": "GPL-2.0",
  5. "private": true,
  6. "scripts": {
  7. "build:js": "node ./scripts/js/babel-es6-build.js",
  8. "build:js-dev": "cross-env NODE_ENV=development node ./scripts/js/babel-es6-build.js",
  9. "watch:js": "node ./scripts/js/babel-es6-watch.js",
  10. "watch:js-dev": "cross-env NODE_ENV=development node ./scripts/js/babel-es6-watch.js",
  11. "lint:core-js": "node ./node_modules/eslint/bin/eslint.js --ext=.es6.js . || exit 0",
  12. "lint:css": "stylelint \"**/*.css\" || exit 0",
  13. "lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js || exit 0"
  14. },
  15. "devDependencies": {
  16. "babel-core": "6.24.1",
  17. "babel-plugin-add-header-comment": "1.0.3",
  18. "babel-preset-env": "1.4.0",
  19. "chalk": "^1.1.3",
  20. "chokidar": "1.6.1",
  21. "cross-env": "^4.0.0",
  22. "eslint": "3.19.0",
  23. "eslint-config-airbnb": "14.1.0",
  24. "eslint-plugin-import": "2.2.0",
  25. "eslint-plugin-jsx-a11y": "4.0.0",
  26. "eslint-plugin-react": "6.10.3",
  27. "glob": "7.1.1",
  28. "minimist": "^1.2.0",
  29. "stylelint": "^7.10.1",
  30. "stylelint-checkstyle-formatter": "^0.1.0",
  31. "stylelint-config-standard": "^16.0.0",
  32. "stylelint-no-browser-hacks": "^1.0.2"
  33. },
  34. "babel": {
  35. "presets": [
  36. [
  37. "env",
  38. {
  39. "modules": false,
  40. "targets": {
  41. "browsers": [
  42. "ie >= 9",
  43. "edge >= 13",
  44. "firefox >= 5",
  45. "opera >= 12",
  46. "safari >= 5",
  47. "chrome >= 56"
  48. ]
  49. }
  50. }
  51. ]
  52. ]
  53. }
  54. }