{ "name": "server", "version": "2.0.0", "description": "speckle server", "main": "index.js", "scripts": { "dev:all": "cross-env concurrently --kill-others \"npm run dev:server\" \"npm run dev:frontend\"", "dev:frontend": "cd frontend && npm run serve", "build:frontend": "cd frontend && npm run build", "dev:server": "cross-env NODE_ENV=development POSTGRES_URL=postgres://localhost/speckle2_dev DEBUG=www:server,speckle:* nodemon ./bin/www --watch . --watch ./bin/www -e js,graphql,env", "dev:server:test": "cross-env PORT=3002 NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test DEBUG=www:server,speckle:* node bin/www", "dev:server:test:watch": "cross-env PORT=3002 NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test DEBUG=www:server,speckle:* nodemon ./bin/www --watch . --watch ./bin/www -e js,graphql,env", "test:server": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test nyc nyc --reporter html --reporter lcovonly mocha -s 0 --timeout 2000 --exit", "test:server:watch": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha --watch -s 0 --exit", "test:server:graph": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/core/tests/graph.spec.js --watch -s 0 --exit --no-config", "test:server:subscriptions": "cross-env PORT=3002 DEBUG=speckle:* NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/core/tests/graphSubs.spec.js --watch -s 0 --exit --no-config", "test:server:generic": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/core/tests/generic.spec.js --watch -s 0 --exit --no-config", "test:server:objects": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/core/tests/objects.spec.js --watch -s 0 --exit --no-config", "test:server:rest": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/core/tests/rest.spec.js --watch -s 0 --exit --no-config", "test:server:streams": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/core/tests/streams.spec.js --watch -s 0 --exit --no-config", "test:server:branches": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/core/tests/branches.spec.js --watch -s 0 --exit --no-config", "test:server:commits": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/core/tests/commits.spec.js --watch -s 0 --exit --no-config", "test:server:users": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/core/tests/users.spec.js --watch -s 0 --exit --no-config", "test:server:apps": "cross-env PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/auth/tests/apps.spec.js --watch -s 0 --exit --no-config" }, "author": "The Specklers", "license": "", "dependencies": { "apollo-server-express": "^2.12.0", "apollo-server-testing": "^2.12.0", "app-root-path": "^3.0.0", "auto-load": "^3.0.4", "bcrypt": "^4.0.1", "body-parser": "^1.19.0", "busboy": "^0.3.1", "compression": "^1.7.4", "connect-redis": "^4.0.4", "crypto-random-string": "^3.2.0", "debug": "^4.1.1", "dotenv": "^8.2.0", "express": "^4.17.1", "express-session": "^1.17.1", "graphql": "^14.6.0", "graphql-redis-subscriptions": "^2.2.2", "graphql-scalars": "^1.1.0", "graphql-tag": "^2.11.0", "graphql-tools": "^4.0.7", "ioredis": "^4.17.3", "knex": "^0.20.12", "lodash.chunk": "^4.2.0", "lodash.debounce": "^4.0.8", "lodash.get": "^4.4.2", "lodash.merge": "^4.6.2", "lodash.set": "^4.3.2", "lodash.values": "^4.3.0", "morgan": "^1.10.0", "morgan-debug": "^2.0.0", "passport": "^0.4.1", "passport-github2": "^0.1.12", "passport-google-oauth2": "^0.2.0", "passport-google-oauth20": "^2.0.0", "pg": "^7.18.2", "pg-query-stream": "^3.1.1", "redis": "^3.0.2", "zxcvbn": "^4.4.2" }, "devDependencies": { "@apollo/client": "^3.1.3", "apollo-cache-inmemory": "^1.6.6", "apollo-client": "^2.6.10", "apollo-link": "^1.2.14", "apollo-link-http": "^1.5.17", "apollo-link-ws": "^1.0.20", "chai": "^4.2.0", "chai-http": "^4.3.0", "concurrently": "^5.2.0", "cross-env": "^7.0.2", "cz-conventional-changelog": "^3.1.0", "eslint": "^7.5.0", "http-proxy-middleware": "^1.0.4", "mocha": "^7.1.1", "node-fetch": "^2.6.0", "nodemon": "^2.0.4", "nyc": "^15.0.1", "supertest": "^4.0.2", "ws": "^7.3.1" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }