1 | {
|
2 | "name": "sucrase",
|
3 | "version": "3.31.0",
|
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 | "profile": "node --inspect-brk ./node_modules/.bin/sucrase-node ./benchmark/profile",
|
24 | "profile-project": "node --inspect-brk ./node_modules/.bin/sucrase-node ./benchmark/benchmark-project.ts --profile",
|
25 | "prepublishOnly": "yarn clean && yarn build",
|
26 | "release": "sucrase-node script/release.ts",
|
27 | "run-examples": "sucrase-node example-runner/example-runner.ts",
|
28 | "test": "yarn lint && yarn test-only",
|
29 | "test-only": "mocha './test/**/*.ts'",
|
30 | "integration-test": "cd integration-test && yarn && yarn link @sucrase/jest-plugin && mocha --timeout 10000 ./integration-tests.ts",
|
31 | "test262": "sucrase-node spec-compliance-tests/test262/run-test262.ts",
|
32 | "check-babel-tests": "sucrase-node spec-compliance-tests/babel-tests/check-babel-tests.ts",
|
33 | "test-with-coverage": "nyc mocha './test/**/*.ts'",
|
34 | "report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
|
35 | },
|
36 | "repository": {
|
37 | "type": "git",
|
38 | "url": "https://github.com/alangpierce/sucrase.git"
|
39 | },
|
40 | "keywords": [
|
41 | "babel",
|
42 | "jsx",
|
43 | "typescript",
|
44 | "flow"
|
45 | ],
|
46 | "bugs": {
|
47 | "url": "https://github.com/alangpierce/sucrase/issues"
|
48 | },
|
49 | "devDependencies": {
|
50 | "@babel/core": "^7.18.6",
|
51 | "@types/glob": "^7",
|
52 | "@types/mocha": "^9.1.1",
|
53 | "@types/mz": "^2.7.4",
|
54 | "@types/node": "^17.0.41",
|
55 | "@typescript-eslint/eslint-plugin": "^5.27.1",
|
56 | "@typescript-eslint/parser": "^5.27.1",
|
57 | "chalk": "^4",
|
58 | "codecov": "^3.8.3",
|
59 | "eslint": "^8.17.0",
|
60 | "eslint-config-airbnb-base": "^15.0.0",
|
61 | "eslint-config-prettier": "^8.5.0",
|
62 | "eslint-plugin-import": "~2.26",
|
63 | "eslint-plugin-prettier": "^4.0.0",
|
64 | "mocha": "^10.0.0",
|
65 | "nyc": "^15.1.0",
|
66 | "prettier": "^2.6.2",
|
67 | "sucrase": "^3.30.0",
|
68 | "test262-harness": "^10.0.0",
|
69 | "ts-interface-builder": "^0.3.3",
|
70 | "typescript": "~4.7"
|
71 | },
|
72 | "dependencies": {
|
73 | "commander": "^4.0.0",
|
74 | "glob": "7.1.6",
|
75 | "lines-and-columns": "^1.1.6",
|
76 | "mz": "^2.7.0",
|
77 | "pirates": "^4.0.1",
|
78 | "ts-interface-checker": "^0.1.9"
|
79 | },
|
80 | "engines": {
|
81 | "node": ">=8"
|
82 | },
|
83 | "resolutions": {
|
84 | "**/eshost/socket.io": "^4"
|
85 | }
|
86 | }
|