UNPKG

3.1 kBJSONView Raw
1{
2 "name": "sucrase",
3 "version": "3.10.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",
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.1.5",
49 "@babel/core": "^7.1.6",
50 "@babel/plugin-proposal-class-properties": "^7.1.0",
51 "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
52 "@babel/plugin-transform-modules-commonjs": "^7.1.0",
53 "@babel/preset-flow": "^7.0.0",
54 "@babel/preset-react": "^7.0.0",
55 "@babel/preset-typescript": "^7.1.0",
56 "@types/mocha": "^5.2.5",
57 "@types/mz": "^0.0.32",
58 "@types/node": "^10.12.10",
59 "@types/yargs-parser": "^11.0.0",
60 "codecov": "^3.1.0",
61 "eslint": "^5.11.1",
62 "eslint-config-airbnb-base": "^13.1.0",
63 "eslint-config-prettier": "^3.3.0",
64 "eslint-plugin-import": "^2.14.0",
65 "eslint-plugin-prettier": "^3.0.1",
66 "eslint-plugin-typescript": "^0.14.0",
67 "mocha": "^5.2.0",
68 "nyc": "^13.1.0",
69 "prettier": "^1.15.2",
70 "sucrase": "^3.10.0",
71 "tslint": "^5.9.1",
72 "typescript": "^3.2.2",
73 "typescript-eslint-parser": "^21.0.2",
74 "typescript-tslint-plugin": "^0.1.2",
75 "yargs-parser": "^11.1.1"
76 },
77 "dependencies": {
78 "commander": "^2.19.0",
79 "lines-and-columns": "^1.1.6",
80 "mz": "^2.7.0",
81 "pirates": "^4.0.0"
82 },
83 "engines": {
84 "node": ">=8"
85 },
86 "resolutions": {
87 "typescript-eslint-parser/typescript-estree": "8.1.0"
88 }
89}