UNPKG

3.09 kBJSONView Raw
1{
2 "name": "sucrase",
3 "version": "3.11.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",
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 "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 "@babel/cli": "^7.7.0",
49 "@babel/core": "^7.7.2",
50 "@babel/plugin-proposal-class-properties": "^7.7.0",
51 "@babel/plugin-proposal-object-rest-spread": "^7.6.2",
52 "@babel/plugin-transform-modules-commonjs": "^7.7.0",
53 "@babel/preset-flow": "^7.0.0",
54 "@babel/preset-react": "^7.7.0",
55 "@babel/preset-typescript": "^7.7.2",
56 "@types/mocha": "^5.2.7",
57 "@types/mz": "^0.0.32",
58 "@types/node": "^12.12.7",
59 "@types/yargs-parser": "^13.1.0",
60 "@typescript-eslint/parser": "^2.6.1",
61 "codecov": "^3.6.1",
62 "eslint": "^6.6.0",
63 "eslint-config-airbnb-base": "^14.0.0",
64 "eslint-config-prettier": "^6.5.0",
65 "eslint-plugin-import": "^2.18.2",
66 "eslint-plugin-prettier": "^3.1.1",
67 "eslint-plugin-typescript": "^0.14.0",
68 "mocha": "^6.2.2",
69 "nyc": "^14.1.1",
70 "prettier": "^1.19.1",
71 "sucrase": "^3.10.1",
72 "ts-interface-builder": "^0.2.1",
73 "tslint": "^5.20.1",
74 "typescript": "^3.7.2",
75 "typescript-tslint-plugin": "^0.5.4",
76 "yargs-parser": "^16.1.0"
77 },
78 "dependencies": {
79 "commander": "^4.0.0",
80 "lines-and-columns": "^1.1.6",
81 "mz": "^2.7.0",
82 "pirates": "^4.0.1",
83 "ts-interface-checker": "^0.1.9"
84 },
85 "engines": {
86 "node": ">=8"
87 }
88}