mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
98 lines
3.6 KiB
JSON
98 lines
3.6 KiB
JSON
{
|
|
"name": "human-connection-backend",
|
|
"version": "0.0.1",
|
|
"description": "GraphQL Backend for Human Connection",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"build": "babel src/ -d dist/ --copy-files",
|
|
"start": "node dist/",
|
|
"dev": "nodemon --exec babel-node src/ -e js,graphql",
|
|
"dev:debug": "nodemon --exec babel-node --inspect=0.0.0.0:9229 src/index.js -e js,graphql",
|
|
"lint": "eslint src --config .eslintrc.js",
|
|
"test": "run-s test:jest test:cucumber",
|
|
"test:before:server": "cross-env GRAPHQL_URI=http://localhost:4123 GRAPHQL_PORT=4123 yarn run dev 2> /dev/null",
|
|
"test:before:seeder": "cross-env GRAPHQL_URI=http://localhost:4001 GRAPHQL_PORT=4001 DISABLED_MIDDLEWARES=permissions,activityPub yarn run dev",
|
|
"test:jest:cmd": "wait-on tcp:4001 tcp:4123 && jest --forceExit --detectOpenHandles --runInBand",
|
|
"test:cucumber:cmd": "wait-on tcp:4001 tcp:4123 && cucumber-js --require-module @babel/register --exit test/",
|
|
"test:jest:cmd:debug": "wait-on tcp:4001 tcp:4123 && node --inspect-brk ./node_modules/.bin/jest -i --forceExit --detectOpenHandles --runInBand",
|
|
"test:jest": "run-p --race test:before:* 'test:jest:cmd {@}' --",
|
|
"test:cucumber": " cross-env CLIENT_URI=http://localhost:4123 run-p --race test:before:* 'test:cucumber:cmd {@}' --",
|
|
"test:jest:debug": "run-p --race test:before:* 'test:jest:cmd:debug {@}' --",
|
|
"db:script:seed": "wait-on tcp:4001 && babel-node src/seed/seed-db.js",
|
|
"db:reset": "babel-node src/seed/reset-db.js",
|
|
"db:seed": "cross-env GRAPHQL_URI=http://localhost:4001 GRAPHQL_PORT=4001 DISABLED_MIDDLEWARES=permissions run-p --race dev db:script:seed"
|
|
},
|
|
"author": "Human Connection gGmbH",
|
|
"license": "MIT",
|
|
"jest": {
|
|
"verbose": true,
|
|
"testMatch": [
|
|
"**/src/**/?(*.)+(spec|test).js?(x)"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"activitystrea.ms": "~2.1.3",
|
|
"apollo-cache-inmemory": "~1.5.1",
|
|
"apollo-client": "~2.5.1",
|
|
"apollo-link-context": "~1.0.14",
|
|
"apollo-link-http": "~1.5.14",
|
|
"apollo-server": "~2.4.8",
|
|
"bcryptjs": "~2.4.3",
|
|
"cheerio": "~1.0.0-rc.3",
|
|
"cors": "~2.8.5",
|
|
"cross-env": "~5.2.0",
|
|
"date-fns": "2.0.0-alpha.27",
|
|
"debug": "~4.1.1",
|
|
"dotenv": "~7.0.0",
|
|
"express": "~4.16.4",
|
|
"faker": "~4.1.0",
|
|
"graphql": "~14.2.1",
|
|
"graphql-custom-directives": "~0.2.14",
|
|
"graphql-iso-date": "~3.6.1",
|
|
"graphql-middleware": "~3.0.2",
|
|
"graphql-shield": "~5.3.2",
|
|
"graphql-tag": "~2.10.1",
|
|
"graphql-yoga": "~1.17.4",
|
|
"helmet": "~3.16.0",
|
|
"jsonwebtoken": "~8.5.1",
|
|
"linkifyjs": "~2.1.8",
|
|
"lodash": "~4.17.11",
|
|
"ms": "~2.1.1",
|
|
"neo4j-driver": "~1.7.3",
|
|
"neo4j-graphql-js": "~2.4.2",
|
|
"node-fetch": "~2.3.0",
|
|
"npm-run-all": "~4.1.5",
|
|
"request": "~2.88.0",
|
|
"sanitize-html": "~1.20.0",
|
|
"slug": "~1.1.0",
|
|
"trunc-html": "~1.1.2",
|
|
"uuid": "~3.3.2",
|
|
"wait-on": "~3.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "~7.2.3",
|
|
"@babel/core": "~7.4.3",
|
|
"@babel/node": "~7.2.2",
|
|
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
|
|
"@babel/preset-env": "~7.4.3",
|
|
"@babel/register": "~7.4.0",
|
|
"apollo-server-testing": "~2.4.8",
|
|
"babel-core": "~7.0.0-0",
|
|
"babel-eslint": "~10.0.1",
|
|
"babel-jest": "~24.7.1",
|
|
"chai": "~4.2.0",
|
|
"cucumber": "~5.1.0",
|
|
"eslint": "~5.16.0",
|
|
"eslint-config-standard": "~12.0.0",
|
|
"eslint-plugin-import": "~2.16.0",
|
|
"eslint-plugin-jest": "~22.4.1",
|
|
"eslint-plugin-node": "~8.0.1",
|
|
"eslint-plugin-promise": "~4.1.1",
|
|
"eslint-plugin-standard": "~4.0.0",
|
|
"graphql-request": "~1.8.2",
|
|
"jest": "~24.7.1",
|
|
"nodemon": "~1.18.11",
|
|
"supertest": "~4.0.2"
|
|
}
|
|
}
|