package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "_args": [
  3. [
  4. "babel-plugin-dynamic-import-node@2.2.0",
  5. "/Users/lihai/jolijoli/pad_spa"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "babel-plugin-dynamic-import-node@2.2.0",
  10. "_id": "babel-plugin-dynamic-import-node@2.2.0",
  11. "_inBundle": false,
  12. "_integrity": "sha1-wK37B9lfSkSV6aqsbsOGxNfCUk4=",
  13. "_location": "/babel-plugin-dynamic-import-node",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "babel-plugin-dynamic-import-node@2.2.0",
  19. "name": "babel-plugin-dynamic-import-node",
  20. "escapedName": "babel-plugin-dynamic-import-node",
  21. "rawSpec": "2.2.0",
  22. "saveSpec": null,
  23. "fetchSpec": "2.2.0"
  24. },
  25. "_requiredBy": [
  26. "/@vue/babel-preset-app"
  27. ],
  28. "_resolved": "https://registry.npm.taobao.org/babel-plugin-dynamic-import-node/download/babel-plugin-dynamic-import-node-2.2.0.tgz",
  29. "_spec": "2.2.0",
  30. "_where": "/Users/lihai/jolijoli/pad_spa",
  31. "author": {
  32. "name": "Jordan Gensler",
  33. "email": "jordan.gensler@airbnb.com"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/airbnb/babel-plugin-dynamic-import-node/issues"
  37. },
  38. "dependencies": {
  39. "object.assign": "^4.1.0"
  40. },
  41. "description": "Babel plugin to transpile import() to a deferred require(), for node",
  42. "devDependencies": {
  43. "airbnb-js-shims": "^2.1.1",
  44. "babel-cli": "^6.26.0",
  45. "babel-core": "^6.26.3",
  46. "babel-eslint": "^9.0.0",
  47. "babel-plugin-add-module-exports": "^0.2.1",
  48. "babel-plugin-transform-es2015-template-literals": "^6.22.0",
  49. "babel-plugin-transform-replace-object-assign": "^1.0.0",
  50. "babel-preset-airbnb": "^2.6.0",
  51. "babel-preset-es2015": "^6.24.1",
  52. "babel-register": "^6.26.0",
  53. "eslint": "^5.6.1",
  54. "eslint-config-airbnb-base": "^13.1.0",
  55. "eslint-plugin-import": "^2.14.0",
  56. "in-publish": "^2.0.0",
  57. "rimraf": "^2.6.2",
  58. "safe-publish-latest": "^1.1.2",
  59. "tape": "^4.9.1"
  60. },
  61. "directories": {
  62. "test": "test"
  63. },
  64. "homepage": "https://github.com/airbnb/babel-plugin-dynamic-import-node#readme",
  65. "keywords": [
  66. "babel",
  67. "plugin",
  68. "dynamic",
  69. "import",
  70. "node"
  71. ],
  72. "license": "MIT",
  73. "main": "lib/index.js",
  74. "name": "babel-plugin-dynamic-import-node",
  75. "repository": {
  76. "type": "git",
  77. "url": "git+https://github.com/airbnb/babel-plugin-dynamic-import-node.git"
  78. },
  79. "scripts": {
  80. "build": "babel src --out-dir lib",
  81. "check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
  82. "check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0",
  83. "clean": "rimraf lib",
  84. "lint": "eslint .",
  85. "postversion": "git commit package.json CHANGELOG.md -m \"v$npm_package_version\" && npm run tag && git push && git push --tags",
  86. "prebuild": "npm run clean",
  87. "prepublish": "not-in-publish || (safe-publish-latest && npm run build)",
  88. "pretest": "npm run lint",
  89. "preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed",
  90. "tag": "git tag v$npm_package_version",
  91. "test": "npm run tests-only",
  92. "tests-only": "tape --require airbnb-js-shims --require babel-register test",
  93. "version:major": "npm --no-git-tag-version version major",
  94. "version:minor": "npm --no-git-tag-version version minor",
  95. "version:patch": "npm --no-git-tag-version version patch"
  96. },
  97. "version": "2.2.0"
  98. }