package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "babylon",
  3. "version": "6.18.0",
  4. "description": "A JavaScript parser",
  5. "author": "Sebastian McKenzie <sebmck@gmail.com>",
  6. "homepage": "https://babeljs.io/",
  7. "license": "MIT",
  8. "keywords": [
  9. "babel",
  10. "javascript",
  11. "parser",
  12. "babylon"
  13. ],
  14. "repository": "https://github.com/babel/babylon",
  15. "main": "lib/index.js",
  16. "files": [
  17. "bin",
  18. "lib"
  19. ],
  20. "devDependencies": {
  21. "ava": "^0.17.0",
  22. "babel-cli": "^6.14.0",
  23. "babel-eslint": "^7.0.0",
  24. "babel-helper-fixtures": "^6.9.0",
  25. "babel-plugin-external-helpers": "^6.18.0",
  26. "babel-plugin-istanbul": "^3.0.0",
  27. "babel-plugin-transform-flow-strip-types": "^6.14.0",
  28. "babel-preset-es2015": "^6.14.0",
  29. "babel-preset-stage-0": "^6.5.0",
  30. "chalk": "^1.1.3",
  31. "codecov": "^1.0.1",
  32. "cross-env": "^2.0.0",
  33. "eslint": "^3.7.1",
  34. "eslint-config-babel": "^6.0.0",
  35. "eslint-plugin-flowtype": "^2.20.0",
  36. "flow-bin": "^0.42.0",
  37. "nyc": "^10.0.0",
  38. "rimraf": "^2.5.4",
  39. "rollup": "^0.41.0",
  40. "rollup-plugin-babel": "^2.6.1",
  41. "rollup-plugin-node-resolve": "^2.0.0",
  42. "rollup-watch": "^3.2.2",
  43. "unicode-9.0.0": "~0.7.0"
  44. },
  45. "bin": {
  46. "babylon": "./bin/babylon.js"
  47. },
  48. "scripts": {
  49. "build": "npm run clean && rollup -c",
  50. "coverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json",
  51. "lint": "eslint src bin",
  52. "clean": "rimraf lib",
  53. "flow": "flow",
  54. "prepublish": "cross-env BABEL_ENV=production npm run build",
  55. "preversion": "npm run test && npm run changelog",
  56. "test": "npm run lint && npm run flow && npm run build -- -m && npm run test-only",
  57. "test-only": "ava",
  58. "test-ci": "nyc npm run test-only",
  59. "changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'",
  60. "watch": "npm run clean && rollup -c --watch"
  61. },
  62. "nyc": {
  63. "include": [
  64. "src/**/*.js",
  65. "bin/**/*.js"
  66. ],
  67. "sourceMap": false,
  68. "instrument": false
  69. },
  70. "ava": {
  71. "files": [
  72. "test/*.js"
  73. ],
  74. "source": [
  75. "src/**/*.js",
  76. "bin/**/*.js"
  77. ]
  78. },
  79. "greenkeeper": {
  80. "ignore": [
  81. "cross-env"
  82. ]
  83. }
  84. }