代码拉取完成,页面将自动刷新
{
"name": "cypress-realworld-app",
"version": "1.0.0",
"description": "A payment application to demonstrate **real-world** usage of Cypress testing methods, patterns, and workflows. For a full reference of our documentation, go to https://docs.cypress.io",
"repository": {
"type": "git",
"url": "https://github.com/cypress-io/cypress-realworld-app.git"
},
"author": "Cypress DX Team",
"license": "MIT",
"bugs": {
"url": "https://github.com/cypress-io/cypress-realworld-app/issues"
},
"engines": {
"node": ">=12"
},
"dependencies": {
"@auth0/auth0-react": "1.8.0",
"@aws-amplify/ui-react": "1.2.8",
"@graphql-tools/graphql-file-loader": "7.3.1",
"@graphql-tools/load": "7.3.2",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2",
"@material-ui/lab": "4.0.0-alpha.60",
"@okta/jwt-verifier": "2.3.0",
"@okta/okta-auth-js": "4.9.2",
"@okta/okta-react": "4.1.0",
"@xstate/react": "1.6.1",
"aws-amplify": "4.2.2",
"axios": "0.21.4",
"clsx": "1.1.1",
"date-fns": "2.24.0",
"dinero.js": "1.9.0",
"formik": "2.2.9",
"history": "4.10.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-google-login": "5.2.2",
"react-infinite-calendar": "2.3.1",
"react-number-format": "4.7.3",
"react-router": "5.2.1",
"react-router-dom": "5.3.0",
"react-virtualized": "9.22.3",
"shortid": "2.2.16",
"uuid": "8.3.2",
"xstate": "4.25.0",
"yup": "0.32.11"
},
"devDependencies": {
"@cypress/code-coverage": "3.9.11",
"@cypress/instrument-cra": "1.4.0",
"@percy/cypress": "2.3.4",
"@types/bcryptjs": "2.4.2",
"@types/bluebird": "3.5.36",
"@types/connect-flash": "0.0.37",
"@types/connect-history-api-fallback": "1.3.5",
"@types/cors": "2.8.12",
"@types/dinero.js": "1.8.1",
"@types/express": "4.17.2",
"@types/express-paginate": "1.0.1",
"@types/express-serve-static-core": "4.17.2",
"@types/express-session": "1.17.4",
"@types/faker": "5.5.9",
"@types/http-proxy-middleware": "0.19.3",
"@types/jest": "27.0.2",
"@types/json-server": "0.14.4",
"@types/jsonwebtoken": "8.5.5",
"@types/jwt-decode": "2.2.1",
"@types/lodash": "4.14.175",
"@types/lowdb": "1.0.11",
"@types/morgan": "1.9.3",
"@types/node": "14.17.27",
"@types/passport": "1.0.7",
"@types/react": "17.0.30",
"@types/react-dom": "17.0.9",
"@types/react-infinite-calendar": "2.3.6",
"@types/react-router": "5.1.17",
"@types/react-router-dom": "5.1.8",
"@types/react-virtualized": "9.21.13",
"@types/shortid": "0.0.29",
"@types/uuid": "8.3.1",
"@types/validator": "13.6.3",
"@types/webpack-env": "1.16.3",
"@types/yup": "0.29.13",
"aws-sdk": "2.968.0",
"bcryptjs": "2.4.3",
"concurrently": "6.3.0",
"cors": "2.8.5",
"cross-env": "7.0.3",
"cypress": "8.5.0",
"dotenv": "10.0.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-prettier": "4.0.0",
"express": "4.17.1",
"express-graphql": "0.12.0",
"express-jwt": "6.1.0",
"express-paginate": "1.0.2",
"express-session": "1.17.2",
"express-validator": "6.13.0",
"faker": "5.5.3",
"fuse.js": "6.4.6",
"graphql": "15.6.1",
"graphql-tools": "8.2.0",
"husky": "6.0.0",
"istanbul-lib-coverage": "3.0.1",
"json": "11.0.0",
"jwks-rsa": "2.0.5",
"lowdb": "1.0.0",
"morgan": "1.10.0",
"ncp": "2.0.0",
"nodemon": "2.0.13",
"nyc": "15.1.0",
"passport": "0.4.1",
"passport-local": "1.0.0",
"prettier": "2.4.1",
"react-scripts": "4.0.3",
"start-server-and-test": "1.14.0",
"ts-node": "10.2.1",
"typescript": "4.4.2"
},
"resolutions": {
"@babel/compat-data": "7.9.0",
"@types/express": "4.17.2",
"@types/express-serve-static-core": "4.17.2"
},
"scripts": {
"dev": "cross-env NODE_ENV=development concurrently yarn:start:react yarn:start:api:watch",
"dev:auth0": "cross-env REACT_APP_AUTH0=true NODE_ENV=development concurrently yarn:start:react yarn:start:api:watch",
"dev:okta": "cross-env REACT_APP_OKTA=true NODE_ENV=development concurrently yarn:start:react yarn:start:api:watch",
"dev:cognito": "cross-env REACT_APP_AWS_COGNITO=true NODE_ENV=development concurrently yarn:start:react yarn:start:api:watch",
"dev:google": "cross-env REACT_APP_GOOGLE=true NODE_ENV=development concurrently yarn:start:react yarn:start:api:watch",
"predev:cognito": "yarn build:aws-exports-es5",
"predev:cognito:ci": "yarn copy:mock:awsexports && yarn copy:mock:awsexportses5",
"copy:mock:awsexports": "ncp scripts/mock-aws-exports.js src/aws-exports.js",
"copy:mock:awsexportses5": "ncp scripts/mock-aws-exports-es5.js aws-exports-es5.js",
"build:aws-exports-es5": "cross-env tsc --skipLibCheck --allowJs --lib 'es5' --module 'commonjs' --target 'es5' --moduleResolution 'node' --outDir . src/aws-exports.js; mv aws-exports.js aws-exports-es5.js",
"start": "cross-env NODE_ENV=development concurrently yarn:start:react yarn:start:api",
"start:ci": "cross-env NODE_ENV=test concurrently yarn:start:react:proxy-server yarn:start:api",
"prestart:ci": "yarn predev:cognito:ci",
"start:react": "react-scripts -r @cypress/instrument-cra start",
"start:empty": "cross-env NODE_ENV=development EMPTY_SEED=true concurrently yarn:start:react yarn:start:api:watch",
"lint": "eslint && prettier --check \"**/**.{ts,js,tsx}\" \"*.{json,md,yml}\"",
"list:dev:users": "cat data/database.json | json -a users | json -a id username",
"types": "tsc --noEmit",
"precypress:open": "yarn predev:cognito:ci",
"cypress:open": "cypress open",
"cypress:open:mobile": "cypress open --config viewportWidth=375,viewportHeight=667",
"cypress:run": "cypress run",
"cypress:run:mobile": "cypress run --config viewportWidth=375,viewportHeight=667",
"test": "yarn cypress:open",
"test:headless": "yarn cypress:run",
"test:api": "yarn cypress:run --spec 'cypress/tests/api/*'",
"test:unit": "react-scripts test --runInBand",
"test:unit:ci": "react-scripts test --watchAll false --ci --runInBand",
"start:api": "yarn tsnode --files backend/app.ts",
"start:api:watch": "nodemon --exec yarn tsnode --watch 'backend' backend/app.ts",
"start:react:proxy-server": "yarn tsnode scripts/testServer.ts",
"prettier": "prettier --write '**/**.{ts,js,tsx}' '*.{json,md,yml}'",
"tsnode": "nyc --silent ts-node -P tsconfig.tsnode.json",
"tsnode:not-instrumented": "ts-node -P tsconfig.tsnode.json",
"db:seed": "yarn tsnode scripts/generateSeedData",
"predb:seed:dev": "yarn predev:cognito:ci",
"db:seed:dev": "ncp ./data/database-seed.json ./data/database.json",
"db:seed:empty": "ncp ./data/empty-seed.json ./data/database.json",
"postdb:seed": "yarn db:seed:dev",
"prestart": "yarn db:seed:dev",
"predev": "yarn db:seed:dev",
"prestart:empty": "yarn db:seed:empty",
"prebuild": "yarn types",
"prebuild:ci": "yarn predev:cognito:ci",
"build:ci": "react-scripts build",
"build": "react-scripts build",
"eject": "react-scripts eject",
"codesandbox:start:api": "yarn tsnode:not-instrumented --files backend/app.ts",
"codesandbox:start": "NODE_ENV=development TSC_COMPILE_ON_ERROR=true concurrently \"react-scripts start\" yarn:start:api:codesandbox",
"postinstall": "husky install"
},
"eslintConfig": {
"env": {
"cypress/globals": true
},
"extends": [
"react-app",
"plugin:prettier/recommended",
"plugin:cypress/recommended"
],
"plugins": [
"cypress",
"prettier"
],
"rules": {
"no-unused-expressions": 0
}
},
"jest": {
"watchPathIgnorePatterns": [
"<rootDir>/data/database.json",
"<rootDir>/data/database-seed.json"
]
},
"husky": {
"hooks": {
"pre-push": "yarn types"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"percy": {
"version": 1,
"snapshot": {
"widths": [
1280
]
}
},
"nyc": {
"exclude": [
"src/models/*.ts"
],
"reporter": [
"html",
"json"
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。