UNPKG

orphic-cypress

Version:

Set of utilities and typescript transformers to cover storybook stories with cypress component tests

116 lines (115 loc) 3.67 kB
{ "name": "orphic-cypress", "version": "0.0.3", "description": "Set of utilities and typescript transformers to cover storybook stories with cypress component tests", "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { "test": "cypress run --component", "test:headed": "cypress open --project . --component", "test:isolated": "CYPRESS_USE_ISOLATED_CT_FILES=true cypress run --component", "test:isolated:headed": "CYPRESS_USE_ISOLATED_CT_FILES=true cypress open --project . --component", "prebuild": "rm -rf ./dist", "prepublishOnly": "npm run build", "cache-clear": "rm -rf ./node_modules/.cache", "build": "tsc -p tsconfig.build.json", "lint": "eslint \"**/*.{ts,tsx,js,jsx,md,mdx}\"", "lint:fix": "npm run lint -- --fix", "lint:check": "npm run lint && prettier --check .", "fmt": "npm run lint:fix && prettier --write .", "typecheck": "tsc --noEmit", "storybook": "start-storybook -p 6006", "storybook:build": "build-storybook -o docs/storybook/", "docs": "typedoc && npm run storybook:build", "typedoc": "typedoc" }, "files": [ "dist", "src" ], "repository": { "type": "git", "url": "git+https://github.com/quotapath/orphic-cypress.git" }, "keywords": [ "cypress", "component", "storybook", "transformer", "literate", "testing" ], "author": "quotapath", "license": "MIT", "bugs": { "url": "https://github.com/quotapath/orphic-cypress/issues" }, "homepage": "https://github.com/quotapath/orphic-cypress#readme", "devDependencies": { "@babel/core": "^7.20.2", "@bahmutov/cypress-code-coverage": "^1.3.2", "@storybook/addon-actions": "^6.5.14", "@storybook/addon-essentials": "^6.5.14", "@storybook/addon-interactions": "^6.5.14", "@storybook/addon-links": "^6.5.14", "@storybook/addon-storysource": "^6.5.14", "@storybook/builder-webpack5": "^6.5.14", "@storybook/manager-webpack5": "^6.5.14", "@storybook/react": "^6.5.14", "@storybook/testing-library": "^0.0.13", "@storybook/testing-react": "^1.3.0", "@storybook/types": "^7.0.0-alpha.44", "@types/react": "^17.0.2", "@typescript-eslint/eslint-plugin": "^5.42.0", "@typescript-eslint/parser": "^5.42.0", "babel-loader": "^9.1.0", "babel-plugin-istanbul": "^6.1.1", "cypress": "^12.0.2", "eslint": "^8.27.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-mdx": "^2.0.5", "eslint-plugin-react": "^7.31.10", "eslint-plugin-storybook": "^0.6.8", "fork-ts-checker-webpack-plugin": "^7.2.13", "prettier": "^2.7.1", "react-docgen-typescript-plugin": "^1.0.2", "storybook-addon-mock": "^3.2.0", "ts-dedent": "^2.2.0", "ts-loader": "^9.4.1", "typedoc": "^0.23.22", "typedoc-plugin-markdown": "^3.13.6", "typedoc-plugin-merge-modules": "^4.0.1", "webpack": "^5.74.0" }, "peerDependencies": { "@types/react": "^16.8 || ^17.0 || ^18.0", "@types/react-dom": "^16.8 || ^17.0 || ^18.0", "react": "^16.8 || ^17.0 || ^18.0", "react-docgen-typescript-plugin": "^1.0.0", "react-dom": "^16.8 || ^17.0 || ^18.0", "typescript": "^4.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true }, "@types/react-dom": { "optional": true }, "react-docgen-typescript-plugin": { "optional": true }, "react-dom": { "optional": true }, "typescript": { "optional": true } }, "dependencies": { "react": "^17.0.2", "react-docgen-typescript-plugin": "^1.0.2", "react-dom": "^17.0.2", "typescript": "^4.9.3" } }