Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
743
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 9.04 KB | None | 0 0
  1. {
  2.   "_args": [
  3.     [
  4.       {
  5.         "raw": "[email protected]",
  6.         "scope": null,
  7.         "escapedName": "parse-dashboard",
  8.         "name": "parse-dashboard",
  9.         "rawSpec": "2.0.0",
  10.         "spec": "2.0.0",
  11.         "type": "version"
  12.       },
  13.       "/usr/lib/node_modules/parse-dashboard"
  14.     ]
  15.   ],
  16.   "_from": "[email protected]",
  17.   "_id": "[email protected]",
  18.   "_inCache": true,
  19.   "_location": "/parse-dashboard",
  20.   "_nodeVersion": "5.5.0",
  21.   "_npmOperationalInternal": {
  22.     "host": "packages-13-west.internal.npmjs.com",
  23.     "tmp": "tmp/parse-dashboard-2.0.0.tgz_1458006742772_0.4714089557528496"
  24.   },
  25.   "_npmUser": {
  26.     "name": "drewgross",
  27.     "email": "[email protected]"
  28.   },
  29.   "_npmVersion": "3.5.3",
  30.   "_phantomChildren": {},
  31.   "_requested": {
  32.     "raw": "[email protected]",
  33.     "scope": null,
  34.     "escapedName": "parse-dashboard",
  35.     "name": "parse-dashboard",
  36.     "rawSpec": "2.0.0",
  37.     "spec": "2.0.0",
  38.     "type": "version"
  39.   },
  40.   "_requiredBy": [
  41.     "#USER"
  42.   ],
  43.   "_resolved": "https://registry.npmjs.org/parse-dashboard/-/parse-dashboard-2.0.0.tgz",
  44.   "_shasum": "b8e8c81cdd7c44e764125f19577a6714b3865763",
  45.   "_shrinkwrap": null,
  46.   "_spec": "[email protected]",
  47.   "_where": "/usr/lib/node_modules/parse-dashboard",
  48.   "bin": {
  49.     "parse-dashboard": "./bin/parse-dashboard"
  50.   },
  51.   "bugs": {
  52.     "url": "https://github.com/ParsePlatform/parse-dashboard/issues"
  53.   },
  54.   "dependencies": {
  55.     "babel-runtime": "~5.8.25",
  56.     "basic-auth": "^1.0.3",
  57.     "commander": "^2.9.0",
  58.     "express": "^4.13.4",
  59.     "history": "~1.9.1",
  60.     "immutable": "~3.7.5",
  61.     "json-file-plus": "^3.2.0",
  62.     "marked": "^0.3.5",
  63.     "parse": "1.6.14",
  64.     "prismjs": "~1.2.0",
  65.     "react": "^0.14.0",
  66.     "react-dnd": "~2.0.2",
  67.     "react-dnd-html5-backend": "~2.0.0",
  68.     "react-dom": "^0.14.0",
  69.     "react-router": "2.0.0"
  70.   },
  71.   "description": "The parse dashboard",
  72.   "devDependencies": {
  73.     "babel-core": "~5.8.12",
  74.     "babel-loader": "~5.3.0",
  75.     "babel-plugin-remove-proptypes": "~1.0.0",
  76.     "css-loader": "~0.18.0",
  77.     "file-loader": "^0.8.5",
  78.     "http-server": "~0.8.5",
  79.     "immutable-devtools": "~0.0.4",
  80.     "jest-cli": "^0.7.1",
  81.     "js-beautify": "~1.5.0",
  82.     "node-sass": "~3.4.2",
  83.     "react-addons-test-utils": "^0.14.2",
  84.     "sass-loader": "~3.1.2",
  85.     "style-loader": "~0.12.3",
  86.     "svg-prep": "~1.0.0",
  87.     "transform-jest-deps": "^2.1.0",
  88.     "webpack": "~1.12.0"
  89.   },
  90.   "directories": {},
  91.   "dist": {
  92.     "shasum": "b8e8c81cdd7c44e764125f19577a6714b3865763",
  93.     "tarball": "https://registry.npmjs.org/parse-dashboard/-/parse-dashboard-2.0.0.tgz"
  94.   },
  95.   "engines": {
  96.     "node": ">=4.3"
  97.   },
  98.   "files": [
  99.     "Parse-Dashboard",
  100.     "bin",
  101.     "README.md",
  102.     "LICENSE"
  103.   ],
  104.   "gitHead": "a26f33030c3abaf8a5c02e61d97cdce1d754c3c6",
  105.   "homepage": "https://github.com/ParsePlatform/parse-dashboard#readme",
  106.   "jest": {
  107.     "testPathDirs": [
  108.       "src/lib"
  109.     ],
  110.     "scriptPreprocessor": "<rootDir>/testing/preprocessor.js",
  111.     "testDirectoryName": "tests",
  112.     "testFileExtensions": [
  113.       "test.js"
  114.     ],
  115.     "unmockedModulePathPatterns": [
  116.       "react",
  117.       "react-dom",
  118.       "react-addons-test-utils",
  119.       "fbjs"
  120.     ]
  121.   },
  122.   "license": "LicenseRef-LICENSE",
  123.   "maintainers": [
  124.     {
  125.       "name": "drewgross",
  126.       "email": "[email protected]"
  127.     }
  128.   ],
  129.   "name": "parse-dashboard",
  130.   "optionalDependencies": {},
  131.   "readme": "# Parse Dashboard\n\nParse Dashboard is standalone dashboard for managing your Parse apps. You can use it to manage your [Parse Server](https://github.com/ParsePlatform/parse-server) apps and your apps that are running on [Parse.com](https://Parse.com).\n\n## Getting Started\n\n[Node.js](https://nodejs.org) version >= 4.3 is required to run the dashboard. Install the dashboard from `npm`.\n\n```\nnpm install -g parse-dashboard\n```\n\nNext add your app info into `parse-dashboard/Parse-Dashboard/parse-dashboard-config.json`. The file should match the following format, using the server URL, App ID, and Master Key from your Parse Server. The App Name can be anything you want, and is used to reference your app in the dashboard. **Make sure the server URL is a URL that can be accessed by your browser.**\n\n```\n{\n  \"apps\": [\n    {\n      \"serverURL\": \"http://localhost:1337/parse\",\n      \"appId\": \"myAppId\",\n      \"masterKey\": \"myMasterKey\",\n      \"appName\": \"MyApp\"\n    }\n  ]\n}\n```\n\nEnsure your Parse Server version is `>= 2.1.4`. The dashboard will not work with Parse Server instances with lower versions.\n\nYou can also manage your apps that are hosted on Parse.com from the same dashboard. For these apps, you must specify your rest key and javascript key, and set your server url to https://api.parse.com/1.\n\n```\n{\n  \"apps\": [\n    {\n      \"serverURL\": \"https://api.parse.com/1\",\n      \"appId\": \"myAppId\",\n      \"masterKey\": \"myMasterKey\",\n      \"javascriptKey\": \"myJavascriptKey\",\n      \"restKey\": \"myRestKey\",\n      \"appName\": \"My Parse.Com App\"\n    },\n    {\n      \"serverURL\": \"http://localhost:1337/parse\",\n      \"appId\": \"myAppId\",\n      \"masterKey\": \"myMasterKey\",\n      \"appName\": \"My Parse Server App\"\n    }\n  ]\n}\n```\n\nThen execute `npm run dashboard` and visit [`http://localhost:4040`](http://localhost:4040) and you will be able to manage your parse apps.\n\n![Parse Dashboard](.github/dash-shot.png)\n\n## Other options\n\nYou can set `appNameForURL` for each app to control the url of your app within the dashboard.\n\nIf you want to require a username and password to access the dashboard, you can do so by adding usernames and passwords for HTTP Basic Auth to your configuration file:\n\n```\n{\n  \"apps\": [...],\n  \"users\": [\n    {\n      \"user\":\"user1\",\n      \"pass\":\"pass\"\n    },\n    {\n      \"user\":\"user2\",\n      \"pass\":\"pass\"\n    }\n  ]\n}\n```\n\nHTTPS and Basic Auth are mandatory if you are accessing the dashboard remotely instead of accessing it from `localhost`.\n\n## Run with Docker\n\nIt is easy to use it with Docker. First build the image:\n\n```\ndocker build -t parse-dashboard .\n```\n\nRun the image with your ``config.json`` mounted as a volume\n\n```\ndocker run -d -p 8080:4040 -v host/path/to/config.json:/src/Parse-Dashboard/parse-dashboard-config.json parse-dashboard\n```\n\nBy default, the container will start the app at port 4040 inside the container. However, you can run custom command as well (see ``Deploying in production`` for custom setup).\n\nIn this example, we want to run the application in production mode at port 80 of the host machine.\n\n```\ndocker run -d -p 80:8080 -v host/path/to/config.json:/src/Parse-Dashboard/parse-dashboard-config.json parse-dashboard --port 8080\n```\n\nIf you are not familiar with Docker, ``--port 8080`` with be passed in as argument to the entrypoint to form the full command ``npm start -- --port 8080``. The application will start at port 8080 inside the container and port ``8080`` will be mounted to port ``80`` on your host machine.\n\n## Deploying in production\n\nIf you're deploying to a provider like Heroku, or Google App Engine, the SSL endpoint is terminated early and handled by the provider and you may encounter this error: `Parse Dashboard can only be remotely accessed via HTTPS`.\n\n:warning: :warning: Before going further, make sure your server **cannot** be reachable via **HTTP**. See the provider documentation for force HTTPS connections to your deployment.\n\nSet the environment variable `PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1` to tell parse server to skip the secure tests.\n\nTo start your server use:\n\n`$ npm start`\n\nOptionally you can use the command line arguments:\n\n`$ npm start -- --config path/to/config.json --port 8080 --allowInsecureHTTP=1`\n\nOr update you start script with the accoring configuration.\n\nAll paramters are optional and their default values are:\n\n\n\tconfig: parse-dashboard/Parse-Dashboard/parse-dashboard-config.json\n\tport: 4040\n\tallowInsecureHTTP: false\n\n\n## Contributing\n\nWe really want Parse to be yours, to see it grow and thrive in the open source community. Please see the [Contributing to Parse Dashboard guide](CONTRIBUTING.md).\n",
  132.   "readmeFilename": "README.md",
  133.   "repository": {
  134.     "type": "git",
  135.     "url": "git+https://github.com/ParsePlatform/parse-dashboard.git"
  136.   },
  137.   "scripts": {
  138.     "build": "NODE_ENV=production webpack --config webpack/production.config.js && webpack --config webpack/PIG.config.js",
  139.     "dashboard": "node ./Parse-Dashboard/index.js & webpack --config webpack/build.config.js --progress --watch",
  140.     "dev": "node ./Parse-Dashboard/index.js & webpack --config webpack/build.config.js --devtool eval-source-map --progress --watch",
  141.     "generate": "node scripts/generate.js",
  142.     "pig": "http-server ./PIG -p 4041 -s & webpack --config webpack/PIG.config.js --progress --watch",
  143.     "prepublish": "webpack --config webpack/publish.config.js --progress",
  144.     "start": "node ./Parse-Dashboard/index.js",
  145.     "test": "NODE_PATH=./node_modules jest"
  146.   },
  147.   "version": "2.0.0"
  148. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement