@mizchi/sucrase
Version:
Super-fast alternative to Babel for when you can target modern JS runtimes
79 lines (78 loc) • 2.67 kB
JSON
{
"name": "@mizchi/sucrase",
"version": "4.1.0",
"description": "Super-fast alternative to Babel for when you can target modern JS runtimes",
"author": "Alan Pierce <alangpierce@gmail.com>",
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"scripts": {
"build": "rollup -c",
"clean": "rm -rf ./build ./dist ./dist-self-build ./dist-types ./example-runner/example-repos ./test262/test262-checkout",
"generate": "ts-node generator/generate.ts",
"benchmark": "cd benchmark && yarn && sucrase-node ./benchmark.ts",
"benchmark-compare": "sucrase-node ./benchmark/compare-performance.ts",
"microbenchmark": "sucrase-node benchmark/microbenchmark.ts",
"lint": "eslint src --ext .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 build",
"release": "sucrase-node script/release.ts",
"run-examples": "sucrase-node example-runner/example-runner.ts",
"test": "folio --config=test/folio.config.ts",
"test262": "node -r esbuild-register 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": {
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@types/glob": "7.1.3",
"@types/mz": "^2.7.3",
"@types/node": "^15.0.3",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"@wessberg/rollup-plugin-ts": "^1.3.14",
"esbuild": "^0.13.12",
"esbuild-register": "^3.0.0",
"eslint": "^7.26.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.0",
"eslint-plugin-prettier": "^3.4.0",
"folio": "0.4.0-alpha6",
"mocha": "^9.1.3",
"prettier": "^2.3.0",
"rollup": "^2.47.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"test262-harness": "^7.7.0",
"ts-interface-builder": "^0.3.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"engines": {
"node": ">=14"
},
"files": [
"dist",
"bin"
],
"dependencies": {
"lines-and-columns": "^1.1.6"
}
}