vikunja-frontend/package.json

146 lines
3.6 KiB
JSON
Raw Normal View History

2018-08-28 22:50:22 +02:00
{
"name": "vikunja-frontend",
2019-12-15 21:42:40 +01:00
"version": "0.10.0",
2018-08-28 22:50:22 +02:00
"private": true,
"scripts": {
"serve": "vite",
"serve:dist-dev": "node scripts/serve-dist.js",
"serve:dist": "vite preview",
"build": "vite build && workbox copyLibraries dist/",
2021-10-07 13:59:10 +02:00
"build:modern-only": "BUILD_MODERN_ONLY=true vite build && workbox copyLibraries dist/",
"build:dev": "vite build -m development --outDir dist-dev/",
2021-07-26 16:59:59 +02:00
"lint": "eslint --ignore-pattern '*.test.*' ./src --ext .vue,.js,.ts",
Frontend Testing With Cypress (#313) Wait until the request is finished Wait for the newly created task exists in the dom Wait until the login request is done Wait until the list request is done Make sure no user token is in local storage when trying to register Make sure to always upload test results Disable capturing videos of test runs in CI Add uploading test result screenshots from ci Assert a success notification is shown after creating a new list Change input element locators Fix testing for favorite lists Make sure faked usernames are always random Make sure the tests work Make sure to use node 12 everywhere in ci Add docs Fix setting api url for running tests Use a working node version Ignore cypress screenshots and videos Set cache folders Explicitly ignore cypress files when running unit tests Trigger Drone Only run unit tests with yarn test:unit Add serve dist command to serve built static files Trigger Drone Fix cypress image Change cypress image Unify test & build step back again to prevent double installation of dependencies Add cache location config Move test steps to separate pipeline Run cypress tests in drone Fix all tests Make all factory methods static Use factories everywhere Cleanup Add tests for the editor Add tests for viewing link shares Fix seed Add test to make sure settings elements are hidden if the user does not have the right to edit the current list Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/313 Co-Authored-By: konrad <konrad@kola-entertainments.de> Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-10 14:52:35 +01:00
"cypress:open": "cypress open",
"test:unit": "jest",
2021-10-07 13:59:10 +02:00
"test:frontend": "cypress run",
"browserslist:update": "npx browserslist@latest --update-db"
2018-08-28 22:50:22 +02:00
},
"dependencies": {
2021-10-16 18:25:00 +02:00
"@kyvg/vue3-notification": "2.3.4",
"@vue/compat": "3.2.20",
"bulma": "0.9.3",
"camel-case": "4.1.2",
2021-10-16 18:25:00 +02:00
"codemirror": "^5.63.3",
"copy-to-clipboard": "3.3.1",
"date-fns": "2.25.0",
"dompurify": "2.3.3",
2021-08-19 19:20:02 +02:00
"easymde": "^2.15.0",
"flatpickr": "^4.6.9",
"highlight.js": "11.2.0",
"is-touch-device": "1.0.1",
2021-09-11 17:53:03 +02:00
"lodash.clonedeep": "^4.5.0",
"lodash.debounce": "^4.0.8",
"marked": "3.0.7",
"register-service-worker": "1.7.2",
"snake-case": "3.0.4",
"ufo": "0.7.9",
2021-10-16 18:25:00 +02:00
"vue": "3.2.20",
"vue-advanced-cropper": "^2.6.3",
"vue-drag-resize": "^2.0.3",
"vue-flatpickr-component": "9.0.5",
2021-10-16 18:25:00 +02:00
"vue-i18n": "9.2.0-beta.11",
"vue-router": "4.0.12",
"vuedraggable": "4.0.1",
2021-08-20 15:32:53 +02:00
"vuex": "4.0.2",
"workbox-precaching": "6.3.0"
2018-08-28 22:50:22 +02:00
},
"devDependencies": {
"@4tw/cypress-drag-drop": "2.0.0",
"@fortawesome/fontawesome-svg-core": "1.2.36",
"@fortawesome/free-regular-svg-icons": "5.15.4",
"@fortawesome/free-solid-svg-icons": "5.15.4",
2021-08-19 22:23:43 +02:00
"@fortawesome/vue-fontawesome": "3.0.0-4",
"@types/jest": "27.0.2",
"@typescript-eslint/eslint-plugin": "5.0.0",
"@typescript-eslint/parser": "5.0.0",
"@vitejs/plugin-legacy": "1.6.2",
2021-10-16 18:25:00 +02:00
"@vitejs/plugin-vue": "^1.9.3",
"@vue/eslint-config-typescript": "8.0.0",
"autoprefixer": "10.3.7",
"axios": "0.23.0",
"browserslist": "4.17.4",
"cypress": "8.6.0",
"cypress-file-upload": "5.0.8",
"esbuild": "0.13.8",
"eslint": "8.0.1",
2021-10-07 13:59:10 +02:00
"eslint-plugin-vue": "7.19.1",
"express": "4.17.1",
"faker": "5.5.3",
"jest": "27.2.5",
"postcss": "8.3.9",
"rollup": "2.58.0",
"rollup-plugin-visualizer": "5.5.2",
"sass": "1.43.2",
"ts-jest": "27.0.7",
"typescript": "4.4.4",
"vite": "2.6.7",
2021-10-07 13:59:10 +02:00
"vite-plugin-pwa": "0.11.3",
"wait-on": "6.0.0",
"workbox-cli": "6.3.0"
2018-08-28 22:50:22 +02:00
},
"eslintConfig": {
"root": true,
"env": {
"browser": true,
"es2021": true,
2018-08-28 22:50:22 +02:00
"node": true
},
"extends": [
"eslint:recommended",
"plugin:vue/vue3-essential",
"@vue/typescript"
2018-08-28 22:50:22 +02:00
],
"rules": {
"vue/html-quotes": [
"error",
"double"
],
"quotes": [
"error",
"single"
],
"comma-dangle": [
"error",
"always-multiline"
],
"semi": [
"error",
"never"
]
},
"parser": "vue-eslint-parser",
2018-08-28 22:50:22 +02:00
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": 2021
Frontend Testing With Cypress (#313) Wait until the request is finished Wait for the newly created task exists in the dom Wait until the login request is done Wait until the list request is done Make sure no user token is in local storage when trying to register Make sure to always upload test results Disable capturing videos of test runs in CI Add uploading test result screenshots from ci Assert a success notification is shown after creating a new list Change input element locators Fix testing for favorite lists Make sure faked usernames are always random Make sure the tests work Make sure to use node 12 everywhere in ci Add docs Fix setting api url for running tests Use a working node version Ignore cypress screenshots and videos Set cache folders Explicitly ignore cypress files when running unit tests Trigger Drone Only run unit tests with yarn test:unit Add serve dist command to serve built static files Trigger Drone Fix cypress image Change cypress image Unify test & build step back again to prevent double installation of dependencies Add cache location config Move test steps to separate pipeline Run cypress tests in drone Fix all tests Make all factory methods static Use factories everywhere Cleanup Add tests for the editor Add tests for viewing link shares Fix seed Add test to make sure settings elements are hidden if the user does not have the right to edit the current list Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/313 Co-Authored-By: konrad <konrad@kola-entertainments.de> Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-10 14:52:35 +01:00
},
"ignorePatterns": [
2021-07-26 16:59:59 +02:00
"*.test.*",
Frontend Testing With Cypress (#313) Wait until the request is finished Wait for the newly created task exists in the dom Wait until the login request is done Wait until the list request is done Make sure no user token is in local storage when trying to register Make sure to always upload test results Disable capturing videos of test runs in CI Add uploading test result screenshots from ci Assert a success notification is shown after creating a new list Change input element locators Fix testing for favorite lists Make sure faked usernames are always random Make sure the tests work Make sure to use node 12 everywhere in ci Add docs Fix setting api url for running tests Use a working node version Ignore cypress screenshots and videos Set cache folders Explicitly ignore cypress files when running unit tests Trigger Drone Only run unit tests with yarn test:unit Add serve dist command to serve built static files Trigger Drone Fix cypress image Change cypress image Unify test & build step back again to prevent double installation of dependencies Add cache location config Move test steps to separate pipeline Run cypress tests in drone Fix all tests Make all factory methods static Use factories everywhere Cleanup Add tests for the editor Add tests for viewing link shares Fix seed Add test to make sure settings elements are hidden if the user does not have the right to edit the current list Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/313 Co-Authored-By: konrad <konrad@kola-entertainments.de> Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-10 14:52:35 +01:00
"cypress/*"
]
2018-08-28 22:50:22 +02:00
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
Frontend Testing With Cypress (#313) Wait until the request is finished Wait for the newly created task exists in the dom Wait until the login request is done Wait until the list request is done Make sure no user token is in local storage when trying to register Make sure to always upload test results Disable capturing videos of test runs in CI Add uploading test result screenshots from ci Assert a success notification is shown after creating a new list Change input element locators Fix testing for favorite lists Make sure faked usernames are always random Make sure the tests work Make sure to use node 12 everywhere in ci Add docs Fix setting api url for running tests Use a working node version Ignore cypress screenshots and videos Set cache folders Explicitly ignore cypress files when running unit tests Trigger Drone Only run unit tests with yarn test:unit Add serve dist command to serve built static files Trigger Drone Fix cypress image Change cypress image Unify test & build step back again to prevent double installation of dependencies Add cache location config Move test steps to separate pipeline Run cypress tests in drone Fix all tests Make all factory methods static Use factories everywhere Cleanup Add tests for the editor Add tests for viewing link shares Fix seed Add test to make sure settings elements are hidden if the user does not have the right to edit the current list Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/313 Co-Authored-By: konrad <konrad@kola-entertainments.de> Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-10 14:52:35 +01:00
"jest": {
"testPathIgnorePatterns": [
"cypress"
2021-07-06 22:22:57 +02:00
],
"testEnvironment": "jsdom",
"preset": "ts-jest",
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.(js|tsx?)$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"js",
"json"
]
},
"license": "AGPL-3.0-or-later"
}