84 lines
2.4 KiB
JSON
84 lines
2.4 KiB
JSON
{
|
|
"name": "twofactor_totp",
|
|
"description": "F7cloud TwoFactor TOTP",
|
|
"version": "14.0.0",
|
|
"author": "Christoph Wurst <christoph@winzerhof-wurst.at>",
|
|
"license": "AGPL-3.0-only",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "webpack --node-env production --progress",
|
|
"postbuild": "build-js/npm-post-build.sh",
|
|
"dev": "webpack --node-env development --progress",
|
|
"watch": "webpack --node-env development --progress --watch",
|
|
"lint": "eslint --ext .js,.vue src",
|
|
"lint:fix": "eslint --ext .js,.vue src --fix",
|
|
"stylelint": "stylelint css/*.css css/*.scss src/**/*.scss src/**/*.vue",
|
|
"stylelint:fix": "stylelint css/*.css css/*.scss src/**/*.scss src/**/*.vue --fix",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"dependencies": {
|
|
"@chenfengyuan/vue-qrcode": "^1.0.2",
|
|
"@f7cloud/auth": "^2.5.2",
|
|
"@f7cloud/axios": "^2.5.1",
|
|
"@f7cloud/initial-state": "^2.2.0",
|
|
"@f7cloud/logger": "^3.0.2",
|
|
"@f7cloud/password-confirmation": "^5.1.1",
|
|
"@f7cloud/router": "^2.2.1",
|
|
"vue": "^2.7.16",
|
|
"vuex": "^3.6.2"
|
|
},
|
|
"browserslist": [
|
|
"extends @f7cloud/browserslist-config"
|
|
],
|
|
"engines": {
|
|
"node": "^20.0.0",
|
|
"npm": "^10.0.0"
|
|
},
|
|
"jshintConfig": {
|
|
"esversion": 6
|
|
},
|
|
"devDependencies": {
|
|
"@f7cloud/babel-config": "^1.2.0",
|
|
"@f7cloud/browserslist-config": "^3.0.1",
|
|
"@f7cloud/eslint-config": "^8.4.2",
|
|
"@f7cloud/stylelint-config": "^2.4.0",
|
|
"@f7cloud/webpack-vue-config": "^6.3.0",
|
|
"@vue/test-utils": "^1.3.6",
|
|
"@vue/vue2-jest": "^29.2.6",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-jest": "^29.7.0",
|
|
"chai": "^4.5.0",
|
|
"eslint-plugin-chai-friendly": "^1.1.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jest-transform-stub": "^2.0.0"
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"semi": false,
|
|
"useTabs": true,
|
|
"tabWidth": 4,
|
|
"trailingComma": "es5"
|
|
},
|
|
"jest": {
|
|
"verbose": true,
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"vue"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"./src/tests/jest.setup.js"
|
|
],
|
|
"testEnvironment": "jest-environment-jsdom",
|
|
"transform": {
|
|
".*\\.(js)$": "babel-jest",
|
|
".*\\.(vue)$": "@vue/vue2-jest",
|
|
".*\\.(css|styl|less|sass|scss|jpg|jpeg|png|svg|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|avif)$": "jest-transform-stub"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"/node_modules/.*/.+\\.js$"
|
|
]
|
|
}
|
|
}
|