| { | |
| "private": true, | |
| "author": "ORY GmbH", | |
| "name": "react-page", | |
| "license": "MIT", | |
| "workspaces": [ | |
| "packages/editor", | |
| "packages/plugins/content/*", | |
| "packages/plugins/layout/*", | |
| "packages/react-admin", | |
| "examples" | |
| ], | |
| "devDependencies": { | |
| "@babel/cli": "7.2.0", | |
| "@babel/core": "7.2.0", | |
| "@babel/plugin-proposal-class-properties": "7.2.1", | |
| "@babel/plugin-transform-modules-commonjs": "7.2.0", | |
| "@babel/preset-env": "7.2.0", | |
| "@babel/preset-react": "7.0.0", | |
| "@babel/preset-typescript": "^7.1.0", | |
| "@semantic-release/changelog": "^6.0.1", | |
| "@semantic-release/exec": "semantic-release/exec", | |
| "@testing-library/react": "^13.4.0", | |
| "@types/jest": "^26.0.19", | |
| "@types/react": "^18.0.20", | |
| "@types/react-dom": "^18.0.6", | |
| "@types/react-redux": "^7.1.15", | |
| "@typescript-eslint/eslint-plugin": "^4.4.1", | |
| "@typescript-eslint/parser": "^4.4.1", | |
| "babel-core": "7.0.0-bridge.0", | |
| "babel-eslint": "10.1.0", | |
| "chokidar-cli": "^1.2.0", | |
| "coveralls": "^3.0.2", | |
| "cross-env": "^5.2.0", | |
| "docsify": "^4.12.2", | |
| "docsify-cli": "^4.4.4", | |
| "enzyme": "^3.11.0", | |
| "enzyme-adapter-react-16": "1.7.1", | |
| "eslint": "^7.1.0", | |
| "eslint-config-prettier": "^6.11.0", | |
| "eslint-plugin-prettier": "^3.1.3", | |
| "eslint-plugin-react": "^7.20.0", | |
| "gh-pages": "^5.0.0", | |
| "husky": "^0.14.3", | |
| "jest": "^26.6.3", | |
| "jest-react-hooks-shallow": "^1.5.1", | |
| "lerna": "^3.22.0", | |
| "npm-run-all": "4.1.5", | |
| "postcss": "^8.4.12", | |
| "postcss-cli": "^9.1.0", | |
| "postcss-custom-properties": "^12.1.5", | |
| "postcss-import": "^14.1.0", | |
| "postcss-nested": "^5.0.6", | |
| "postcss-preset-env": "^7.4.3", | |
| "prettier": "^2.0.5", | |
| "react": "^18.2.0", | |
| "react-dom": "^18.2.0", | |
| "redux": "^4.0.5", | |
| "replace-in-file": "^6.1.0", | |
| "rimraf": "2.6.2", | |
| "semantic-release": "^19.0.2", | |
| "ts-jest": "^26.4.4", | |
| "typescript": "^4.8.3", | |
| "unexpected": "^11.14.0" | |
| }, | |
| "scripts": { | |
| "docs": "docsify serve -p 3100 ./docs", | |
| "analyze": "ANALYZE=true npm-run-all build", | |
| "coveralls": "cat ./coverage/lcov.info | coveralls", | |
| "bootstrap": "lerna bootstrap", | |
| "build": "cross-env NODE_ENV=production lerna run build --stream", | |
| "build:lib": "cross-env NODE_ENV=production lerna run build --ignore @react-page/examples --stream", | |
| "build:examples": "yarn --cwd examples build", | |
| "build:watch": "cross-env NODE_ENV=development lerna run build:watch --parallel", | |
| "clean": "lerna run clean", | |
| "clean:lerna": "lerna clean --yes", | |
| "lint": "eslint -c .eslintrc.js '*/**/*.{js,ts,tsx}'", | |
| "lint:watch": "npm-run-all watch:ts -- -c \"npm-run-all lint\"", | |
| "lint:fix": "yarn lint --fix", | |
| "dev": "cross-env TSC_WATCHFILE=UseFsEventsWithFallbackDynamicPolling npm-run-all -p build:watch dev:examples", | |
| "dev:examples": "cross-env NODE_ENV=development lerna run dev --stream", | |
| "test": "cross-env NODE_ENV=test jest --coverage", | |
| "test:watch": "cross-env NODE_ENV=test jest --watch", | |
| "postinstall": "npm-run-all bootstrap", | |
| "watch:ts": "chokidar \"+(packages)/*/src/**/*.(ts|tsx)\" \"+(packages)/plugins/*/src/**/*.(ts|tsx)\" --initial", | |
| "semantic-release": "semantic-release" | |
| }, | |
| "jest": { | |
| "setupFilesAfterEnv": [ | |
| "./config/jestTestSetup" | |
| ], | |
| "moduleFileExtensions": [ | |
| "ts", | |
| "tsx", | |
| "js", | |
| "jsx" | |
| ], | |
| "transform": { | |
| "^.+\\.(ts|tsx|js)$": "ts-jest" | |
| }, | |
| "globals": { | |
| "ts-jest": { | |
| "tsconfig": "./config/tsconfig.test.json" | |
| } | |
| }, | |
| "modulePathIgnorePatterns": [ | |
| "/lib/", | |
| "/lib-es/", | |
| "/examples/" | |
| ], | |
| "testPathIgnorePatterns": [ | |
| "/node_modules/", | |
| "/lib/", | |
| "/lib-es/", | |
| "/examples/" | |
| ], | |
| "watchPathIgnorePatterns": [ | |
| "/node_modules/", | |
| "/lib/", | |
| "/lib-es/", | |
| "/examples/" | |
| ], | |
| "transformIgnorePatterns": [ | |
| "/node_modules/react-dnd/(?!dist)" | |
| ] | |
| }, | |
| "version": "0.0.0-development", | |
| "repository": { | |
| "type": "git", | |
| "url": "https://github.com/react-page/react-page.git" | |
| }, | |
| "release": { | |
| "plugins": [ | |
| [ | |
| "@semantic-release/commit-analyzer", | |
| { | |
| "preset": "angular", | |
| "releaseRules": [ | |
| { | |
| "breaking": true, | |
| "release": "major" | |
| }, | |
| { | |
| "revert": true, | |
| "release": "patch" | |
| }, | |
| { | |
| "type": "feat", | |
| "release": "minor" | |
| }, | |
| { | |
| "type": "docs", | |
| "release": "patch" | |
| }, | |
| { | |
| "type": "examples", | |
| "release": "patch" | |
| }, | |
| { | |
| "type": "fix", | |
| "release": "patch" | |
| }, | |
| { | |
| "type": "perf", | |
| "release": "patch" | |
| }, | |
| { | |
| "message": "*", | |
| "release": "patch" | |
| } | |
| ] | |
| } | |
| ], | |
| "@semantic-release/release-notes-generator", | |
| "@semantic-release/changelog", | |
| [ | |
| "@semantic-release/exec", | |
| { | |
| "prepareCmd": "yarn replace-in-file '###VERSION###' ${nextRelease.version} packages/*/lib*/*.js examples/build/**/*.js && git remote set-url origin https://git:$GH_TOKEN_DOCS@github.com/react-page/${nextRelease.channel || 'react-page.github.io'}.git", | |
| "publishCmd": "RELEASE_CHANNEL=${nextRelease.channel} yarn build:examples && (yarn gh-pages -t true -u 'github-actions-bot <support+actions@github.com>' -d examples/build -b main || true ) && yarn lerna publish --no-git-tag-version --no-git-reset --no-push --yes --dist-tag=${nextRelease.channel} --force-publish=* ${nextRelease.version}", | |
| "addChannel": "npm dist-tag add ${nextRelease.version}@${nextRelease.channel}" | |
| } | |
| ], | |
| "@semantic-release/github" | |
| ] | |
| }, | |
| "dependencies": {} | |
| } | |