{ "name": "esprima", "description": "ECMAScript parsing infrastructure for multipurpose analysis", "homepage": "http://esprima.org", "main": "esprima.js", "bin": { "esparse": "./bin/esparse.js", "esvalidate": "./bin/esvalidate.js" }, "version": "2.7.0", "files": [ "bin", "unit-tests.js", "esprima.js" ], "engines": { "node": ">=0.10.0" }, "author": { "name": "Ariya Hidayat", "email": "ariya.hidayat@gmail.com" }, "maintainers": [ { "name": "Ariya Hidayat", "email": "ariya.hidayat@gmail.com", "url": "http://ariya.ofilabs.com" } ], "repository": { "type": "git", "url": "git+https://github.com/jquery/esprima.git" }, "bugs": { "url": "https://github.com/jquery/esprima/issues" }, "license": "BSD-2-Clause", "devDependencies": { "codecov.io": "~0.1.6", "escomplex-js": "1.2.0", "eslint": "~1.7.2", "everything.js": "~1.0.3", "glob": "^5.0.15", "istanbul": "~0.4.0", "jscs": "~2.3.5", "json-diff": "~0.3.1", "karma": "^0.13.11", "karma-chrome-launcher": "^0.2.1", "karma-detect-browsers": "^2.0.2", "karma-firefox-launcher": "^0.1.6", "karma-ie-launcher": "^0.2.0", "karma-mocha": "^0.2.0", "karma-safari-launcher": "^0.1.1", "karma-sauce-launcher": "^0.2.14", "lodash": "^3.10.0", "mocha": "^2.3.3", "node-tick-processor": "~0.0.2", "regenerate": "~1.2.1", "temp": "~0.8.3", "unicode-7.0.0": "~0.1.5" }, "keywords": [ "ast", "ecmascript", "javascript", "parser", "syntax" ], "scripts": { "check-version": "node test/check-version.js", "jscs": "jscs -p crockford esprima.js && jscs -p crockford test/*.js", "eslint": "node node_modules/eslint/bin/eslint.js -c .lintrc esprima.js", "complexity": "node test/check-complexity.js", "static-analysis": "npm run check-version && npm run jscs && npm run eslint && npm run complexity", "unit-tests": "node test/unit-tests.js", "grammar-tests": "node test/grammar-tests.js", "regression-tests": "node test/regression-tests.js", "all-tests": "npm run generate-fixtures && npm run unit-tests && npm run grammar-tests && npm run regression-tests", "generate-fixtures": "node tools/generate-fixtures.js", "browser-tests": "npm run generate-fixtures && cd test && karma start --single-run", "saucelabs-evergreen": "cd test && karma start saucelabs-evergreen.conf.js", "saucelabs-safari": "cd test && karma start saucelabs-safari.conf.js", "saucelabs-ie": "cd test && karma start saucelabs-ie.conf.js", "analyze-coverage": "istanbul cover test/unit-tests.js", "check-coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100", "dynamic-analysis": "npm run analyze-coverage && npm run check-coverage", "test": "npm run all-tests && npm run static-analysis && npm run dynamic-analysis", "profile": "node --prof test/profile.js && mv isolate*.log v8.log && node-tick-processor", "benchmark": "node test/benchmarks.js", "benchmark-quick": "node test/benchmarks.js quick", "codecov": "istanbul report cobertura && codecov < ./coverage/cobertura-coverage.xml", "downstream": "node test/downstream.js", "travis": "npm test", "circleci": "npm test && npm run codecov && npm run downstream", "appveyor": "npm run all-tests && npm run browser-tests && npm run dynamic-analysis", "droneio": "npm test && npm run saucelabs-evergreen && npm run saucelabs-ie && npm run saucelabs-safari", "generate-regex": "node tools/generate-identifier-regex.js" }, "readme": "[![NPM version](https://img.shields.io/npm/v/esprima.svg)](https://www.npmjs.com/package/esprima)\n[![npm download](https://img.shields.io/npm/dm/esprima.svg)](https://www.npmjs.com/package/esprima)\n[![Build Status](https://img.shields.io/travis/jquery/esprima/master.svg)](https://travis-ci.org/jquery/esprima)\n[![Coverage Status](https://img.shields.io/codecov/c/github/jquery/esprima/master.svg)](https://codecov.io/github/jquery/esprima)\n\n**Esprima** ([esprima.org](http://esprima.org), BSD license) is a high performance,\nstandard-compliant [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm)\nparser written in ECMAScript (also popularly known as\n[JavaScript](https://en.wikipedia.org/wiki/JavaScript)).\nEsprima is created and maintained by [Ariya Hidayat](https://twitter.com/ariyahidayat),\nwith the help of [many contributors](https://github.com/jquery/esprima/contributors).\n\n### Features\n\n- Full support for ECMAScript 6 ([ECMA-262](http://www.ecma-international.org/publications/standards/Ecma-262.htm))\n- Sensible [syntax tree format](https://github.com/estree/estree/blob/master/spec.md) as standardized by [ESTree project](https://github.com/estree/estree)\n- Optional tracking of syntax node location (index-based and line-column)\n- [Heavily tested](http://esprima.org/test/ci.html) (~1250 [unit tests](https://github.com/jquery/esprima/tree/master/test/fixtures) with [full code coverage](https://codecov.io/github/jquery/esprima))\n\nEsprima serves as a **building block** for some JavaScript\nlanguage tools, from [code instrumentation](http://esprima.org/demo/functiontrace.html)\nto [editor autocompletion](http://esprima.org/demo/autocomplete.html).\n\nEsprima runs on many popular web browsers, as well as other ECMAScript platforms such as\n[Rhino](http://www.mozilla.org/rhino), [Nashorn](http://openjdk.java.net/projects/nashorn/), and [Node.js](https://npmjs.org/package/esprima).\n\nFor more information, check the web site [esprima.org](http://esprima.org).\n", "readmeFilename": "README.md", "_id": "esprima@2.7.0", "_shasum": "74cfb0e4ae43f0b81541dcc30050f9dacb1f707e", "_resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.0.tgz", "_from": "esprima@>=2.6.0 <3.0.0" }