mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
77644860c0
* feat: Added cypress setup files. * feat: Added server bootup and initial test run. * feat: Added e2e tests for signin, signup, and personalization form. * feat: Added e2e tests for adding a function node. * feat: Added set node and workflow execution steps. * feat: Added test id to main sidebar. * feat: Added test for creating a new workflow. * feat: Finished test for creating a blank workflow * chore: Removed screenshots from e2e tests. * refactor: change e2e tests to per page structure * feat: add cypress type enchancements * feat: add typescript for cypress tests * fix: remove component after merge * feat: update cypress definitions * feat: add cypress cleanup task * refactor: update cypress script names * ci: add smoke tests to workflow * chore: remove cypress example files * feat: update signup flow to be reusable * fix: fix signup route for cypress page object * fix: remove cypress reset command * fix: remove unused imports * fix: Add unhandled error catcher
59 lines
2.3 KiB
JSON
59 lines
2.3 KiB
JSON
{
|
|
"name": "n8n",
|
|
"version": "0.201.0",
|
|
"private": true,
|
|
"homepage": "https://n8n.io",
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"dev": "turbo run dev --parallel",
|
|
"clean:dist": "npm exec -ws -- rimraf ./dist",
|
|
"format": "turbo run format && node scripts/format.mjs",
|
|
"lint": "turbo run lint",
|
|
"lintfix": "turbo run lintfix",
|
|
"optimize-svg": "find ./packages -name '*.svg' ! -name 'pipedrive.svg' -print0 | xargs -0 -P16 -L20 npx svgo",
|
|
"postinstall": "patch-package",
|
|
"start": "run-script-os",
|
|
"start:default": "cd packages/cli/bin && ./n8n",
|
|
"start:tunnel": "./packages/cli/bin/n8n start --tunnel",
|
|
"start:windows": "cd packages/cli/bin && n8n",
|
|
"test": "turbo run test",
|
|
"watch": "turbo run watch",
|
|
"webhook": "./packages/cli/bin/n8n webhook",
|
|
"worker": "./packages/cli/bin/n8n worker",
|
|
"test:e2e:db:clean": "rimraf ~/.n8n/cypress.sqlite ~/.n8n/cypress.sqlite.bak",
|
|
"test:e2e:cypress:run": "cypress run",
|
|
"test:e2e": "npm run test:e2e:db:clean && cross-env DB_FILE=cypress.sqlite N8N_DIAGNOSTICS_ENABLED=false start-server-and-test start http://localhost:5678/favicon.ico test:e2e:cypress:run",
|
|
"test:e2e:cypress:dev": "cypress open",
|
|
"test:e2e:dev": "npm run test:e2e:db:clean && cross-env DB_FILE=cypress.sqlite N8N_DIAGNOSTICS_ENABLED=false start-server-and-test start http://localhost:5678/favicon.ico test:e2e:cypress:dev",
|
|
"test:e2e:cypress:ci:smoke": "cypress run --headless --spec \"cypress/e2e/0-smoke.cy.ts\"",
|
|
"test:e2e:ci:smoke": "npm run test:e2e:db:clean && cross-env DB_FILE=cypress.sqlite N8N_DIAGNOSTICS_ENABLED=false start-server-and-test start http://localhost:5678/favicon.ico test:e2e:cypress:ci:smoke"
|
|
},
|
|
"devDependencies": {
|
|
"@ngneat/falso": "^6.1.0",
|
|
"@types/jest": "^28.1.8",
|
|
"cross-env": "^7.0.3",
|
|
"cypress": "^10.0.3",
|
|
"jest": "^28.1.3",
|
|
"jest-environment-jsdom": "^28.1.3",
|
|
"jest-mock": "^28.1.3",
|
|
"patch-package": "^6.4.7",
|
|
"rimraf": "^3.0.2",
|
|
"run-script-os": "^1.0.7",
|
|
"start-server-and-test": "^1.14.0",
|
|
"ts-jest": "^28.0.8",
|
|
"turbo": "1.2.15",
|
|
"typescript": "^4.8.4"
|
|
},
|
|
"postcss": {},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"packages/@n8n_io/*"
|
|
],
|
|
"overrides": {
|
|
"browserslist": "^4.21.3",
|
|
"ejs": "^3.1.8",
|
|
"fork-ts-checker-webpack-plugin": "^6.0.4",
|
|
"globby": "^11.0.2"
|
|
}
|
|
}
|