UNPKG

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