UNPKG

jonmagic-graphql-sequelize

Version:

GraphQL & Relay for MySQL & Postgres via Sequelize

78 lines (77 loc) 2.9 kB
{ "name": "jonmagic-graphql-sequelize", "version": "9.3.4-hack04", "description": "GraphQL & Relay for MySQL & Postgres via Sequelize", "main": "lib/index.js", "options": { "mocha": "--require scripts/mocha-bootload" }, "scripts": { "prepublish": "npm run check && npm run build", "check": "npm run lint && npm run test:unit", "lint": "eslint src", "build": "rm -rf lib/* && babel src --ignore test --out-dir lib", "test": "npm run test:unit && npm run test:docker", "test:watch": "npm run test:unit -- --watch", "test:unit": "mocha $npm_package_options_mocha test/unit/*.test.js test/unit/**/*.test.js", "build:docker": "docker-compose build", "test:docker": "DIALECT=${DIALECT:=postgres} docker-compose run dev /bin/sh -c \"npm run test:integration\"", "test:integration": "mocha $npm_package_options_mocha test/integration/*.test.js test/integration/**/*.test.js", "psql": "docker run -it --link graphqlsequelize_postgres_1:postgres --rm postgres:9.4 sh -c 'PGPASSWORD=graphql_sequelize_test exec psql -h \"$POSTGRES_PORT_5432_TCP_ADDR\" -p \"$POSTGRES_PORT_5432_TCP_PORT\" -U graphql_sequelize_test'", "cover": "babel-node node_modules/.bin/isparta cover _mocha -- $npm_package_options_mocha test/**/**/*.test.js test/**/*.test.js" }, "repository": { "type": "git", "url": "https://github.com/mickhansen/graphql-sequelize.git" }, "keywords": [ "graphql", "sequelize" ], "author": "Mick Hansen <maker@mhansen.io>", "contributors": [ { "name": "graphql-sequelize community", "url": "https://github.com/mickhansen/graphql-sequelize/graphs/contributors" } ], "license": "MIT", "bugs": { "url": "https://github.com/mickhansen/graphql-sequelize/issues" }, "homepage": "https://github.com/mickhansen/graphql-sequelize", "dependencies": { "bluebird": "^3.4.0", "invariant": "2.2.1", "lodash": "^4.0.0" }, "peerDependencies": { "graphql": "^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14 || ^15 || ^16", "graphql-relay": "^0.4.2 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0", "sequelize": ">=3.0.0" }, "devDependencies": { "babel-cli": "^6.9.0", "babel-eslint": "^6.0.3", "babel-plugin-transform-object-rest-spread": "^6.8.0", "babel-preset-async-to-bluebird": "^1.1.0", "babel-preset-es2015-node4": "^2.1.0", "babel-register": "^6.9.0", "chai": "^3.0.0", "chai-as-promised": "^5.1.0", "eslint": "^1.7.3", "graphql": "^16.6.0", "graphql-relay": "^0.10.0", "isparta": "^4.0.0", "istanbul": "^0.4.0", "mocha": "^3.0.1", "mysql": "^2.11.1", "pg": "^5.0.0", "pg-hstore": "^2.3.2", "sequelize": "^6.25.6", "sinon": "^1.15.4", "sinon-as-promised": "^4.0.0", "sinon-chai": "^2.8.0", "sqlite3": "^5.1.2" } }