Summary: Adds a new package with typescript set up, to be published to npm. Followed this as a guideline: https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c Reviewed By: passy Differential Revision: D18244495 fbshipit-source-id: c684f0bb33e61699f605c637186c7a81136a920f
39 lines
992 B
JSON
39 lines
992 B
JSON
{
|
|
"name": "flipper-doctor",
|
|
"version": "0.1.0",
|
|
"description": "Utility for checking for issues with a flipper installation",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/jest": "^24.0.21",
|
|
"eslint": "^6.6.0",
|
|
"jest": "^24.9.0",
|
|
"prettier": "^1.18.2",
|
|
"ts-jest": "^24.1.0",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"typescript": "^3.7.2"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"prepare": "npm run build",
|
|
"prepublishOnly": "npm test && npm run lint",
|
|
"preversion": "npm run lint",
|
|
"test": "jest --config jestconfig.json",
|
|
"lint": "eslint -c ../.eslintrc.js src/**/* --ext .js,.ts && tsc --noemit",
|
|
"fix": "eslint -c ../.eslintrc.js src/**/* --fix --ext .js,.ts",
|
|
"run": "npm run build && node lib/cli.js"
|
|
},
|
|
"files": [
|
|
"lib/**/*"
|
|
],
|
|
"keywords": [
|
|
"Flipper",
|
|
"Doctor"
|
|
],
|
|
"author": "Facebook, Inc",
|
|
"dependencies": {
|
|
"envinfo": "^7.4.0"
|
|
}
|
|
}
|