1 | {
|
2 | "name": "sucrase",
|
3 | "version": "3.14.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",
|
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 | "@types/yargs-parser": "^13.1.0",
|
62 | "@typescript-eslint/parser": "^2.6.1",
|
63 | "chalk": "2.4.1",
|
64 | "codecov": "^3.6.1",
|
65 | "eslint": "^6.6.0",
|
66 | "eslint-config-airbnb-base": "^14.0.0",
|
67 | "eslint-config-prettier": "^6.5.0",
|
68 | "eslint-plugin-import": "^2.18.2",
|
69 | "eslint-plugin-prettier": "^3.1.1",
|
70 | "eslint-plugin-typescript": "^0.14.0",
|
71 | "mocha": "^7.1.1",
|
72 | "nyc": "^14.1.1",
|
73 | "prettier": "^1.19.1",
|
74 | "sucrase": "^3.14.0",
|
75 | "test262-harness": "^6.5.0",
|
76 | "ts-interface-builder": "^0.2.1",
|
77 | "tslint": "^5.20.1",
|
78 | "typescript": "^3.7.2",
|
79 | "typescript-tslint-plugin": "^0.5.4",
|
80 | "yargs-parser": "^16.1.0"
|
81 | },
|
82 | "dependencies": {
|
83 | "commander": "^4.0.0",
|
84 | "glob": "7.1.6",
|
85 | "lines-and-columns": "^1.1.6",
|
86 | "mz": "^2.7.0",
|
87 | "pirates": "^4.0.1",
|
88 | "ts-interface-checker": "^0.1.9"
|
89 | },
|
90 | "engines": {
|
91 | "node": ">=8"
|
92 | },
|
93 | "resolutions": {
|
94 | "**/eshost/socket.io": "^2"
|
95 | }
|
96 | }
|