| [9af201e] | 1 | {
|
|---|
| 2 | "name": "sucrase",
|
|---|
| 3 | "version": "3.35.1",
|
|---|
| 4 | "description": "Super-fast alternative to Babel for when you can target modern JS runtimes",
|
|---|
| 5 | "author": "Alan Pierce <alangpierce@gmail.com>",
|
|---|
| 6 | "license": "MIT",
|
|---|
| 7 | "main": "dist/index.js",
|
|---|
| 8 | "module": "dist/esm/index.js",
|
|---|
| 9 | "types": "dist/types/index.d.ts",
|
|---|
| 10 | "bin": {
|
|---|
| 11 | "sucrase": "./bin/sucrase",
|
|---|
| 12 | "sucrase-node": "./bin/sucrase-node"
|
|---|
| 13 | },
|
|---|
| 14 | "scripts": {
|
|---|
| 15 | "build": "sucrase-node script/build.ts",
|
|---|
| 16 | "fast-build": "sucrase-node script/build.ts --fast",
|
|---|
| 17 | "clean": "rm -rf ./build ./dist ./dist-self-build ./dist-types ./example-runner/example-repos ./spec-compliance-tests/test262/test262-checkout ./spec-compliance-tests/babel-tests/babel-tests-checkout",
|
|---|
| 18 | "generate": "sucrase-node generator/generate.ts",
|
|---|
| 19 | "benchmark": "cd benchmark && yarn && sucrase-node ./benchmark.ts",
|
|---|
| 20 | "benchmark-compare": "sucrase-node ./benchmark/compare-performance.ts",
|
|---|
| 21 | "microbenchmark": "sucrase-node benchmark/microbenchmark.ts",
|
|---|
| 22 | "lint": "sucrase-node script/lint.ts",
|
|---|
| 23 | "lint-fix": "sucrase-node script/lint.ts --fix",
|
|---|
| 24 | "profile": "node --inspect-brk ./node_modules/.bin/sucrase-node ./benchmark/profile",
|
|---|
| 25 | "profile-project": "node --inspect-brk ./node_modules/.bin/sucrase-node ./benchmark/benchmark-project.ts --profile",
|
|---|
| 26 | "prepublishOnly": "yarn clean && yarn build",
|
|---|
| 27 | "release": "sucrase-node script/release.ts",
|
|---|
| 28 | "run-examples": "sucrase-node example-runner/example-runner.ts",
|
|---|
| 29 | "test": "yarn lint && yarn test-only",
|
|---|
| 30 | "test-only": "mocha './test/**/*.ts'",
|
|---|
| 31 | "integration-test": "cd integration-test && yarn && yarn link @sucrase/jest-plugin && mocha --timeout 10000 ./integration-tests.ts",
|
|---|
| 32 | "test262": "sucrase-node spec-compliance-tests/test262/run-test262.ts",
|
|---|
| 33 | "check-babel-tests": "sucrase-node spec-compliance-tests/babel-tests/check-babel-tests.ts",
|
|---|
| 34 | "test-with-coverage": "nyc mocha './test/**/*.ts'",
|
|---|
| 35 | "report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
|
|---|
| 36 | },
|
|---|
| 37 | "repository": {
|
|---|
| 38 | "type": "git",
|
|---|
| 39 | "url": "https://github.com/alangpierce/sucrase.git"
|
|---|
| 40 | },
|
|---|
| 41 | "keywords": [
|
|---|
| 42 | "babel",
|
|---|
| 43 | "jsx",
|
|---|
| 44 | "typescript",
|
|---|
| 45 | "flow"
|
|---|
| 46 | ],
|
|---|
| 47 | "bugs": {
|
|---|
| 48 | "url": "https://github.com/alangpierce/sucrase/issues"
|
|---|
| 49 | },
|
|---|
| 50 | "devDependencies": {
|
|---|
| 51 | "@babel/core": "^7.22.5",
|
|---|
| 52 | "@jridgewell/trace-mapping": "^0.3.18",
|
|---|
| 53 | "@types/mocha": "^9.1.1",
|
|---|
| 54 | "@types/mz": "^2.7.4",
|
|---|
| 55 | "@types/node": "^20.3.2",
|
|---|
| 56 | "@typescript-eslint/eslint-plugin": "^5.60.1",
|
|---|
| 57 | "@typescript-eslint/parser": "^5.60.1",
|
|---|
| 58 | "chalk": "^4",
|
|---|
| 59 | "codecov": "^3.8.3",
|
|---|
| 60 | "eslint": "^8.43.0",
|
|---|
| 61 | "eslint-config-airbnb-base": "^15.0.0",
|
|---|
| 62 | "eslint-config-prettier": "^8.8.0",
|
|---|
| 63 | "eslint-plugin-import": "~2.26",
|
|---|
| 64 | "eslint-plugin-prettier": "^4.2.1",
|
|---|
| 65 | "mocha": "^10.2.0",
|
|---|
| 66 | "nyc": "^15.1.0",
|
|---|
| 67 | "prettier": "^2.8.8",
|
|---|
| 68 | "sucrase": "^3.35.0",
|
|---|
| 69 | "test262-harness": "^10.0.0",
|
|---|
| 70 | "ts-interface-builder": "^0.3.3",
|
|---|
| 71 | "typescript": "~5.0"
|
|---|
| 72 | },
|
|---|
| 73 | "dependencies": {
|
|---|
| 74 | "@jridgewell/gen-mapping": "^0.3.2",
|
|---|
| 75 | "commander": "^4.0.0",
|
|---|
| 76 | "lines-and-columns": "^1.1.6",
|
|---|
| 77 | "mz": "^2.7.0",
|
|---|
| 78 | "pirates": "^4.0.1",
|
|---|
| 79 | "tinyglobby": "^0.2.11",
|
|---|
| 80 | "ts-interface-checker": "^0.1.9"
|
|---|
| 81 | },
|
|---|
| 82 | "engines": {
|
|---|
| 83 | "node": ">=16 || 14 >=14.17"
|
|---|
| 84 | },
|
|---|
| 85 | "resolutions": {
|
|---|
| 86 | "**/eshost/socket.io": "4.7.0"
|
|---|
| 87 | }
|
|---|
| 88 | }
|
|---|