UNPKG

sucrase

Version:

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

82 lines (81 loc) 2.54 kB
{ "name": "sucrase", "version": "1.10.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/src/index.js", "module": "dist/src/index.mjs", "types": "dist/src/index.d.ts", "bin": { "sucrase": "./bin/sucrase" }, "files": [ "bin", "dist", "register" ], "scripts": { "build": "script/build", "clean": "rm -rf ./build ./dist", "self-build": "script/self-build", "self-test": "mocha test/**/*.ts --opts test/mocha-self-test.opts", "benchmark": "node ./build/benchmark/benchmark.js", "lint": "eslint './src/**/*.ts' './test/**/*.ts' './sucrase-babylon/**/*.ts' './integrations/gulp-plugin/src/**/*.ts'", "profile": "node --inspect-brk ./build/benchmark/profile.js", "prepublish": "yarn run build", "run-examples": "ts-node ./example-runner/example-runner.ts", "test": "yarn lint && tsc --noEmit && tsc --project ./integrations/gulp-plugin --noEmit && mocha test", "test-dist": "./node_modules/.bin/mocha build/test --opts test/mocha-self-test.opts" }, "repository": { "type": "git", "url": "https://github.com/alangpierce/sucrase.git" }, "keywords": [ "babel", "jsx", "typescript", "flow" ], "bugs": { "url": "https://github.com/alangpierce/sucrase/issues" }, "homepage": "https://sucrase.io", "devDependencies": { "@babel/cli": "7.0.0-beta.35", "@babel/core": "7.0.0-beta.35", "@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.35", "@babel/preset-react": "7.0.0-beta.35", "@babel/preset-typescript": "^7.0.0-beta.36", "@babel/register": "^7.0.0-beta.35", "@types/babel-core": "^6.25.3", "@types/mocha": "^2.2.43", "@types/node": "^8.0.31", "eslint": "^4.13.1", "eslint-config-airbnb-base": "^12.1.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-prettier": "^2.4.0", "eslint-plugin-tslint": "^2.1.0", "eslint-plugin-typescript": "^0.8.1", "mocha": "^3.5.3", "prettier": "^1.9.2", "ts-node": "^4.0.2", "tslint": "^5.8.0", "tslint-language-service": "^0.9.7", "typescript": "^2.6.2", "typescript-eslint-parser": "^11.0.0" }, "dependencies": { "@types/mz": "^0.0.32", "commander": "^2.12.2", "lines-and-columns": "^1.1.6", "mz": "^2.7.0", "pirates": "^3.0.2", "tslib": "^1.7.1" }, "engines": { "node": ">=8" } }