{ "name": "cypress-auth0-simulator", "version": "1.0.8", "author": "Jason Landbridge ", "description": "Auth0 integration plugin for Cypress", "private": false, "keywords": [ "Auth0", "Cypress", "Mock", "cypress-plugin" ], "module": "dist/index.js", "types": "dist/types.d.ts", "repository": "https://github.com/JasonLandbridge/Cypress-Auth0-Simulator.git", "license": "MIT", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js" }, "./encrypt": { "import": "./dist/utils/encrypt.js", "require": "./dist/utils/encrypt.js" }, "./commands": { "import": "./dist/commands/index.js", "require": "./dist/commands/index.js" } }, "files": [ "dist", "src", "CHANGELOG.md", "README.md" ], "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "cypress:browser": "cypress open", "start:server:cra": "cd ./examples/create-react-app && npm install && npm run start", "start:server:nextjs-auth0": "cd ./examples/nextjs/nextjs-auth0 && npm install && npm run dev", "start:server:auth0-react": "cd ./examples/nextjs/auth0-react && npm install && npm run dev", "start:server:auth0-vue": "cd ./examples/vue/ && npm install && npm run serve", "cypress:run": "npx cypress run --spec 'cypress/e2e/*.ts'", "start:auth0": "PORT=4000 npx @simulacrum/auth0-simulator", "test:auth0-vue:browser": "CYPRESS_TEST_MODE=auth0-vue npx start-server-and-test 'npm run start:server:auth0-vue' http-get://localhost:3000 'npm run start:auth0' http://localhost:4000 cypress:browser", "test:auth0-vue:headless": "CYPRESS_TEST_MODE=auth0-vue npx start-server-and-test 'npm run start:server:auth0-vue' http-get://localhost:3000 'npm run start:auth0' http://localhost:4000 cypress:run", "test:nextjs-auth0:browser": "CYPRESS_TEST_MODE=nextjs-auth0 npx start-server-and-test 'npm run start:server:nextjs-auth0' http://localhost:3000 'npm run start:auth0' http://localhost:4000 cypress:browser", "test:nextjs-auth0:headless": "CYPRESS_TEST_MODE=nextjs-auth0 npx start-server-and-test 'npm run start:server:nextjs-auth0' http://localhost:3000 'npm run start:auth0' http://localhost:4000 cypress:run", "test:auth0-react:browser": "CYPRESS_TEST_MODE=auth0-react npx start-server-and-test 'npm run start:server:auth0-react' http://localhost:3000 'npm run start:auth0' http://localhost:4000 cypress:browser", "test:auth0-react:headless": "CYPRESS_TEST_MODE=auth0-react npx start-server-and-test 'npm run start:server:auth0-react' http://localhost:3000 'npm run start:auth0' http://localhost:4000 cypress:run", "test:cra:browser": "CYPRESS_TEST_MODE=create-react-app npx start-server-and-test 'npm run start:server:cra' http://localhost:3000 'npm run start:auth0' http://localhost:4000 cypress:browser", "test:cra:headless": "CYPRESS_TEST_MODE=create-react-app npx start-server-and-test 'npm run start:server:cra' http://localhost:3000 'npm run start:auth0' http://localhost:4000 cypress:run", "test": "npm run test:auth0-react:headless && npm run test:nextjs-auth0:headless && npm run test:cra:headless && npm run test:auth0-vue:headless", "build": "tsc -p tsconfig.json ", "type-check": "tsc --noEmit", "lint": "eslint --ignore-path .eslintignore --ext .js,.ts", "lint-fix": "eslint --ignore-path .eslintignore --ext .js,.ts --fix", "semantic-release": "semantic-release" }, "dependencies": { "@effection/atom": "2.0.7", "auth0-js": "^9.23.0", "auth0-spa-js": "^1.6.5", "cross-fetch": "^4.0.0", "dotenv": "^16.3.1", "futoin-hkdf": "^1.5.3", "jose": "^4.15.2" }, "devDependencies": { "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^9.2.1", "@semantic-release/npm": "^11.0.0", "@simulacrum/client": "^0.5.4", "@types/auth0-js": "^9.21.1", "@typescript-eslint/eslint-plugin": "^6.7.5", "@typescript-eslint/parser": "^6.7.5", "cypress": "^13.3.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-config-standard-with-typescript": "^39.1.1", "eslint-plugin-import": "^2.28.1", "eslint-plugin-n": "^16.2.0", "eslint-plugin-promise": "^6.1.1", "prettier": "^3.0.3", "start-server-and-test": "2.0.1", "typescript": "^5.2.2" } }