UNPKG

3.29 kBJSONView Raw
1{
2 "name": "sucrase",
3 "version": "3.16.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",
8 "module": "dist/index.mjs",
9 "types": "dist/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": "sucrase-node benchmark/benchmark.ts",
20 "microbenchmark": "sucrase-node benchmark/microbenchmark.ts",
21 "benchmark-react": "sucrase-node benchmark/benchmark-react.ts",
22 "benchmark-project": "sucrase-node benchmark/benchmark-project.ts",
23 "lint": "sucrase-node script/lint.ts",
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 "test262": "sucrase-node test262/run-test262.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/cli": "^7.7.0",
50 "@babel/core": "^7.7.2",
51 "@babel/plugin-proposal-class-properties": "^7.7.0",
52 "@babel/plugin-proposal-object-rest-spread": "^7.6.2",
53 "@babel/plugin-transform-modules-commonjs": "^7.7.0",
54 "@babel/preset-flow": "^7.0.0",
55 "@babel/preset-react": "^7.7.0",
56 "@babel/preset-typescript": "^7.7.2",
57 "@types/glob": "7.1.1",
58 "@types/mocha": "^5.2.7",
59 "@types/mz": "^0.0.32",
60 "@types/node": "^12.12.7",
61 "@typescript-eslint/parser": "^2.33.0",
62 "chalk": "2.4.1",
63 "codecov": "^3.6.1",
64 "eslint": "^6.6.0",
65 "eslint-config-airbnb-base": "^14.0.0",
66 "eslint-config-prettier": "^6.5.0",
67 "eslint-plugin-import": "^2.18.2",
68 "eslint-plugin-prettier": "^3.1.1",
69 "eslint-plugin-typescript": "^0.14.0",
70 "mocha": "^7.1.1",
71 "nyc": "^14.1.1",
72 "prettier": "^2.0.5",
73 "sucrase": "^3.15.0",
74 "test262-harness": "^6.5.0",
75 "ts-interface-builder": "^0.2.1",
76 "tslint": "^5.20.1",
77 "typescript": "^3.7.2",
78 "typescript-tslint-plugin": "^0.5.4",
79 "yargs-parser": "^19.0.4"
80 },
81 "dependencies": {
82 "commander": "^4.0.0",
83 "glob": "7.1.6",
84 "lines-and-columns": "^1.1.6",
85 "mz": "^2.7.0",
86 "pirates": "^4.0.1",
87 "ts-interface-checker": "^0.1.9"
88 },
89 "engines": {
90 "node": ">=8"
91 },
92 "resolutions": {
93 "**/eshost/socket.io": "^2"
94 }
95}