UNPKG

@portive/client

Version:

Client to connect to and use Portive's cloud services for open source components

108 lines (107 loc) 3.85 kB
{ "name": "@portive/client", "version": "10.0.3", "description": "Client to connect to and use Portive's cloud services for open source components", "keywords": [ "client", "portive" ], "license": "MIT", "files": [ ".dist/**/*" ], "main": ".dist/cjs/src/index.js", "module": ".dist/mjs/src/index.js", "types": ".dist/cjs/src/index.d.ts", "exports": { ".": { "require": "./.dist/cjs/src/index.js", "import": "./.dist/mjs/src/index.js", "types": "./.dist/cjs/src/index.d.ts" }, "./auth": { "require": "./.dist/cjs/src/auth/index.js", "import": "./.dist/mjs/src/auth/index.js", "types": "./.dist/cjs/src/auth/index.d.ts" } }, "typesVersions": { "*": { ".": [ "./.dist/cjs/src/index.d.ts" ], "auth": [ "./.dist/cjs/src/auth/index.d.ts" ] } }, "devDependencies": { "@portive/auth": "^9.0.0", "@thesunny/get-env": "^1.0.6", "@types/jest": "^27", "@types/node": "^17.0.40", "@types/react": "17.x", "@types/react-dom": "17.x", "@typescript-eslint/eslint-plugin": "^5.15.0", "@typescript-eslint/parser": "^5.15.0", "concurrently": "^7.2", "dotenv": "16.x", "eslint": "^8.4.1", "eslint-config-prettier": "^8.1.0", "eslint-plugin-no-secrets": "^0.8.9", "eslint-plugin-react": "^7.27.1", "fetch-mock-jest": "^1.5.1", "isomorphic-unfetch": "^3.1.0", "jest": "^27", "next": "10.x", "nexton": "^1.0.45", "prettier": "^2", "react": "17.x", "react-dom": "17.x", "ts-jest": "^27", "ts-node": "^10.8.1", "tsc": "^2.0.4", "tsconfig-paths": "^4.0.0", "type-fest": "^2.17.0", "typescript": "^4.7.3" }, "dependencies": { "@portive/api-types": "^9.0.0", "axios": "^0.27.2", "resolvable-value": "^1.0.2" }, "scripts": { "-- preset": "# Run preset from @thesunny/presets", "preset": "ts-node --project node_modules/@thesunny/presets/tsconfig.ts-node.json node_modules/@thesunny/presets/bin/index.ts", "--- test": "#", "test:once": "yarn test:clearcache && jest --config=jest.config.js", "test:watch": "jest --watch --config=jest.fast.config.js", "test:watch:types": "yarn test:clearcache && jest --watch --config=jest.config.js", "test:clearcache": "jest --clearCache", "-- fix": "# fix syntax", "fix:prettier": "yarn lint:prettier --write", "fix:eslint": "yarn lint:eslint --fix", "-- lint": "# lint syntax", "lint": "concurrently 'yarn lint:prettier' 'yarn lint:eslint' 'yarn lint:tsc'", "lint:prettier": "prettier --check \"**/*.{css,md,js,jsx,json,ts,tsx}\"", "lint:eslint": "eslint .", "lint:tsc": "tsc --build ./ --force", "--- build npm": "# build npm", "build:once": "yarn build:clear && yarn test:once && concurrently 'yarn build:cjs' 'yarn build:mjs' && echo 'Finished Building'", "build:watch": "build:clear && tsc -p tsconfig.ts-build.json --watch", "build:clear": "rm -rf ./.dist/", "build:cjs": "tsc -p tsconfig.build-cjs.json", "build:mjs": "tsc -p tsconfig.build-mjs.json", "-- publish npm": "# publish npm package", "publish:npm": "yarn build:once && yarn publish || yarn publish:first", "publish:npm:patch": "yarn build:once && yarn version --patch && yarn publish --non-interactive || yarn publish:first", "publish:first": "echo 'IMPORTANT INSTRUCTIONS: This is first publish so please use:\n\n\"npm publish --access=public\"'", "-- next": "# NextJs", "start:local": "DOTENV=.env/local.env next dev -p 3992", "start:staging": "DOTENV=.env/staging.env next dev -p 3992", "start:production": "DOTENV=.env/production.env next dev -p 3992", "-- open": "# open browser tabs", "open": "open -a 'google chrome' http://localhost:3992", "-- end": "# end" } }