Files
speckle-server/package.json
T

64 lines
3.2 KiB
JSON

{
"name": "server",
"version": "2.0.0",
"description": "speckle server",
"main": "index.js",
"scripts": {
"dev:all": "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": "PORT=3000 NODE_ENV=development POSTGRES_URL=postgres://localhost/speckle2_dev DEBUG=www:server,speckle:* nodemon ./bin/www --watch . --watch ./bin/www -e js,graphql,env",
"test:server": "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": "PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha --watch -s 0 --exit",
"test:server:graph": "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:generic": "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": "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:streams": "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:references": "PORT=3001 DEBUG=speckle:test,speckle:errors NODE_ENV=test POSTGRES_URL=postgres://localhost/speckle2_test mocha ./modules/core/tests/references.spec.js --watch -s 0 --exit --no-config",
"test:server:users": "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"
},
"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",
"crypto-random-string": "^3.2.0",
"debug": "^4.1.1",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"graphql": "^14.6.0",
"graphql-scalars": "^1.1.0",
"graphql-tools": "^4.0.7",
"knex": "^0.20.12",
"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-github": "^1.1.0",
"pg": "^7.18.2",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"concurrently": "^5.2.0",
"cz-conventional-changelog": "^3.1.0",
"http-proxy-middleware": "^1.0.4",
"mocha": "^7.1.1",
"nyc": "^15.0.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}