package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "babel-preset-env",
  3. "version": "1.7.0",
  4. "description": "A Babel preset for each environment.",
  5. "author": "Henry Zhu <hi@henryzoo.com>",
  6. "homepage": "https://babeljs.io/",
  7. "license": "MIT",
  8. "repository": "https://github.com/babel/babel-preset-env",
  9. "main": "lib/index.js",
  10. "scripts": {
  11. "build": "rimraf lib && babel src -d lib",
  12. "build-data": "node ./scripts/build-data.js",
  13. "changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'",
  14. "coverage": "BABEL_ENV=test nyc npm run test",
  15. "coverage-ci": "nyc report --reporter=json && codecov -f coverage/coverage-final.json",
  16. "dev": "babel -w src -d lib",
  17. "fix": "eslint . --fix",
  18. "lint": "eslint .",
  19. "prepublish": "npm run build",
  20. "test": "npm run build && npm run test-only",
  21. "test-ci": "nyc npm run test",
  22. "test-only": "mocha ./test --compilers js:babel-register -t 10000"
  23. },
  24. "dependencies": {
  25. "babel-plugin-check-es2015-constants": "^6.22.0",
  26. "babel-plugin-syntax-trailing-function-commas": "^6.22.0",
  27. "babel-plugin-transform-async-to-generator": "^6.22.0",
  28. "babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
  29. "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0",
  30. "babel-plugin-transform-es2015-block-scoping": "^6.23.0",
  31. "babel-plugin-transform-es2015-classes": "^6.23.0",
  32. "babel-plugin-transform-es2015-computed-properties": "^6.22.0",
  33. "babel-plugin-transform-es2015-destructuring": "^6.23.0",
  34. "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0",
  35. "babel-plugin-transform-es2015-for-of": "^6.23.0",
  36. "babel-plugin-transform-es2015-function-name": "^6.22.0",
  37. "babel-plugin-transform-es2015-literals": "^6.22.0",
  38. "babel-plugin-transform-es2015-modules-amd": "^6.22.0",
  39. "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
  40. "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0",
  41. "babel-plugin-transform-es2015-modules-umd": "^6.23.0",
  42. "babel-plugin-transform-es2015-object-super": "^6.22.0",
  43. "babel-plugin-transform-es2015-parameters": "^6.23.0",
  44. "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0",
  45. "babel-plugin-transform-es2015-spread": "^6.22.0",
  46. "babel-plugin-transform-es2015-sticky-regex": "^6.22.0",
  47. "babel-plugin-transform-es2015-template-literals": "^6.22.0",
  48. "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0",
  49. "babel-plugin-transform-es2015-unicode-regex": "^6.22.0",
  50. "babel-plugin-transform-exponentiation-operator": "^6.22.0",
  51. "babel-plugin-transform-regenerator": "^6.22.0",
  52. "browserslist": "^3.2.6",
  53. "invariant": "^2.2.2",
  54. "semver": "^5.3.0"
  55. },
  56. "devDependencies": {
  57. "babel-cli": "^6.23.0",
  58. "babel-eslint": "^7.1.1",
  59. "babel-helper-fixtures": "^6.22.0",
  60. "babel-helper-plugin-test-runner": "^6.22.0",
  61. "babel-plugin-istanbul": "^3.1.2",
  62. "babel-preset-env": "^1.4.0",
  63. "babel-register": "^6.23.0",
  64. "chai": "^3.5.0",
  65. "codecov": "^1.0.1",
  66. "compat-table": "kangax/compat-table#957f1ff15972e8fb2892a172f985e9af27bf1c75",
  67. "eslint": "^3.17.1",
  68. "eslint-config-babel": "^6.0.0",
  69. "eslint-plugin-flowtype": "^2.29.1",
  70. "fs-extra": "~2.0.0",
  71. "lodash": "^4.17.4",
  72. "mocha": "^3.2.0",
  73. "nyc": "^10.1.2",
  74. "electron-to-chromium": "^1.3.11",
  75. "rimraf": "^2.6.1"
  76. },
  77. "babel": {
  78. "presets": [
  79. [
  80. "env",
  81. {
  82. "loose": true
  83. }
  84. ]
  85. ],
  86. "env": {
  87. "test": {
  88. "plugins": [
  89. "istanbul"
  90. ]
  91. }
  92. }
  93. },
  94. "nyc": {
  95. "all": true,
  96. "include": [
  97. "src/*.js"
  98. ],
  99. "instrument": false,
  100. "sourceMap": false
  101. }
  102. }