| 1 |
{ |
| 2 |
"name": "esniff", |
| 3 |
"version": "2.0.1", |
| 4 |
"description": "Low footprint ECMAScript source code parser", |
| 5 |
"author": "Mariusz Nowak <[email protected]> (http://www.medikoo.com/)", |
| 6 |
"keywords": [ |
| 7 |
"sniff", |
| 8 |
"analyze", |
| 9 |
"ast", |
| 10 |
"parse", |
| 11 |
"syntax", |
| 12 |
"sniffer", |
| 13 |
"detective", |
| 14 |
"detect", |
| 15 |
"find", |
| 16 |
"search", |
| 17 |
"source", |
| 18 |
"code" |
| 19 |
], |
| 20 |
"repository": "medikoo/esniff", |
| 21 |
"dependencies": { |
| 22 |
"d": "^1.0.1", |
| 23 |
"es5-ext": "^0.10.62", |
| 24 |
"event-emitter": "^0.3.5", |
| 25 |
"type": "^2.7.2" |
| 26 |
}, |
| 27 |
"devDependencies": { |
| 28 |
"eslint": "^8.56.0", |
| 29 |
"eslint-config-medikoo": "^4.2.0", |
| 30 |
"esprima": "^4.0.1", |
| 31 |
"github-release-from-cc-changelog": "^2.3.0", |
| 32 |
"nyc": "^15.1.0", |
| 33 |
"prettier-elastic": "^2.7.1", |
| 34 |
"tad": "^3.1.1" |
| 35 |
}, |
| 36 |
"eslintConfig": { |
| 37 |
"extends": "medikoo/es5", |
| 38 |
"root": true, |
| 39 |
"overrides": [ |
| 40 |
{ |
| 41 |
"files": [ |
| 42 |
"index.js" |
| 43 |
], |
| 44 |
"rules": { |
| 45 |
"max-depth": "off" |
| 46 |
} |
| 47 |
}, |
| 48 |
{ |
| 49 |
"files": [ |
| 50 |
"index.js", |
| 51 |
"utils/is-variable-name.js" |
| 52 |
], |
| 53 |
"rules": { |
| 54 |
"max-lines": "off" |
| 55 |
} |
| 56 |
}, |
| 57 |
{ |
| 58 |
"files": [ |
| 59 |
"utils/is-variable-name.js" |
| 60 |
], |
| 61 |
"rules": { |
| 62 |
"no-misleading-character-class": "off" |
| 63 |
} |
| 64 |
}, |
| 65 |
{ |
| 66 |
"files": [ |
| 67 |
"test/**" |
| 68 |
], |
| 69 |
"env": { |
| 70 |
"node": true |
| 71 |
} |
| 72 |
} |
| 73 |
] |
| 74 |
}, |
| 75 |
"eslintIgnore": [ |
| 76 |
"/coverage", |
| 77 |
"/test/__playground" |
| 78 |
], |
| 79 |
"prettier": { |
| 80 |
"printWidth": 100, |
| 81 |
"tabWidth": 4, |
| 82 |
"overrides": [ |
| 83 |
{ |
| 84 |
"files": [ |
| 85 |
"*.md", |
| 86 |
"*.yml" |
| 87 |
], |
| 88 |
"options": { |
| 89 |
"tabWidth": 2 |
| 90 |
} |
| 91 |
} |
| 92 |
] |
| 93 |
}, |
| 94 |
"nyc": { |
| 95 |
"all": true, |
| 96 |
"exclude": [ |
| 97 |
".github", |
| 98 |
"coverage/**", |
| 99 |
"test/**", |
| 100 |
"*.config.js" |
| 101 |
], |
| 102 |
"reporter": [ |
| 103 |
"lcov", |
| 104 |
"html", |
| 105 |
"text-summary" |
| 106 |
] |
| 107 |
}, |
| 108 |
"scripts": { |
| 109 |
"coverage": "nyc npm test", |
| 110 |
"lint": "eslint .", |
| 111 |
"lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'", |
| 112 |
"prettier-check": "prettier -c \"**/*.{css,html,js,json,md,yaml,yml}\"", |
| 113 |
"prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c", |
| 114 |
"prettify": "prettier --write \"**/*.{css,html,js,json,md,yaml,yml}\"", |
| 115 |
"prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write", |
| 116 |
"test": "node ./node_modules/tad/bin/tad" |
| 117 |
}, |
| 118 |
"engines": { |
| 119 |
"node": ">=0.10" |
| 120 |
}, |
| 121 |
"license": "ISC" |
| 122 |
} |