mirror of
https://github.com/expo/node-auth0.git
synced 2026-11-14 19:11:00 -10:00
72 lines
1.9 KiB
JSON
72 lines
1.9 KiB
JSON
{
|
|
"name": "simple-relay-starter",
|
|
"version": "1.2.1",
|
|
"description": "A very simple example of React Relay using Browserify",
|
|
"main": "server.js",
|
|
"repository": "mhart/simple-relay-starter",
|
|
"keywords": [
|
|
"react",
|
|
"reactjs",
|
|
"relay",
|
|
"browserify",
|
|
"graphql"
|
|
],
|
|
"author": "Michael Hart <[email protected]>",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"dotenv": "^2.0.0",
|
|
"express": "^4.14",
|
|
"express-graphql": "^0.5.4",
|
|
"express-jwt": "^5.1.0",
|
|
"graphql": "^0.7.2",
|
|
"graphql-relay": "^0.4.3",
|
|
"react": "^15.3.2",
|
|
"react-dom": "^15.3.2",
|
|
"react-relay": "^0.9.3"
|
|
},
|
|
"devDependencies": {
|
|
"babel-preset-es2015": "^6.9.0",
|
|
"babel-preset-react": "^6.11.1",
|
|
"babel-relay-plugin": "^0.9.3",
|
|
"babelify": "^7.3.0",
|
|
"browserify": "^13.1.1",
|
|
"browserify-shim": "^3.8.10",
|
|
"nodemon": "^1.5.1",
|
|
"onchange": "^3.0.2",
|
|
"parallelshell": "^2.0.0"
|
|
},
|
|
"browserify-shim": {
|
|
"react": "global:React",
|
|
"react-dom": "global:ReactDOM",
|
|
"react-relay": "global:Relay"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
[
|
|
"babelify",
|
|
{
|
|
"presets": [
|
|
"es2015",
|
|
"react"
|
|
],
|
|
"plugins": [
|
|
"./utils/babelRelayPlugin"
|
|
]
|
|
}
|
|
],
|
|
"browserify-shim"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"dev": "npm run build && npm run watch",
|
|
"build": "npm run build:schema && npm run build:browser",
|
|
"build:schema": "node ./utils/updateSchema.js",
|
|
"build:browser": "browserify browser.js -o public/bundle.js",
|
|
"watch": "parallelshell \"npm run watch:schema\" \"npm run watch:browser\" \"npm run watch:server\"",
|
|
"watch:schema": "onchange schema/schema.js -- npm run build:schema",
|
|
"watch:browser": "onchange browser.js App.js schema/schema.json -- npm run build:browser",
|
|
"watch:server": "nodemon --watch server.js --watch 'schema/*.js' server.js"
|
|
}
|
|
}
|