package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "acorn-dynamic-import",
  3. "description": "Support dynamic imports in acorn",
  4. "main": "lib/index.js",
  5. "homepage": "https://github.com/kesne/acorn-dynamic-import",
  6. "author": "Jordan Gensler <jordangens@gmail.com>",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/kesne/acorn-dynamic-import"
  10. },
  11. "license": "MIT",
  12. "scripts": {
  13. "build": "babel src --out-dir lib",
  14. "test": "npm run lint && npm run tests-only",
  15. "lint": "eslint .",
  16. "tests-only": "mocha",
  17. "prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
  18. "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)",
  19. "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",
  20. "version:major": "npm --no-git-tag-version version major",
  21. "version:minor": "npm --no-git-tag-version version minor",
  22. "version:patch": "npm --no-git-tag-version version patch",
  23. "postversion": "git commit package.json CHANGELOG.md -m \"v$npm_package_version\" && npm run tag && git push && git push --tags",
  24. "preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed",
  25. "tag": "git tag v$npm_package_version"
  26. },
  27. "dependencies": {
  28. "acorn": "^4.0.3"
  29. },
  30. "devDependencies": {
  31. "babel-cli": "^6.18.0",
  32. "babel-eslint": "^7.1.1",
  33. "babel-preset-airbnb": "^2.1.1",
  34. "babel-register": "^6.18.0",
  35. "chai": "^3.0.0",
  36. "eslint": "^3.10.2",
  37. "eslint-config-airbnb-base": "^10.0.1",
  38. "eslint-plugin-import": "^2.2.0",
  39. "in-publish": "^2.0.0",
  40. "mocha": "^2.2.5",
  41. "rimraf": "^2.5.4",
  42. "safe-publish-latest": "^1.1.1"
  43. },
  44. "version": "2.0.2"
  45. }