mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
I find it annoying to wait for code coverage tools to complete (~3 seconds) and especially to scroll up for every test run. So, this should run coverage only on our build server *or* if you add `--coverage` on the command line.
116 lines
3.2 KiB
JSON
116 lines
3.2 KiB
JSON
{
|
|
"name": "hc-webapp-next",
|
|
"version": "1.0.0",
|
|
"description": "Human Connection Frontend",
|
|
"authors": [
|
|
"Grzegorz Leoniec (appinteractive)",
|
|
"ulfgebhardt"
|
|
],
|
|
"license": "MIT",
|
|
"author": "Human Connection gGmbH",
|
|
"private": false,
|
|
"scripts": {
|
|
"dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server",
|
|
"dev:styleguide": "cross-env STYLEGUIDE_DEV=true yarn dev",
|
|
"build": "nuxt build",
|
|
"start": "cross-env node server/index.js",
|
|
"generate": "nuxt generate",
|
|
"lint": "eslint --ext .js,.vue .",
|
|
"precommit": "yarn lint",
|
|
"test": "jest",
|
|
"test:unit:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --no-cache --runInBand"
|
|
},
|
|
"jest": {
|
|
"verbose": true,
|
|
"collectCoverageFrom": [
|
|
"**/*.{js,vue}",
|
|
"!**/node_modules/**",
|
|
"!**/.nuxt/**",
|
|
"!**/?(*.)+(spec|test).js?(x)"
|
|
],
|
|
"coverageReporters": [
|
|
"text",
|
|
"lcov"
|
|
],
|
|
"transform": {
|
|
".*\\.(vue)$": "vue-jest",
|
|
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"vue"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^@/(.*)$": "<rootDir>/src/$1",
|
|
"^~/(.*)$": "<rootDir>/$1"
|
|
},
|
|
"testMatch": [
|
|
"**/?(*.)+(spec|test).js?(x)"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@human-connection/styleguide": "0.5.17",
|
|
"@nuxtjs/apollo": "4.0.0-rc4.2",
|
|
"@nuxtjs/axios": "~5.5.2",
|
|
"@nuxtjs/dotenv": "~1.3.0",
|
|
"@nuxtjs/style-resources": "~0.1.2",
|
|
"accounting": "~0.4.1",
|
|
"apollo-cache-inmemory": "~1.5.1",
|
|
"apollo-client": "~2.6.0",
|
|
"cookie-universal-nuxt": "~2.0.14",
|
|
"cross-env": "~5.2.0",
|
|
"date-fns": "2.0.0-alpha.27",
|
|
"express": "~4.17.1",
|
|
"graphql": "~14.3.1",
|
|
"jsonwebtoken": "~8.5.1",
|
|
"linkify-it": "~2.1.0",
|
|
"nuxt": "~2.7.1",
|
|
"nuxt-dropzone": "^1.0.2",
|
|
"nuxt-env": "~0.1.0",
|
|
"stack-utils": "^1.0.2",
|
|
"string-hash": "^1.1.3",
|
|
"tiptap": "1.20.1",
|
|
"tiptap-extensions": "1.20.1",
|
|
"v-tooltip": "~2.0.2",
|
|
"vue-count-to": "~1.0.13",
|
|
"vue-izitoast": "1.1.2",
|
|
"vue-sweetalert-icons": "~3.2.0",
|
|
"vue2-dropzone": "^3.5.9",
|
|
"vuex-i18n": "~1.11.0",
|
|
"zxcvbn": "^4.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "~7.4.5",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
|
"@babel/preset-env": "~7.4.5",
|
|
"@vue/cli-shared-utils": "~3.8.0",
|
|
"@vue/eslint-config-prettier": "~4.0.1",
|
|
"@vue/server-test-utils": "~1.0.0-beta.29",
|
|
"@vue/test-utils": "~1.0.0-beta.29",
|
|
"babel-core": "~7.0.0-bridge.0",
|
|
"babel-eslint": "~10.0.1",
|
|
"babel-jest": "~24.8.0",
|
|
"eslint": "~5.16.0",
|
|
"eslint-config-standard": "~12.0.0",
|
|
"eslint-config-prettier": "~4.3.0",
|
|
"eslint-loader": "~2.1.2",
|
|
"eslint-plugin-import": "~2.17.3",
|
|
"eslint-plugin-jest": "~22.6.4",
|
|
"eslint-plugin-node": "~9.1.0",
|
|
"eslint-plugin-prettier": "~3.1.0",
|
|
"eslint-plugin-promise": "~4.1.1",
|
|
"eslint-plugin-standard": "~4.0.0",
|
|
"eslint-plugin-vue": "~5.2.2",
|
|
"fuse.js": "^3.4.4",
|
|
"jest": "~24.8.0",
|
|
"node-sass": "~4.12.0",
|
|
"nodemon": "~1.19.1",
|
|
"prettier": "~1.14.3",
|
|
"sass-loader": "~7.1.0",
|
|
"tippy.js": "^4.3.1",
|
|
"vue-jest": "~3.0.4",
|
|
"vue-svg-loader": "~0.12.0"
|
|
}
|
|
}
|