package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "@babel/preset-modules",
  3. "version": "0.1.6-no-external-plugins",
  4. "description": "A Babel preset that targets modern browsers by fixing engine bugs.",
  5. "main": "lib/index.js",
  6. "license": "MIT",
  7. "scripts": {
  8. "start": "concurrently -r 'npm:watch:* -s'",
  9. "build": "babel src -d lib --ignore '**/*.test.js'",
  10. "test": "eslint src test && jest --colors",
  11. "test:browser": "cd test/browser && karmatic --no-coverage --browsers chrome:headless,sauce-chrome-61,sauce-firefox-60,sauce-safari-10,sauce-safari-11,sauce-edge-16,sauce-edge-17 '**/*.js'",
  12. "test:local": "cd test/browser && karmatic --no-coverage '**/*.js'",
  13. "test:safari": "npm run test:local -- --browsers sauce-safari-10",
  14. "test:edge": "npm run test:local -- --browsers sauce-edge-16",
  15. "watch:test": "jest --watch",
  16. "watch:build": "npm run -s build -- -w"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "https://github.com/babel/preset-modules.git"
  21. },
  22. "keywords": [
  23. "babel",
  24. "preset",
  25. "preset-env",
  26. "modern",
  27. "modules",
  28. "ES Modules",
  29. "module/nomodule"
  30. ],
  31. "files": [
  32. "src",
  33. "lib"
  34. ],
  35. "lint-staged": {
  36. "*.js": [
  37. "eslint --format=codeframe"
  38. ]
  39. },
  40. "husky": {
  41. "hooks": {
  42. "pre-commit": "lint-staged"
  43. }
  44. },
  45. "jest": {
  46. "testEnvironment": "node",
  47. "roots": [
  48. "src",
  49. "test"
  50. ]
  51. },
  52. "eslintConfig": {
  53. "extends": "developit",
  54. "rules": {
  55. "no-console": 0,
  56. "new-cap": 0
  57. }
  58. },
  59. "eslintIgnore": [
  60. "test/fixtures/**/*",
  61. "test/integration/**/*"
  62. ],
  63. "authors": [
  64. "Jason Miller <jason@developit.ca>"
  65. ],
  66. "peerDependencies": {
  67. "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0"
  68. },
  69. "devDependencies": {
  70. "@babel/cli": "^7.7.0",
  71. "@babel/core": "^7.7.2",
  72. "@babel/helper-fixtures": "^7.6.3",
  73. "@babel/helper-plugin-test-runner": "^7.14.5",
  74. "@babel/plugin-transform-modules-commonjs": "^7.5.0",
  75. "@babel/plugin-transform-react-jsx": "^7.7.0",
  76. "@babel/preset-env": "^7.9.6",
  77. "acorn-jsx": "^5.0.1",
  78. "babel-eslint": "^10.0.3",
  79. "babel-plugin-add-module-exports": "^1.0.2",
  80. "chalk": "^2.4.2",
  81. "concurrently": "^4.1.0",
  82. "eslint": "^6.6.0",
  83. "eslint-config-babel": "^9.0.0",
  84. "eslint-plugin-flowtype": "3",
  85. "eslint-plugin-import": "^2.18.2",
  86. "eslint-plugin-prettier": "^3.1.1",
  87. "gzip-size": "^5.1.1",
  88. "if-env": "^1.0.4",
  89. "jest": "^24.8.0",
  90. "karmatic": "^1.4.0",
  91. "prettier": "^1.19.1",
  92. "pretty-bytes": "^5.2.0",
  93. "rollup": "^1.16.3",
  94. "rollup-plugin-babel": "^4.3.3",
  95. "rollup-plugin-node-resolve": "^5.2.0",
  96. "terser": "^4.0.2",
  97. "webpack": "^4.35.0"
  98. },
  99. "dependencies": {
  100. "@babel/helper-plugin-utils": "^7.0.0",
  101. "@babel/types": "^7.4.4",
  102. "esutils": "^2.0.2"
  103. }
  104. }