UNPKG

3.04 kBJSONView Raw
1{
2 "name": "sucrase",
3 "version": "3.25.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 "test262": "sucrase-node spec-compliance-tests/test262/run-test262.ts",
31 "check-babel-tests": "sucrase-node spec-compliance-tests/babel-tests/check-babel-tests.ts",
32 "test-with-coverage": "nyc mocha './test/**/*.ts'",
33 "report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
34 },
35 "repository": {
36 "type": "git",
37 "url": "https://github.com/alangpierce/sucrase.git"
38 },
39 "keywords": [
40 "babel",
41 "jsx",
42 "typescript",
43 "flow"
44 ],
45 "bugs": {
46 "url": "https://github.com/alangpierce/sucrase/issues"
47 },
48 "devDependencies": {
49 "@babel/core": "^7.18.6",
50 "@types/glob": "^7",
51 "@types/mocha": "^9.1.1",
52 "@types/mz": "^2.7.4",
53 "@types/node": "^17.0.41",
54 "@typescript-eslint/eslint-plugin": "^5.27.1",
55 "@typescript-eslint/parser": "^5.27.1",
56 "chalk": "^4",
57 "codecov": "^3.8.3",
58 "eslint": "^8.17.0",
59 "eslint-config-airbnb-base": "^15.0.0",
60 "eslint-config-prettier": "^8.5.0",
61 "eslint-plugin-import": "^2.26.0",
62 "eslint-plugin-prettier": "^4.0.0",
63 "mocha": "^10.0.0",
64 "nyc": "^15.1.0",
65 "prettier": "^2.6.2",
66 "sucrase": "^3.24.0",
67 "test262-harness": "^10.0.0",
68 "ts-interface-builder": "^0.3.3",
69 "typescript": "^4.7.3"
70 },
71 "dependencies": {
72 "commander": "^4.0.0",
73 "glob": "7.1.6",
74 "lines-and-columns": "^1.1.6",
75 "mz": "^2.7.0",
76 "pirates": "^4.0.1",
77 "ts-interface-checker": "^0.1.9"
78 },
79 "engines": {
80 "node": ">=8"
81 },
82 "resolutions": {
83 "**/eshost/socket.io": "^2"
84 }
85}