summaryrefslogtreecommitdiffstats
path: root/package.json
blob: bb98953a6cfcf701b586e2d095e01a422634b7be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
  "name": "nextcloud-news",
  "description": "An RSS/Atom feed reader",
  "main": "js/app.min.js",
  "scripts": {
    "prebuild": "npm install && npm ci",
    "build": "NODE_ENV=production webpack --progress --config webpack.js",
    "dev": "NODE_ENV=development webpack --progress --config webpack.js",
    "watch": "NODE_ENV=development webpack --progress --watch --config webpack.js",
    "lint": "eslint --ext .js,.vue src",
    "lint:fix": "eslint --ext .js,.vue src --fix",
    "stylelint": "stylelint **/*.css **/*.scss **/*.vue",
    "stylelint:fix": "stylelint **/*.css **/*.scss **/*.vue --fix",
    "test": "jest --verbose"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/nextcloud/news"
  },
  "keywords": [
    "rss",
    "atom",
    "feed",
    "reader",
    "nextcloud",
    "app"
  ],
  "author": "Benjamin Brahmer",
  "license": "AGPL-3.0",
  "bugs": {
    "url": "https://github.com/nextcloud/news/issues"
  },
  "engines": {
    "node": "^16.0.0",
    "npm": "^8.0.0"
  },
  "resolutions": {
    "natives": "1.1.3"
  },
  "private": true,
  "homepage": "https://github.com/nextcloud/news",
  "dependencies": {
    "@nextcloud/axios": "^1.10.0",
    "@nextcloud/dialogs": "^3.1.2",
    "@nextcloud/router": "^2.0.0",
    "@nextcloud/vue": "^5.3.1",
    "vue": "^2.6.14",
    "vue-router": "^3.5.3",
    "vuex": "^3.6.2"
  },
  "devDependencies": {
    "@babel/core": "^7.11.1",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/preset-env": "^7.11.0",
    "@babel/preset-typescript": "^7.18.6",
    "@nextcloud/babel-config": "^1.0.0",
    "@nextcloud/browserslist-config": "^2.2.0",
    "@nextcloud/eslint-config": "^8.0.0",
    "@nextcloud/eslint-plugin": "^2.0.0",
    "@nextcloud/stylelint-config": "^2.1.2",
    "@nextcloud/webpack-vue-config": "^5.1.0",
    "@types/jest": "^29.1.1",
    "@types/webpack-env": "^1.17.0",
    "@typescript-eslint/eslint-plugin": "^5.27.1",
    "@typescript-eslint/parser": "^5.27.1",
    "@vue/eslint-config-standard": "^8.0.1",
    "@vue/eslint-config-typescript": "^11.0.2",
    "@vue/test-utils": "^1.3.0",
    "babel-core": "^7.0.0-0",
    "css-loader": "^6.7.1",
    "eslint": "^8.6.0",
    "eslint-config-standard": "^17.0.0",
    "eslint-import-resolver-webpack": "^0.12.2",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-jsdoc": "^39.2.1",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^6.0.0",
    "eslint-plugin-standard": "^4.0.1",
    "eslint-plugin-vue": "^9.5.1",
    "eslint-webpack-plugin": "^3.1.1",
    "file-loader": "^6.0.0",
    "jasmine-core": "^3.5.0",
    "jest": "^29.1.1",
    "jest-environment-jsdom": "^29.1.1",
    "jest-serializer-vue": "^2.0.2",
    "jquery": "^3.5.1",
    "jshint": "^2.11.1",
    "karma": "^6.4.0",
    "karma-chrome-launcher": "^3.1.0",
    "karma-coverage": "^2.0.2",
    "karma-firefox-launcher": "^1.3.0",
    "karma-jasmine": "^2.0.1",
    "linkifyjs": "^3.0.5",
    "minimatch": "^3.0.4",
    "natives": "^1.1.6",
    "node-polyfill-webpack-plugin": "^2.0.1",
    "node-sass": "^7.0.1",
    "postcss": "^8.4.14",
    "postcss-html": "^1.4.1",
    "sass-loader": "^13.0.2",
    "style-loader": "^3.3.1",
    "stylelint": "^14.8.4",
    "stylelint-config-recommended-scss": "^7.0.0",
    "stylelint-config-recommended-vue": "^1.4.0",
    "stylelint-webpack-plugin": "^2.1.0",
    "ts-jest": "^29.0.3",
    "ts-loader": "^9.3.0",
    "typescript": "^4.7.2",
    "url-loader": "^4.1.0",
    "vue-eslint-parser": "^9.0.2",
    "vue-jest": "^3.0.7",
    "vue-loader": "^15.9.8",
    "vue-template-compiler": "^2.6.14",
    "webpack": "^5.72.1",
    "webpack-cli": "^4.9.2"
  },
  "jest": {
    "preset": "ts-jest",
    "moduleFileExtensions": [
      "js",
      "vue",
      "ts"
    ],
    "moduleNameMapper": {
      "^@/(.*)$": "<rootDir>/src/$1",
      "^Components/(.*)$": "<rootDir>/src/components/$1"
    },
    "testEnvironment": "jsdom",
    "transform": {
      ".*\\.(vue)$": "vue-jest",
      "^.+\\.ts?$": "ts-jest"
    },
    "transformIgnorePatterns": [
			"/node_modules/(?!(@nextcloud)|(vue-material-design-icons))"
		],
    "snapshotSerializers": [
      "jest-serializer-vue"
    ],
    "setupFilesAfterEnv": [
      "./tests/javascript/unit/setup.ts"
    ],
    "coverageDirectory": "./coverage/",
    "collectCoverage": false,
    "collectCoverageFrom": [
      "<rootDir>/src/**/*.{js,vue,ts}",
      "!**/node_modules/**"
    ],
    "coverageReporters": [
      "json",
      "text",
      "html",
      "lcov",
      "clover"
    ]
  }
}