123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- {
- "name": "react-joyride",
- "version": "2.7.2",
- "description": "Create guided tours for your apps",
- "author": "Gil Barbara <gilbarbara@gmail.com>",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/gilbarbara/react-joyride.git"
- },
- "bugs": {
- "url": "https://github.com/gilbarbara/react-joyride/issues"
- },
- "homepage": "https://react-joyride.com/",
- "keywords": [
- "react",
- "react-component",
- "tooltips",
- "joyride",
- "walkthroughs",
- "tour"
- ],
- "main": "./dist/index.js",
- "module": "./dist/index.mjs",
- "exports": {
- "import": "./dist/index.mjs",
- "require": "./dist/index.js"
- },
- "files": [
- "dist",
- "src"
- ],
- "types": "dist/index.d.ts",
- "sideEffects": false,
- "license": "MIT",
- "peerDependencies": {
- "react": "15 - 18",
- "react-dom": "15 - 18"
- },
- "dependencies": {
- "@gilbarbara/deep-equal": "^0.3.1",
- "@gilbarbara/helpers": "^0.9.0",
- "deep-diff": "^1.0.2",
- "deepmerge": "^4.3.1",
- "is-lite": "^1.2.0",
- "react-floater": "^0.7.9",
- "react-innertext": "^1.1.5",
- "react-is": "^16.13.1",
- "scroll": "^3.0.1",
- "scrollparent": "^2.1.0",
- "tree-changes": "^0.11.2",
- "type-fest": "^4.8.3"
- },
- "devDependencies": {
- "@arethetypeswrong/cli": "^0.13.5",
- "@gilbarbara/eslint-config": "^0.7.2",
- "@gilbarbara/node-helpers": "^0.1.0",
- "@gilbarbara/prettier-config": "^1.0.0",
- "@gilbarbara/tsconfig": "^0.2.3",
- "@playwright/experimental-ct-react": "^1.40.1",
- "@size-limit/preset-big-lib": "^11.0.1",
- "@swc/core": "^1.3.100",
- "@swc/jest": "^0.2.29",
- "@testing-library/dom": "^9.3.3",
- "@testing-library/jest-dom": "^6.1.5",
- "@testing-library/react": "^14.1.2",
- "@total-typescript/shoehorn": "^0.1.1",
- "@types/exenv": "^1.2.2",
- "@types/jest": "^29.5.11",
- "@types/node": "^20.10.4",
- "@types/react": "^18.2.45",
- "@types/react-dom": "^18.2.17",
- "@types/scroll": "^3.0.3",
- "@types/scrollparent": "^2.0.3",
- "caniuse-lite": "^1.0.30001570",
- "cross-env": "^7.0.3",
- "csstype": "^3.1.3",
- "del-cli": "^5.1.0",
- "husky": "^8.0.3",
- "is-ci-cli": "^2.2.0",
- "jest": "^29.7.0",
- "jest-environment-jsdom": "^29.7.0",
- "jest-extended": "^4.0.2",
- "jest-watch-typeahead": "^2.2.2",
- "lint-staged": "^15.2.0",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "repo-tools": "^0.3.1",
- "size-limit": "^11.0.1",
- "ts-jest": "^29.1.1",
- "ts-node": "^10.9.2",
- "tsup": "^8.0.1",
- "typescript": "^5.3.3"
- },
- "scripts": {
- "build": " npm run clean && tsup && ts-node scripts/fix-cjs.ts",
- "watch": "tsup --watch",
- "clean": "del dist/*",
- "lint": "eslint --fix src test",
- "typecheck": "tsc --noEmit",
- "typevalidation": "attw -P",
- "test": "is-ci \"test:coverage\" \"test:watch\"",
- "test:coverage": "jest --bail --coverage",
- "test:watch": "jest --watchAll --verbose",
- "e2e": "playwright test -c playwright-ct.config.ts",
- "e2e:debug": "npm run e2e -- --project=chromium --debug",
- "e2e:ui": "npm run e2e -- --ui",
- "format": "prettier \"**/*.{js,jsx,ts,tsx}\" --write",
- "validate": "npm run lint && npm run typecheck && npm run test:coverage && npm run e2e && npm run build && npm run size && npm run typevalidation",
- "size": "size-limit",
- "prepublishOnly": "npm run validate"
- },
- "tsup": {
- "dts": true,
- "entry": [
- "src/index.tsx"
- ],
- "format": [
- "cjs",
- "esm"
- ],
- "target": "es2018",
- "sourcemap": true,
- "splitting": false
- },
- "eslintConfig": {
- "extends": [
- "@gilbarbara/eslint-config",
- "@gilbarbara/eslint-config/jest",
- "@gilbarbara/eslint-config/testing-library"
- ],
- "overrides": [
- {
- "files": [
- "test/**/*.ts?(x)"
- ],
- "rules": {
- "no-console": "off",
- "no-constructor-return": "off",
- "prefer-destructuring": "off",
- "jsx-a11y/anchor-has-content": "off",
- "jsx-a11y/anchor-is-valid": "off",
- "react/destructuring-assignment": "off",
- "react/jsx-filename-extension": "off",
- "react/prop-types": "off"
- }
- }
- ]
- },
- "prettier": "@gilbarbara/prettier-config",
- "lint-staged": {
- "*.(ts|tsx)": [
- "eslint --fix",
- "jest --findRelatedTests --passWithNoTests"
- ],
- "*.(css|graphql|js|json|jsx|less|md|mdx|scss|ts|tsx|yaml|yml)": [
- "prettier --write"
- ]
- },
- "size-limit": [
- {
- "name": "commonjs",
- "path": "./dist/index.js",
- "limit": "45 kB"
- },
- {
- "name": "esm",
- "path": "./dist/index.mjs",
- "limit": "35 kB"
- }
- ]
- }
|