-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 4.87 KB
/
Copy pathpackage.json
File metadata and controls
150 lines (150 loc) · 4.87 KB
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
{
"name": "workspace",
"version": "1.0.0",
"description": "Place this app in **nextcloud/apps/**",
"main": "main.js",
"private": true,
"scripts": {
"build": "webpack --node-env production --progress",
"dev": "webpack --node-env development --progress",
"watch": "webpack --node-env development --progress --watch",
"serve": "webpack --node-env development serve --progress",
"test": "jest",
"lint": "eslint --ext .js,.vue src",
"stylelint": "stylelint css/*.css css/*.scss src/**/*.vue",
"stylelint:fix": "stylelint css/*.css css/*.scss src/**/*.vue --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/arawa/workspace.git"
},
"keywords": [],
"author": "Arawa <https://www.arawa.fr/>",
"contributors": [
{
"name": "Baptiste Fotia",
"email": "baptiste.fotia@arawa.fr"
},
{
"name": "Cyrille Bollu",
"email": "cyrille@bollu.be"
}
],
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/arawa/workspace/issues"
},
"homepage": "https://github.com/arawa/workspace#readme",
"engines": {
"npm": "^10.0.0",
"node": "^20.0.0"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
],
"Comments": {
"devDependencies": [
"The @nextcloud/eslint-config's version 7.0.2 triggers a problem when we run `npm install`.",
"We must define the `--force` flag to install these devDependencies.",
"But, when we run `npm test`, we have an error on the conflicts on the eslint package as peerDependency.",
"I created an issue on this : https://github.com/nextcloud/eslint-config/issues/294.",
"One solutions is downgraded theses packages :",
"- @nextcloud/eslint-config@6.1.2",
"- @nextcloud/webpack-vue-config@3.1.10",
"Note: Look at this issue for webpack-vue-config package: https://github.com/nextcloud/nextcloud-vue/issues/2478",
"",
"Add this line '/node_modules/(?!(splitpanes)).+\\.js$'",
"To ignore the error related to splitpanes.css"
]
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@mdi/js": "^7.4.47",
"@nextcloud/babel-config": "^1.2.0",
"@nextcloud/browserslist-config": "^3.0.1",
"@nextcloud/eslint-config": "^8.4.2",
"@nextcloud/stylelint-config": "^3.1.0",
"@nextcloud/webpack-vue-config": "^7.0.2",
"@vue/compiler-dom": "^3.4.21",
"@vue/test-utils": "^2.4.6",
"@vue/vue3-jest": "^29.2.6",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^29.7.0",
"core-js": "^3.36.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.2.0",
"jest-mock-axios": "^4.9.0",
"jest-serializer-vue": "^3.1.0",
"jsdom": "^24.0.0",
"jsdom-global": "^3.0.2",
"prettier": "^2.7.1",
"regenerator-runtime": "^0.14.1",
"terser-webpack-plugin": "^5.6.1",
"vue-loader": "^17.4.2",
"webpack": "^5.104.1",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@jambonn/vue-lazyload": "^1.0.10",
"@nextcloud/axios": "^2.6.0",
"@nextcloud/dialogs": "^7.2.0",
"@nextcloud/files": "^3.12.2",
"@nextcloud/initial-state": "^3.0.0",
"@nextcloud/l10n": "^3.4.0",
"@nextcloud/router": "^3.0.1",
"@nextcloud/vue": "^9.4.0",
"@vueuse/components": "^14.1.0",
"debounce": "^2.2.0",
"ramda": "^0.30.1",
"vue": "^3.5.29",
"vue-material-design-icons": "^5.2.0",
"vue-router": "^4.6.4",
"vuex": "^4.1.0"
},
"optionalDependencies": {
"fsevents": "^2.3.2"
},
"jest": {
"verbose": true,
"testEnvironment": "jsdom",
"moduleFileExtensions": [
"js",
"vue",
"mjs"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1",
"\\.(css|less)$": "identity-obj-proxy",
"^uuid$": "<rootDir>/node_modules/uuid/dist/index.js",
"^(.*)\\.svg\\?raw$": "<rootDir>/src/tests/__mocks__/svgRawMock.js",
"^@nextcloud/dialogs$": "<rootDir>/src/tests/__mocks__/nextcloudDialogsMock.js",
"^@nextcloud/files/dav$": "<rootDir>/src/tests/__mocks__/nextcloudFilesMock.js",
"^@nextcloud/vue/components/(.*)$": "<rootDir>/src/tests/__mocks__/nextcloudVueComponentMock.js",
"^@nextcloud/vue/composables/useIsDarkTheme$": "<rootDir>/src/tests/__mocks__/useIsDarkThemeMock.js",
"^@nextcloud/axios$": "<rootDir>/src/tests/__mocks__/axios.js"
},
"snapshotSerializers": [
"<rootDir>/node_modules/jest-serializer-vue"
],
"transformIgnorePatterns": [
"/node_modules/(?!(@nextcloud|@ckeditor|splitpanes)).+\\.js$"
],
"testEnvironmentOptions": {
"customExportConditions": [
"node",
"node-addons"
]
},
"transform": {
".*\\.js$": "babel-jest",
".*\\.(vue)$": "@vue/vue3-jest"
},
"testPathIgnorePatterns": [
"<rootDir>/node_modules/splitpanes"
],
"setupFiles": [
"<rootDir>/src/tests/jest.setup.js"
]
}
}