forked from cerc-io/laconic-console
Server Console App directly from the server.
Use Moustache to create template and set config in page. Use babel plugins to process GQL (and fix GQL queries). Added service type.
This commit is contained in:
@@ -1,12 +1,24 @@
|
||||
{
|
||||
"name": "@dxos/console-server",
|
||||
"name": "@dxos/console",
|
||||
"version": "1.0.0-beta.0",
|
||||
"description": "DxOS Console Server",
|
||||
"main": "index.js",
|
||||
"main": "dist/es/index.js",
|
||||
"bin": {
|
||||
"console": "bin/console.js"
|
||||
},
|
||||
"files": [
|
||||
"bin/",
|
||||
"dist/es"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm run clean && npm run build:client && npm run build:server",
|
||||
"build:client": "PUBLIC_URL=/console webpack --mode development",
|
||||
"build:server": "babel ./src --out-dir ./dist/es --ignore \"**/*.test.js\" --copy-files",
|
||||
"clean": "rm -rf ./dist",
|
||||
"dev": "VERBOSE=true webpack-dev-server --mode development --watch",
|
||||
"lint": "semistandard 'src/**/*.js'",
|
||||
"test": "jest --rootDir ./src --passWithNoTests --no-cache",
|
||||
"start": "BABEL_DISABLE_CACHE=1 nodemon --exec babel-node ./src/main.js"
|
||||
"start": "CONFIG_FILE=./config.yml BABEL_DISABLE_CACHE=1 nodemon --exec babel-node src/server/main.js -- --verbose"
|
||||
},
|
||||
"author": "DxOS.org",
|
||||
"license": "GPL-3.0",
|
||||
@@ -17,8 +29,9 @@
|
||||
"testEnvironment": "node"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "^7.8.7",
|
||||
"@babel/runtime": "^7.8.7",
|
||||
"@dxos/console-client": "^1.0.0-beta.0",
|
||||
"@dxos/console-app": "^1.0.0-beta.0",
|
||||
"apollo-boost": "^0.4.9",
|
||||
"apollo-server-express": "^2.13.1",
|
||||
"debug": "^4.1.1",
|
||||
@@ -28,8 +41,11 @@
|
||||
"graphql-tag": "^2.10.3",
|
||||
"ipfs-http-client": "^44.1.0",
|
||||
"js-yaml": "^3.14.0",
|
||||
"mustache-express": "^1.3.0",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"source-map-support": "^0.5.12"
|
||||
"source-map-support": "^0.5.12",
|
||||
"yargs": "^15.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "7.4.4",
|
||||
@@ -40,8 +56,13 @@
|
||||
"@babel/preset-env": "^7.4.5",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"babel-jest": "^24.8.0",
|
||||
"babel-loader": "^8.1.0",
|
||||
"babel-plugin-add-module-exports": "^1.0.2",
|
||||
"babel-plugin-import-graphql": "^2.7.0",
|
||||
"babel-plugin-inline-import": "^3.0.0",
|
||||
"babel-plugin-inline-json-import": "^0.3.2",
|
||||
"body-parser": "^1.19.0",
|
||||
"dotenv-webpack": "^1.8.0",
|
||||
"eslint": "^6.7.2",
|
||||
"eslint-config-semistandard": "^15.0.0",
|
||||
"eslint-config-standard": "^14.1.1",
|
||||
@@ -54,7 +75,13 @@
|
||||
"eslint-plugin-standard": "^4.0.1",
|
||||
"jest": "^24.8.0",
|
||||
"nodemon": "^2.0.4",
|
||||
"semistandard": "^14.2.0"
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"semistandard": "^14.2.0",
|
||||
"webpack": "^4.41.2",
|
||||
"webpack-cli": "^3.3.10",
|
||||
"webpack-dev-server": "^3.11.0",
|
||||
"webpack-merge": "^4.2.2"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
Reference in New Issue
Block a user