UNPKG

2.37 kBJSONView Raw
1{
2 "name": "esprima-fb",
3 "description": "Facebook-specific fork of the esprima project",
4 "homepage": "https://github.com/facebook/esprima/tree/fb-harmony",
5 "main": "esprima.js",
6 "bin": {
7 "esparse": "./bin/esparse.js",
8 "esvalidate": "./bin/esvalidate.js"
9 },
10 "version": "14001.1.0-dev-harmony-fb",
11 "files": [
12 "bin",
13 "test/run.js",
14 "test/runner.js",
15 "test/test.js",
16 "test/compat.js",
17 "test/reflect.js",
18 "esprima.js"
19 ],
20 "engines": {
21 "node": ">=0.4.0"
22 },
23 "author": {
24 "name": "Ariya Hidayat",
25 "email": "ariya.hidayat@gmail.com"
26 },
27 "maintainers": [{
28 "name": "Jeff Morrison",
29 "email": "jeffmo@fb.com",
30 "web": "https://www.facebook.com/lbljeffmo"
31 }],
32 "repository": {
33 "type": "git",
34 "url": "http://github.com/facebook/esprima.git"
35 },
36 "bugs": {
37 "url": "http://issues.esprima.org"
38 },
39 "licenses": [{
40 "type": "BSD",
41 "url": "http://github.com/facebook/esprima/raw/master/LICENSE.BSD"
42 }],
43 "devDependencies": {
44 "eslint": "~0.12.0",
45 "jscs": "~1.10.0",
46 "istanbul": "~0.2.6",
47 "escomplex-js": "1.0.0",
48 "complexity-report": "~1.1.1",
49 "regenerate": "~0.5.4",
50 "unicode-6.3.0": "~0.1.0",
51 "json-diff": "~0.3.1",
52 "commander": "~2.5.0"
53 },
54 "scripts": {
55 "generate-regex": "node tools/generate-identifier-regex.js",
56
57 "test": "node test/run.js && npm run lint && npm run coverage",
58
59 "lint": "npm run check-version && npm run eslint && npm run jscs && npm run complexity",
60 "check-version": "node tools/check-version.js",
61 "jscs": "jscs esprima.js test/*test.js",
62 "eslint": "node node_modules/eslint/bin/eslint.js esprima.js",
63 "complexity": "node tools/list-complexity.js && cr -s -l -w --maxcyc 18 esprima.js",
64
65 "coverage": "npm run analyze-coverage && npm run check-coverage",
66 "analyze-coverage": "node node_modules/istanbul/lib/cli.js cover test/runner.js",
67 "check-coverage": "node node_modules/istanbul/lib/cli.js check-coverage --statement 100 --branch 100 --function 100",
68
69 "benchmark": "node test/benchmarks.js",
70 "benchmark-quick": "node test/benchmarks.js quick"
71 }
72}