UNPKG

flowgen

Version:

Generate flowtype definition files from TypeScript

74 lines (73 loc) 2.16 kB
{ "name": "flowgen", "description": "Generate flowtype definition files from TypeScript", "version": "1.21.0", "bin": { "flowgen": "./lib/cli/index.js" }, "jest": { "testMatch": [ "**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts", "!**/*.d.ts" ] }, "repository": { "type": "git", "url": "https://github.com/joarwilk/flowgen.git" }, "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/highlight": "^7.16.7", "commander": "^6.1.0", "lodash": "^4.17.20", "prettier": "^2.5.1", "shelljs": "^0.8.4", "typescript": "~4.4.4", "typescript-compiler": "^1.4.1-2" }, "devDependencies": { "@babel/cli": "^7.16.7", "@babel/core": "^7.16.7", "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/preset-env": "^7.16.7", "@babel/preset-typescript": "^7.16.7", "@types/babel__code-frame": "^7.0.3", "@types/jest": "^26.0.13", "@types/lodash": "^4.14.161", "@types/node": "^14.10.0", "@types/prettier": "^2.4.2", "@types/react": "^16.9.49", "@types/shelljs": "^0.8.7", "@typescript-eslint/eslint-plugin": "^5.9.0", "@typescript-eslint/parser": "^5.9.0", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.1.0", "babel-jest": "^27.4.6", "chalk": "^4.1.0", "eslint": "^8.6.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-jest": "^25.3.4", "eslint-plugin-prettier": "^4.0.0", "flow-bin": "^0.195.0", "jest": "^27.4.7", "mongodb": "^4.1.3" }, "files": [ "lib", "index.js.flow" ], "license": "ISC", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "prepublishOnly": "npm run compile & npm run type", "type": "tsc -p tsconfig.declaration.json", "compile": "babel ./src --extensions '.ts,.tsx,.js' --out-dir lib --delete-dir-on-start --ignore 'src/**/*.spec.ts' --ignore 'src/__tests__/'", "compile:watch": "npm run compile -- -w", "test": "jest src/**/*.spec.ts", "test:watch": "jest src/**/*.spec.ts --watch", "lint": "eslint '**/*.{js,ts,tsx}' --quiet" } }