X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/f088a6594c15951b85a56129944afa51a62dc765..3435a35ccb828fe81720d057e38eaa4223e917a7:/package.json?ds=sidebyside diff --git a/package.json b/package.json index d71c90a..0e47818 100644 --- a/package.json +++ b/package.json @@ -5,20 +5,44 @@ "dev": "svelte-kit dev", "build": "svelte-kit build", "start": "svelte-kit start", - "lint": "eslint --fix ." + "lint": "eslint --fix .", + "test": "jest src --runInBand", + "test:watch": "npm run test -- --watch" }, "devDependencies": { "@apollo/client": "^3.3.14", + "@babel/core": "^7.13.15", + "@babel/preset-env": "^7.13.15", "@hapi/eslint-config-hapi": "^13.0.2", + "@pact-foundation/pact": "^9.15.5", "@sveltejs/adapter-node": "next", "@sveltejs/kit": "next", + "@testing-library/jest-dom": "^5.11.10", + "@testing-library/svelte": "^3.0.3", + "@testing-library/user-event": "^13.1.5", + "babel-eslint": "^10.1.0", + "babel-jest": "^26.6.3", "cross-fetch": "^3.1.4", "eslint": "^7.22.0", "eslint-plugin-svelte3": "^3.1.0", + "jest": "^26.6.3", "language-name-map": "^0.3.0", "svelte": "^3.29.0", "svelte-i18n": "^3.3.9", + "svelte-jester": "^1.4.0", "vite": "^2.1.0" }, - "type": "module" + "type": "module", + "babel": { + "presets": [ + [ + "@babel/preset-env", + { + "targets": { + "node": "current" + } + } + ] + ] + } }