UNPKG

@deep-foundation/deeplinks

Version:

[![npm](https://img.shields.io/npm/v/@deep-foundation/deeplinks.svg)](https://www.npmjs.com/package/@deep-foundation/deeplinks) [![Gitpod](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/deep-fo

118 lines (117 loc) 6.05 kB
{ "name": "@deep-foundation/deeplinks", "version": "0.0.620", "license": "Unlicense", "type": "module", "main": "import.js", "scripts": { "dev": "(cd local && docker compose down || true) && cross-env PORT=3006 npm run launch", "dev-local": "(cd local && docker compose down || true) && cross-env npm_config_yes=true JWT_SECRET=\"{\\\"type\\\":\\\"HS256\\\",\\\"key\\\":\\\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\\\"}\" MIGRATIONS_HASURA_PATH=localhost:8080 MIGRATIONS_HASURA_SSL=0 MIGRATIONS_HASURA_SECRET=myadminsecretkey MIGRATIONS_DEEPLINKS_URL=http://host.docker.internal:3006 DEEPLINKS_HASURA_PATH=localhost:8080 DEEPLINKS_HASURA_SSL=0 DEEPLINKS_HASURA_SECRET=myadminsecretkey PORT=3006 npm run launch", "launch": "npm run package:build && node ./index.js;", "bundle-mathjs": "export LIBNAME=mathjs; node ./bundles/deeplinks-bundler-prepare.js && webpack && node ./bundles/deeplinks-bundler-postbundle.js", "bundle-mathjs-test": "node ./bundles/mathjs.js", "bundle-jsonschema": "export LIBNAME=jsonschema; node ./bundles/deeplinks-bundler-prepare.js && webpack && node ./bundles/deeplinks-bundler-postbundle.js", "bundle-jsonschema-test": "node ./bundles/jsonschema.js", "bundle-all": "npm run bundle-mathjs && npm run bundle-jsonschema && npm run bundle-jsonschema-test && npm run bundle-mathjs-test", "package:refresh": "rm -rf node_modules; rm -f package-lock.json; npm i --workspaces false", "package:build": "tsc --project tsconfig.json", "build": "npm run package:build", "package:watch": "tsc -w --project tsconfig.json", "package:unbuild": "rimraf ./*.js && rimraf ./*.js.map && rimraf ./*.d.ts && (cd ./migrations && rimraf ./*.js && rimraf ./*.js.map && rimraf ./*.d.ts && cd ../) && (cd ./imports && rimraf \"./!(engine-server).js\" -g && rimraf ./*.js.map && rimraf ./*.d.ts && cd ../) && (cd ./imports/gql && rimraf ./*.js && rimraf ./*.js.map && rimraf ./*.d.ts && cd ../..) && (cd ./benchmarks && rm -f ./*.js; rm -f ./*.js.map; rm -f ./*.d.ts && cd ..) && (cd ./imports/router && rimraf ./*.js && rimraf ./*.js.map && rimraf ./*.d.ts && cd ../..) && (cd ./tests && rimraf ./*.js && rimraf ./*.js.map && rimraf ./*.d.ts && cd ../)", "unbuild": "npm run package:unbuild", "package:publish": "npm run package:build && npm publish --access public && npm run package:unbuild", "package:release": "npm version patch && git push", "test": "npm run package:build && cross-env DEEPLINKS_HASURA_PATH=localhost:8080 DEEPLINKS_HASURA_SSL=0 DEEPLINKS_HASURA_SECRET=myadminsecretkey DOCKER_DEEPLINKS_URL=http://localhost:3006 NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.js *.js --testTimeout=50000", "benchmark": "export DEEPLINKS_HASURA_PATH=localhost:8080; export DEEPLINKS_HASURA_SSL=0; export DEEPLINKS_HASURA_SECRET=myadminsecretkey; ts-node benchmarks/index.ts", "migrate": "npm run package:build && npx migrate@latest up --matches '*.js'", "unmigrate": "npm run package:build && npx migrate@latest down --matches '*.js'", "migrate-s-h": "npm run package:build && npx migrate@latest up 1693460330175-sync-handlers-update --matches '*.js'", "unmigrate-s-h": "npm run package:build && npx migrate@latest down 1693460330175-sync-handlers-update --matches '*.js'", "remigrate-s-h": "npm run unmigrate-s-h && npm run migrate", "start-engine-docker": "npm run start-engine-docker-core", "start-deeplinks-docker": "docker compose pull && docker compose -p deep up -d", "stop-deeplinks-docker": "docker compose -p deep down", "snapshot:create": "node snapshots/create.js", "snapshot:last": "node snapshots/last.js", "snapshot:dump": "node snapshots/dump.js", "warmup": "node warmup.js", "start": "node call.mjs", "nexe": "cat call.mjs | nexe -t 18.20.4 --build" }, "bin": { "deeplinks": "./call.mjs" }, "dependencies": { "@cybercongress/cyber-js": "^0.3.6", "@deep-foundation/hasura": "^0.0.68", "@deep-foundation/npm-packager": "^0.0.43", "@deep-foundation/tsx": "^0.0.5", "@helia/strings": "^3.0.3", "@react-hook/debounce": "^4.0.0", "@types/node": "^20.2.4", "@types/react": "^18.2.15", "async": "^3.2.5", "atob": "^2.1.2", "axios": "^1.4.0", "buffer": "^6.0.3", "chai": "^4.3.7", "command-line-args": "^6.0.0", "cookie-parser": "^1.4.6", "cross-env": "^7.0.3", "debug": "^4.3.4", "dotenv": "^16.0.3", "fix-path": "^4.0.0", "get-port": "^5.1.1", "get-value": "^3.0.1", "gists": "^2.0.0", "helia": "^2.1.0", "internal-ip": "^6.2.0", "json5": "^2.2.3", "jsonwebtoken": "^9.0.0", "match-sorter": "^6.3.4", "moesif-nodejs": "^3.3.3", "nexe": "^4.0.0-rc.6", "node-fetch": "^2.6.11", "react-dom": "^18.2.0", "react-dropzone": "^14.2.3", "root-path-electron": "^1.3.3", "serialize-error": "^11.0.3", "sudo-prompt": "^9.2.1", "wait-on": "^7.0.1" }, "peerDependencies": { "@apollo/client": "^3.7.14", "@deep-foundation/materialized-path": "0.0.x", "@deep-foundation/react-hasura": "0.0.x", "@deep-foundation/store": "^0.0.32", "apollo-server": "^3.13.0", "apollo-server-core": "^3.13.0", "apollo-server-express": "^3.13.0", "graphql": "^15.8.0", "graphql-playground-middleware-express": "^1.7.23", "graphql-tag": "^2.12.6", "http-proxy-middleware": "^2.0.6", "react": "^18.0.0" }, "engines": { "node": "^18" }, "devDependencies": { "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@types/debug": "^4.1.8", "@types/fs-extra": "^11.0.1", "@types/get-value": "^3.0.3", "clean-webpack-plugin": "^4.0.0", "fs-extra": "^11.1.1", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "migrate": "^2.0.0", "react-dom": "^18.2.0", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "typescript": "5.0.4", "webpack": "^5.84.1", "webpack-cli": "^5.1.1" } }