UNPKG

2.63 kBJSONView Raw
1{
2 "name": "sucrase",
3 "version": "3.0.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.js",
8 "module": "dist/index.mjs",
9 "types": "dist/index.d.ts",
10 "bin": {
11 "sucrase": "./bin/sucrase"
12 },
13 "scripts": {
14 "build": "script/sucrase-node script/build.ts",
15 "fast-build": "script/sucrase-node script/build.ts --fast",
16 "clean": "rm -rf ./build ./dist ./example-runner/example-repos",
17 "generate": "script/sucrase-node generator/generate.ts",
18 "benchmark": "script/sucrase-node benchmark/benchmark.ts",
19 "benchmark-react": "script/sucrase-node benchmark/benchmark-react.ts",
20 "lint": "script/sucrase-node script/lint.ts",
21 "profile": "node --inspect-brk script/sucrase-node ./benchmark/profile",
22 "profile-react": "node --inspect-brk script/sucrase-node ./benchmark/profile-react.js",
23 "prepublish": "yarn clean && yarn build",
24 "run-examples": "script/sucrase-node example-runner/example-runner.ts",
25 "test": "yarn lint && yarn test-only",
26 "test-only": "mocha './test/**/*.ts'"
27 },
28 "repository": {
29 "type": "git",
30 "url": "https://github.com/alangpierce/sucrase.git"
31 },
32 "keywords": [
33 "babel",
34 "jsx",
35 "typescript",
36 "flow"
37 ],
38 "bugs": {
39 "url": "https://github.com/alangpierce/sucrase/issues"
40 },
41 "homepage": "https://sucrase.io",
42 "devDependencies": {
43 "@babel/cli": "7.0.0-beta.39",
44 "@babel/core": "7.0.0-beta.39",
45 "@babel/plugin-proposal-class-properties": "^7.0.0-beta.39",
46 "@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.39",
47 "@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.35",
48 "@babel/preset-flow": "^7.0.0-beta.39",
49 "@babel/preset-react": "7.0.0-beta.39",
50 "@babel/preset-typescript": "^7.0.0-beta.36",
51 "@types/babel-core": "^6.25.3",
52 "@types/mocha": "^2.2.43",
53 "@types/mz": "^0.0.32",
54 "@types/node": "^8.0.31",
55 "eslint": "^4.13.1",
56 "eslint-config-airbnb-base": "^12.1.0",
57 "eslint-config-prettier": "^2.9.0",
58 "eslint-plugin-import": "^2.8.0",
59 "eslint-plugin-prettier": "^2.4.0",
60 "eslint-plugin-typescript": "^0.12.0",
61 "mocha": "^3.5.3",
62 "prettier": "^1.12.1",
63 "sucrase": "^2.2.0",
64 "tslint": "^5.9.1",
65 "tslint-language-service": "^0.9.9",
66 "typescript": "^2.9.1",
67 "typescript-eslint-parser": "^16.0.0"
68 },
69 "dependencies": {
70 "commander": "^2.12.2",
71 "lines-and-columns": "^1.1.6",
72 "mz": "^2.7.0",
73 "pirates": "^3.0.2"
74 },
75 "engines": {
76 "node": ">=8"
77 }
78}