package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "name": "esprima",
  3. "description": "ECMAScript parsing infrastructure for multipurpose analysis",
  4. "homepage": "http://esprima.org",
  5. "main": "dist/esprima.js",
  6. "bin": {
  7. "esparse": "./bin/esparse.js",
  8. "esvalidate": "./bin/esvalidate.js"
  9. },
  10. "version": "4.0.1",
  11. "files": [
  12. "bin",
  13. "dist/esprima.js"
  14. ],
  15. "engines": {
  16. "node": ">=4"
  17. },
  18. "author": {
  19. "name": "Ariya Hidayat",
  20. "email": "ariya.hidayat@gmail.com"
  21. },
  22. "maintainers": [
  23. {
  24. "name": "Ariya Hidayat",
  25. "email": "ariya.hidayat@gmail.com",
  26. "web": "http://ariya.ofilabs.com"
  27. }
  28. ],
  29. "repository": {
  30. "type": "git",
  31. "url": "https://github.com/jquery/esprima.git"
  32. },
  33. "bugs": {
  34. "url": "https://github.com/jquery/esprima/issues"
  35. },
  36. "license": "BSD-2-Clause",
  37. "devDependencies": {
  38. "codecov.io": "~0.1.6",
  39. "escomplex-js": "1.2.0",
  40. "everything.js": "~1.0.3",
  41. "glob": "~7.1.0",
  42. "istanbul": "~0.4.0",
  43. "json-diff": "~0.3.1",
  44. "karma": "~1.3.0",
  45. "karma-chrome-launcher": "~2.0.0",
  46. "karma-detect-browsers": "~2.2.3",
  47. "karma-edge-launcher": "~0.2.0",
  48. "karma-firefox-launcher": "~1.0.0",
  49. "karma-ie-launcher": "~1.0.0",
  50. "karma-mocha": "~1.3.0",
  51. "karma-safari-launcher": "~1.0.0",
  52. "karma-safaritechpreview-launcher": "~0.0.4",
  53. "karma-sauce-launcher": "~1.1.0",
  54. "lodash": "~3.10.1",
  55. "mocha": "~3.2.0",
  56. "node-tick-processor": "~0.0.2",
  57. "regenerate": "~1.3.2",
  58. "temp": "~0.8.3",
  59. "tslint": "~5.1.0",
  60. "typescript": "~2.3.2",
  61. "typescript-formatter": "~5.1.3",
  62. "unicode-8.0.0": "~0.7.0",
  63. "webpack": "~1.14.0"
  64. },
  65. "keywords": [
  66. "ast",
  67. "ecmascript",
  68. "esprima",
  69. "javascript",
  70. "parser",
  71. "syntax"
  72. ],
  73. "scripts": {
  74. "check-version": "node test/check-version.js",
  75. "tslint": "tslint src/*.ts",
  76. "code-style": "tsfmt --verify src/*.ts && tsfmt --verify test/*.js",
  77. "format-code": "tsfmt -r src/*.ts && tsfmt -r test/*.js",
  78. "complexity": "node test/check-complexity.js",
  79. "static-analysis": "npm run check-version && npm run tslint && npm run code-style && npm run complexity",
  80. "hostile-env-tests": "node test/hostile-environment-tests.js",
  81. "unit-tests": "node test/unit-tests.js",
  82. "api-tests": "mocha -R dot test/api-tests.js",
  83. "grammar-tests": "node test/grammar-tests.js",
  84. "regression-tests": "node test/regression-tests.js",
  85. "all-tests": "npm run verify-line-ending && npm run generate-fixtures && npm run unit-tests && npm run api-tests && npm run grammar-tests && npm run regression-tests && npm run hostile-env-tests",
  86. "verify-line-ending": "node test/verify-line-ending.js",
  87. "generate-fixtures": "node tools/generate-fixtures.js",
  88. "browser-tests": "npm run compile && npm run generate-fixtures && cd test && karma start --single-run",
  89. "saucelabs-evergreen": "cd test && karma start saucelabs-evergreen.conf.js",
  90. "saucelabs-safari": "cd test && karma start saucelabs-safari.conf.js",
  91. "saucelabs-ie": "cd test && karma start saucelabs-ie.conf.js",
  92. "saucelabs": "npm run saucelabs-evergreen && npm run saucelabs-ie && npm run saucelabs-safari",
  93. "analyze-coverage": "istanbul cover test/unit-tests.js",
  94. "check-coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100",
  95. "dynamic-analysis": "npm run analyze-coverage && npm run check-coverage",
  96. "compile": "tsc -p src/ && webpack && node tools/fixupbundle.js",
  97. "test": "npm run compile && npm run all-tests && npm run static-analysis && npm run dynamic-analysis",
  98. "prepublish": "npm run compile",
  99. "profile": "node --prof test/profile.js && mv isolate*.log v8.log && node-tick-processor",
  100. "benchmark-parser": "node -expose_gc test/benchmark-parser.js",
  101. "benchmark-tokenizer": "node --expose_gc test/benchmark-tokenizer.js",
  102. "benchmark": "npm run benchmark-parser && npm run benchmark-tokenizer",
  103. "codecov": "istanbul report cobertura && codecov < ./coverage/cobertura-coverage.xml",
  104. "downstream": "node test/downstream.js",
  105. "travis": "npm test",
  106. "circleci": "npm test && npm run codecov && npm run downstream",
  107. "appveyor": "npm run compile && npm run all-tests && npm run browser-tests",
  108. "droneio": "npm run compile && npm run all-tests && npm run saucelabs",
  109. "generate-regex": "node tools/generate-identifier-regex.js",
  110. "generate-xhtml-entities": "node tools/generate-xhtml-entities.js"
  111. }
  112. }