UNPKG

sucrase

Version:

Super-fast alternative to Babel for when you can target modern JS runtimes

96 lines (95 loc) 3.29 kB
{ "name": "sucrase", "version": "3.16.0", "description": "Super-fast alternative to Babel for when you can target modern JS runtimes", "author": "Alan Pierce <alangpierce@gmail.com>", "license": "MIT", "main": "dist/index", "module": "dist/index.mjs", "types": "dist/index.d.ts", "bin": { "sucrase": "./bin/sucrase", "sucrase-node": "./bin/sucrase-node" }, "scripts": { "build": "sucrase-node script/build.ts", "fast-build": "sucrase-node script/build.ts --fast", "clean": "rm -rf ./build ./dist ./dist-self-build ./dist-types ./example-runner/example-repos ./test262/test262-checkout", "generate": "sucrase-node generator/generate.ts", "benchmark": "sucrase-node benchmark/benchmark.ts", "microbenchmark": "sucrase-node benchmark/microbenchmark.ts", "benchmark-react": "sucrase-node benchmark/benchmark-react.ts", "benchmark-project": "sucrase-node benchmark/benchmark-project.ts", "lint": "sucrase-node script/lint.ts", "profile": "node --inspect-brk ./node_modules/.bin/sucrase-node ./benchmark/profile", "profile-project": "node --inspect-brk ./node_modules/.bin/sucrase-node ./benchmark/benchmark-project.ts --profile", "prepublishOnly": "yarn clean && yarn build", "release": "sucrase-node script/release.ts", "run-examples": "sucrase-node example-runner/example-runner.ts", "test": "yarn lint && yarn test-only", "test-only": "mocha './test/**/*.ts'", "test262": "sucrase-node test262/run-test262.ts", "test-with-coverage": "nyc mocha './test/**/*.ts'", "report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov" }, "repository": { "type": "git", "url": "https://github.com/alangpierce/sucrase.git" }, "keywords": [ "babel", "jsx", "typescript", "flow" ], "bugs": { "url": "https://github.com/alangpierce/sucrase/issues" }, "devDependencies": { "@babel/cli": "^7.7.0", "@babel/core": "^7.7.2", "@babel/plugin-proposal-class-properties": "^7.7.0", "@babel/plugin-proposal-object-rest-spread": "^7.6.2", "@babel/plugin-transform-modules-commonjs": "^7.7.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.7.0", "@babel/preset-typescript": "^7.7.2", "@types/glob": "7.1.1", "@types/mocha": "^5.2.7", "@types/mz": "^0.0.32", "@types/node": "^12.12.7", "@typescript-eslint/parser": "^2.33.0", "chalk": "2.4.1", "codecov": "^3.6.1", "eslint": "^6.6.0", "eslint-config-airbnb-base": "^14.0.0", "eslint-config-prettier": "^6.5.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-prettier": "^3.1.1", "eslint-plugin-typescript": "^0.14.0", "mocha": "^7.1.1", "nyc": "^14.1.1", "prettier": "^2.0.5", "sucrase": "^3.15.0", "test262-harness": "^6.5.0", "ts-interface-builder": "^0.2.1", "tslint": "^5.20.1", "typescript": "^3.7.2", "typescript-tslint-plugin": "^0.5.4", "yargs-parser": "^19.0.4" }, "dependencies": { "commander": "^4.0.0", "glob": "7.1.6", "lines-and-columns": "^1.1.6", "mz": "^2.7.0", "pirates": "^4.0.1", "ts-interface-checker": "^0.1.9" }, "engines": { "node": ">=8" }, "resolutions": { "**/eshost/socket.io": "^2" } }