UNPKG

2.04 kBJSONView Raw
1{
2 "name": "lebab",
3 "version": "3.2.1",
4 "description": "Turn your ES5 code into readable ES6/ES7",
5 "main": "index.js",
6 "scripts": {
7 "lint": "eslint src/ test/ system-test/ bin/ *.js",
8 "build": "rm -rf lib/ && babel src/ --out-dir lib/",
9 "prepublishOnly": "npm run build",
10 "system-test": "npm run build && mocha --require @babel/register \"./system-test/**/*Test.js\"",
11 "//": "Unit tests: a) for single run, b) in watch-mode, c) with coverage.",
12 "test": "mocha --require @babel/register \"./test/**/*Test.js\"",
13 "watch": "mocha --watch --require @babel/register \"./test/**/*Test.js\"",
14 "coverage": "nyc npm test",
15 "///": "These are used by Travis to create coverage report. Run 'coverage' script first.",
16 "ensure-coverage": "nyc check-coverage --statements 80 --branches 80 --functions 80",
17 "upload-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
18 },
19 "types": "./types/index.d.ts",
20 "engines": {
21 "node": ">=6"
22 },
23 "files": [
24 "lib",
25 "bin",
26 "index.js"
27 ],
28 "repository": {
29 "type": "git",
30 "url": "https://github.com/lebab/lebab"
31 },
32 "bin": {
33 "lebab": "bin/index.js"
34 },
35 "keywords": [
36 "es5",
37 "es6",
38 "es2015",
39 "es7",
40 "es2016",
41 "transpiler",
42 "transpile"
43 ],
44 "author": "Mohamad Mohebifar <mohamad@mohebifar.com>",
45 "license": "MIT",
46 "bugs": {
47 "url": "https://github.com/lebab/lebab/issues"
48 },
49 "homepage": "https://github.com/lebab/lebab",
50 "dependencies": {
51 "commander": "^10.0.0",
52 "escope": "^4.0.0",
53 "espree": "^9.5.0",
54 "estraverse": "^5.3.0",
55 "f-matches": "^1.1.0",
56 "glob": "^9.2.1",
57 "lodash": "^4.17.11",
58 "recast": "^0.22.0"
59 },
60 "devDependencies": {
61 "@babel/cli": "^7.4.4",
62 "@babel/core": "^7.21.0",
63 "@babel/preset-env": "^7.20.2",
64 "@babel/register": "^7.21.0",
65 "chai": "^4.3.7",
66 "codecov": "^3.5.0",
67 "eslint": "^8.36.0",
68 "eslint-plugin-no-null": "^1.0.2",
69 "mocha": "^10.2.0",
70 "nyc": "^15.1.0"
71 }
72}