Files
lexical/package.json
Acy Watson d57876077a Fix assert (#1505)
* fix assertHTML

* remove unused

* lint

* fix history

* add back retries
2022-04-09 00:43:33 -07:00

145 lines
9.8 KiB
JSON

{
"name": "lexical-monorepo",
"description": "Lexical is an extensible text editor library that provides excellent reliability, accessible and performance.",
"version": "0.1.16",
"license": "MIT",
"author": {
"name": "Dominic Gannaway",
"email": "dg@domgan.com"
},
"private": true,
"workspaces": [
"packages/*"
],
"engines": {
"npm": ">=8.2.3",
"yarn": ">=1"
},
"engineStrict": true,
"scripts": {
"start": "NODE_ENV=development concurrently \"npm:collab\" \"npm run dev --prefix packages/lexical-playground\"",
"start:website": "concurrently \"npm:build\" \"npm run start --prefix packages/lexical-website -- -p 3030\"",
"dev": "npm run dev --prefix packages/lexical-playground",
"dev:website": "concurrently \"npm:build\" \"npm run dev --prefix packages/lexical-website -- -p 3030\"",
"build": "node scripts/build.js --clean",
"build-prod": "node scripts/build.js --prod --clean",
"build-release": "node scripts/build.js --prod --release --clean",
"build-www": "node scripts/build.js --clean --www && node scripts/build.js --www --prod && npm run prepare-www",
"build-flow": "./scripts/build-flow.sh",
"clean": "node scripts/build.js --clean",
"extract-codes": "node scripts/build.js --codes",
"flow": "node ./scripts/tasks/flow.js",
"collab": "cross-env HOST=localhost PORT=1234 npx y-websocket-server",
"test-unit": "jest --selectProjects unit --testPathPattern",
"test-unit-watch": "npm run test-unit -- --watch --coverage=''",
"test-e2e:chromium": "cross-env E2E_BROWSER=chromium playwright test --project=\"chromium\"",
"test-e2e:firefox": "cross-env E2E_BROWSER=firefox playwright test --project=\"firefox\"",
"test-e2e:webkit": "cross-env E2E_BROWSER=webkit playwright test --project=\"webkit\"",
"test-e2e-plain:chromium": "cross-env E2E_EDITOR_MODE=plain-text playwright test --project=\"chromium\"",
"test-e2e-plain:firefox": "cross-env E2E_BROWSER=firefox cross-env E2E_EDITOR_MODE=plain-text playwright test --project=\"firefox\"",
"test-e2e-plain:webkit": "cross-env E2E_BROWSER=webkit cross-env E2E_EDITOR_MODE=plain-text playwright test --project=\"webkit\"",
"test-e2e-collab:chromium": "cross-env E2E_BROWSER=chromium cross-env E2E_EDITOR_MODE=rich-text-with-collab playwright test --project=\"chromium\"",
"test-e2e-collab:firefox": "cross-env E2E_BROWSER=firefox cross-env E2E_EDITOR_MODE=rich-text-with-collab playwright test --project=\"firefox\"",
"test-e2e-collab:webkit": "cross-env E2E_BROWSER=webkit cross-env E2E_EDITOR_MODE=rich-text-with-collab playwright test --project=\"webkit\"",
"test-e2e-ci:chromium": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci 4000 test-e2e:chromium",
"test-e2e-ci:firefox": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci 4000 test-e2e:firefox",
"test-e2e-ci:webkit": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci 4000 test-e2e:webkit",
"test-e2e-collab-ci:chromium": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci-collab 4000 test-e2e-collab:chromium",
"test-e2e-collab-ci:firefox": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci-collab 4000 test-e2e-collab:firefox",
"test-e2e-collab-ci:webkit": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci-collab 4000 test-e2e-collab:webkit",
"debug-test-e2e": "cross-env playwright test --debug",
"debug-test-e2e:chromium": "cross-env E2E_BROWSER=chromium cross-env playwright test --debug --project=\"chromium\"",
"debug-test-e2e:firefox": "cross-env E2E_BROWSER=firefox cross-env playwright test --debug --project=\"firefox\"",
"debug-test-e2e:webkit": "cross-env E2E_BROWSER=webkit cross-env playwright test --debug --project=\"webkit\"",
"debug-test-e2e-legacy": "cross-env cross-env playwright test --debug",
"debug-test-e2e-legacy:chromium": "cross-env E2E_BROWSER=chromium cross-env E2E_EVENTS_MODE=legacy-events playwright test --debug --project=\"chromium\"",
"debug-test-e2e-legacy:firefox": "cross-env E2E_BROWSER=firefox cross-env E2E_EVENTS_MODE=legacy-events playwright test --debug --project=\"firefox\"",
"debug-test-e2e-legacy:webkit": "cross-env E2E_BROWSER=webkit cross-env E2E_EVENTS_MODE=legacy-events playwright test --debug --project=\"webkit\"",
"debug-test-e2e-collab": "cross-env cross-env E2E_EDITOR_MODE=rich-text-with-collab playwright test --debug",
"debug-test-e2e-collab:chromium": "cross-env E2E_BROWSER=chromium cross-env cross-env E2E_EDITOR_MODE=rich-text-with-collab playwright test --debug --project=\"chromium\"",
"debug-test-e2e-collab:firefox": "cross-env E2E_BROWSER=firefox cross-env cross-env E2E_EDITOR_MODE=rich-text-with-collab playwright test --debug --project=\"firefox\"",
"debug-test-e2e-collab:webkit": "cross-env E2E_BROWSER=webkit cross-env cross-env E2E_EDITOR_MODE=rich-text-with-collab playwright test --debug --project=\"webkit\"",
"debug-test-e2e-collab-legacy": "cross-env cross-env E2E_EDITOR_MODE=rich-text-with-collab cross-env E2E_EVENTS_MODE=legacy-events playwright test --debug",
"debug-test-e2e-collab-legacy:chromium": "cross-env E2E_BROWSER=chromium cross-env cross-env E2E_EDITOR_MODE=rich-text-with-collab cross-env E2E_EVENTS_MODE=legacy-events playwright test --debug --project=\"chromium\"",
"debug-test-e2e-collab-legacy:firefox": "cross-env E2E_BROWSER=firefox cross-env cross-env E2E_EDITOR_MODE=rich-text-with-collab cross-env E2E_EVENTS_MODE=legacy-events playwright test --debug --project=\"firefox\"",
"debug-test-e2e-collab-legacy:webkit": "cross-env E2E_BROWSER=webkit cross-env cross-env E2E_EDITOR_MODE=rich-text-with-collab cross-env E2E_EVENTS_MODE=legacy-events playwright test --debug --project=\"webkit\"",
"debug-test-e2e-plain": "cross-env cross-env E2E_EDITOR_MODE=plain-text playwright test --debug",
"debug-test-e2e-plain:chromium": "cross-env E2E_BROWSER=chromium cross-env cross-env E2E_EDITOR_MODE=plain-text playwright test --debug --project=\"chromium\"",
"debug-test-e2e-plain:firefox": "cross-env E2E_BROWSER=firefox cross-env cross-env E2E_EDITOR_MODE=plain-text playwright test --debug --project=\"firefox\"",
"debug-test-e2e-plain:webkit": "cross-env E2E_BROWSER=webkit cross-env cross-env E2E_EDITOR_MODE=plain-text playwright test --debug --project=\"webkit\"",
"debug-test-e2e-plain-legacy": "cross-env cross-env E2E_EDITOR_MODE=plain-text E2E_EVENTS_MODE=legacy-events playwright test --debug",
"debug-test-e2e-plain-legacy:chromium": "cross-env E2E_BROWSER=chromium cross-env cross-env E2E_EDITOR_MODE=plain-text cross-env E2E_EVENTS_MODE=legacy-events playwright test --debug --project=\"chromium\"",
"debug-test-e2e-plain-legacy:firefox": "cross-env E2E_BROWSER=firefox cross-env cross-env E2E_EDITOR_MODE=plain-text cross-env E2E_EVENTS_MODE=legacy-events playwright test --debug --project=\"firefox\"",
"debug-test-e2e-plain-legacy:webkit": "cross-env E2E_BROWSER=webkit cross-env cross-env E2E_EDITOR_MODE=plain-text cross-env E2E_EVENTS_MODE=legacy-events playwright test --debug --project=\"webkit\"",
"debug-test-unit": "node --inspect-brk node_modules/.bin/jest --runInBand --collectCoverage=false",
"lint": "node ./scripts/tasks/eslint.js",
"prettier": "pretty-quick",
"prettier-all": "prettier --write .",
"prepare-ci": "npm run build --prefix packages/lexical-playground && serve packages/lexical-playground/build -l 4000",
"prepare-ci-collab": "npm run build --prefix packages/lexical-playground && concurrently \"npm run collab\" \"serve packages/lexical-playground/build -l 4000\"",
"prepare-release": "npm run build-release && node ./scripts/npm/prepare-release.js",
"prepare": "husky install",
"prepare-size-compare": "npm run build-prod && node ./scripts/npm/prepare-size-compare.js",
"prepare-www": "node scripts/www/rewriteImports.js",
"release": "npm run prepare-release && node ./scripts/npm/release.js",
"update-version": "node ./scripts/updateVersion"
},
"devDependencies": {
"@babel/plugin-transform-flow-strip-types": "^7.14.5",
"@babel/preset-flow": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@playwright/test": "1.17.0-next-alpha-nov-5-2021",
"@rollup/plugin-alias": "^3.1.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.1",
"@rollup/plugin-node-resolve": "^13.0.2",
"@rollup/plugin-replace": "^3.0.0",
"babel-eslint": "^10.1.0",
"child-process-promise": "^2.2.1",
"chokidar": "^3.5.2",
"concurrently": "^6.2.0",
"confusing-browser-globals": "^1.0.10",
"cross-env": "^7.0.3",
"danger": "^10.7.0",
"eslint": "^7.31.0",
"eslint-config-fbjs": "^3.1.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-no-for-of-loops": "^1.0.1",
"eslint-plugin-no-function-declare-after-return": "^1.1.0",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"flow-bin": "^0.171.0",
"fs-extra": "^10.0.0",
"gen-flow-files": "^0.4.11",
"glob": "^7.2.0",
"google-closure-compiler": "^20220202.0.0",
"gzip-size": "^6.0.0",
"husky": "^7.0.1",
"jest": "26.6.0",
"jsdom": "^19.0.0",
"lint-staged": "^11.1.0",
"minimist": "^1.2.5",
"playwright": "1.16.0-next-alpha-trueadm-fork",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.3",
"react-test-renderer": "^17.0.2",
"rollup": "^2.60.2",
"serve": "^13.0.2",
"start-server-and-test": "^1.13.0",
"tmp": "^0.2.1",
"uuid": "^8.3.2"
},
"overrides": {
"@playwright/test": {
"playwright-core": "1.16.0-next-alpha-trueadm-fork"
}
}
}