package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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:core-js-passing": "node ./node_modules/eslint/bin/eslint.js --quiet --config=.eslintrc.passing.json --ext=.es6.js . || exit 0",
  13. "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. "lint:css": "stylelint \"**/*.css\" || exit 0",
  15. "lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js || exit 0"
  16. },
  17. "devDependencies": {
  18. "babel-core": "^6.26.0",
  19. "babel-plugin-add-header-comment": "^1.0.3",
  20. "babel-preset-env": "^1.4.0",
  21. "chalk": "^2.3.0",
  22. "chokidar": "^2.0.0",
  23. "cross-env": "^5.1.3",
  24. "eslint": "^3.19.0",
  25. "eslint-config-airbnb": "^14.1.0",
  26. "eslint-plugin-import": "^2.2.0",
  27. "eslint-plugin-jsx-a11y": "^4.0.0",
  28. "eslint-plugin-react": "^6.10.3",
  29. "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. "babel": {
  37. "presets": [
  38. [
  39. "env",
  40. {
  41. "modules": false,
  42. "targets": {
  43. "browsers": [
  44. "ie >= 9",
  45. "edge >= 13",
  46. "firefox >= 5",
  47. "opera >= 12",
  48. "safari >= 5",
  49. "chrome >= 56"
  50. ]
  51. }
  52. }
  53. ]
  54. ]
  55. }
  56. }