mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
155 lines
4.7 KiB
JSON
155 lines
4.7 KiB
JSON
{
|
|
"name": "ocelot-social-webapp",
|
|
"version": "2.1.0",
|
|
"description": "ocelot.social Frontend",
|
|
"repository": "https://github.com/Ocelot-Social-Community/Ocelot-Social",
|
|
"author": "ocelot.social Community",
|
|
"license": "MIT",
|
|
"private": false,
|
|
"scripts": {
|
|
"dev": "nuxt",
|
|
"dev:styleguide": "cross-env STYLEGUIDE_DEV=true yarn run dev",
|
|
"storybook": "start-storybook -p 3002 -s ./static -c storybook/",
|
|
"build": "nuxt build",
|
|
"start": "nuxt start",
|
|
"generate:maintenance": "nuxt generate -c nuxt.config.maintenance.js",
|
|
"generate": "nuxt generate",
|
|
"lint": "eslint --ext .js,.vue .",
|
|
"locales": "../scripts/translations/missing-keys.sh && ../scripts/translations/sort.sh",
|
|
"precommit": "yarn lint",
|
|
"test": "cross-env NODE_ENV=test jest --coverage",
|
|
"test:unit:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --no-cache --runInBand"
|
|
},
|
|
"jest": {
|
|
"verbose": true,
|
|
"collectCoverageFrom": [
|
|
"**/*.{js,vue}",
|
|
"!**/?(*.)+(spec|test|story).js?(x)",
|
|
"!**/node_modules/**",
|
|
"!**/.nuxt/**",
|
|
"!**/storybook/**",
|
|
"!**/coverage/**",
|
|
"!**/config/**",
|
|
"!**/maintenance/**",
|
|
"!**/plugins/**",
|
|
"!**/.eslintrc.js",
|
|
"!**/.prettierrc.js",
|
|
"!**/nuxt.config.js"
|
|
],
|
|
"coverageReporters": [
|
|
"lcov"
|
|
],
|
|
"transform": {
|
|
".*\\.(vue)$": "vue-jest",
|
|
"^.+\\.js$": "babel-jest"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"vue"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(svg)$": "<rootDir>/test/fileMock.js",
|
|
"\\.(css|less)$": "identity-obj-proxy",
|
|
"^@/(.*)$": "<rootDir>/src/$1",
|
|
"^~/(.*)$": "<rootDir>/$1"
|
|
},
|
|
"setupFiles": [
|
|
"<rootDir>/test/registerContext.js",
|
|
"<rootDir>/test/testSetup.js"
|
|
],
|
|
"testMatch": [
|
|
"**/?(*.)+(spec|test).js?(x)"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@human-connection/styleguide": "0.5.22",
|
|
"@nuxtjs/apollo": "^4.0.0-rc19",
|
|
"@nuxtjs/axios": "~5.9.7",
|
|
"@nuxtjs/dotenv": "~1.4.1",
|
|
"@nuxtjs/pwa": "^3.0.0-beta.20",
|
|
"@nuxtjs/sentry": "^4.0.0",
|
|
"@nuxtjs/style-resources": "~1.0.0",
|
|
"accounting": "~0.4.1",
|
|
"apollo-cache-inmemory": "~1.6.6",
|
|
"apollo-client": "~2.6.8",
|
|
"cookie-universal-nuxt": "~2.2.2",
|
|
"cropperjs": "^1.5.5",
|
|
"cross-env": "~7.0.3",
|
|
"date-fns": "2.22.1",
|
|
"express": "~4.17.1",
|
|
"graphql": "~14.7.0",
|
|
"intersection-observer": "^0.12.0",
|
|
"jsonwebtoken": "~8.5.1",
|
|
"linkify-it": "~3.0.2",
|
|
"node-fetch": "^2.6.1",
|
|
"nuxt": "~2.12.1",
|
|
"nuxt-dropzone": "^1.0.4",
|
|
"nuxt-env": "~0.1.0",
|
|
"sass": "^1.30.0",
|
|
"stack-utils": "^2.0.3",
|
|
"tippy.js": "^4.3.5",
|
|
"tiptap": "~1.26.6",
|
|
"tiptap-extensions": "~1.28.8",
|
|
"trunc-html": "^1.1.2",
|
|
"v-tooltip": "~2.1.3",
|
|
"validator": "^13.0.0",
|
|
"vue-count-to": "~1.0.13",
|
|
"vue-infinite-loading": "^2.4.5",
|
|
"vue-izitoast": "^1.2.1",
|
|
"vue-observe-visibility": "^1.0.0",
|
|
"vue-scrollto": "^2.20.0",
|
|
"vue-sweetalert-icons": "~4.3.1",
|
|
"vuex-i18n": "~1.13.1",
|
|
"xregexp": "^4.3.0",
|
|
"zxcvbn": "^4.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "~7.12.3",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/preset-env": "~7.9.0",
|
|
"@faker-js/faker": "5.1.0",
|
|
"@storybook/addon-a11y": "^6.3.6",
|
|
"@storybook/addon-actions": "^5.3.21",
|
|
"@storybook/addon-notes": "^5.3.18",
|
|
"@storybook/vue": "~6.3.6",
|
|
"@vue/cli-shared-utils": "~4.3.1",
|
|
"@vue/eslint-config-prettier": "~6.0.0",
|
|
"@vue/server-test-utils": "~1.0.0-beta.31",
|
|
"@vue/test-utils": "~1.0.0-beta.31",
|
|
"async-validator": "^3.2.4",
|
|
"babel-core": "~7.0.0-bridge.0",
|
|
"babel-eslint": "~10.1.0",
|
|
"babel-jest": "~25.3.0",
|
|
"babel-loader": "~8.1.0",
|
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
"babel-preset-vue": "~2.0.2",
|
|
"core-js": "~2.6.10",
|
|
"css-loader": "~3.5.2",
|
|
"eslint": "~6.8.0",
|
|
"eslint-config-prettier": "~6.15.0",
|
|
"eslint-config-standard": "~14.1.1",
|
|
"eslint-loader": "~4.0.0",
|
|
"eslint-plugin-import": "~2.20.2",
|
|
"eslint-plugin-jest": "~24.4.0",
|
|
"eslint-plugin-node": "~11.1.0",
|
|
"eslint-plugin-prettier": "~3.4.0",
|
|
"eslint-plugin-promise": "~4.3.1",
|
|
"eslint-plugin-standard": "~5.0.0",
|
|
"eslint-plugin-vue": "~6.2.2",
|
|
"flush-promises": "^1.0.2",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "~26.6.3",
|
|
"mutation-observer": "^1.0.3",
|
|
"prettier": "~2.7.1",
|
|
"sass-loader": "~10.1.1",
|
|
"storybook-design-token": "^0.8.1",
|
|
"storybook-vue-router": "^1.0.7",
|
|
"style-loader": "~0.23.1",
|
|
"style-resources-loader": "~1.3.3",
|
|
"vue-jest": "~3.0.5",
|
|
"vue-svg-loader": "~0.16.0",
|
|
"vue-template-compiler": "^2.6.11"
|
|
}
|
|
}
|