forked from pkp/ojs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.08 KB
/
package.json
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
{
"name": "OJS3",
"description": "Open Journal Systems (OJS) is a journal management and publishing system that has been developed by the Public Knowledge Project through its federally funded efforts to expand and improve access to research.",
"version": "3.4.0",
"author": "Public Knowledge Project",
"private": true,
"scripts": {
"dev": "vue-cli-service build --no-clean --watch",
"build": "vue-cli-service build --no-clean",
"lint": "vue-cli-service lint js/load.js lib/pkp/js/load.js lib/pkp/js/usage-stats-chart.js lib/pkp/js/classes/VueRegistry.js",
"fix": "vue-cli-service lint js/load.js lib/pkp/js/load.js lib/pkp/js/usage-stats-chart.js lib/pkp/js/classes/VueRegistry.js && php lib/pkp/lib/vendor/bin/php-cs-fixer fix --config .php-cs-fixer.php --allow-risky=yes"
},
"dependencies": {
"@tinymce/tinymce-vue": "^3",
"chart.js": "^2.9.4",
"clone-deep": "^4.0.1",
"debounce": "^1.2.0",
"element-resize-event": "^3.0.3",
"moment": "^2.29.2",
"tinymce": "^5.10.0",
"v-tooltip": "^2.0.3",
"vue": "^2.6.12",
"vue-autosuggest": "^2.2.0",
"vue-chartjs": "^3.5.1",
"vue-color": "^2.7.1",
"vue-js-modal": "^1.3.35",
"vue-scrollto": "^2.20.0",
"vue2-dropzone": "^3.6.0",
"vuedraggable": "^2.24.3"
},
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.16",
"@vue/cli-plugin-babel": "^5.0.0",
"@vue/cli-plugin-eslint": "^5.0.0",
"@vue/cli-service": "^5.0.0",
"@vue/eslint-config-prettier": "^7.0.0",
"cypress": "^11.2.0",
"cypress-failed-log": "^2.7.0",
"cypress-file-upload": "^5.0.8",
"cypress-wait-until": "^1.7.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.0.3",
"google-closure-compiler-java": "^20200719.0.0",
"husky": "^4.3.8",
"less": "^4.0.0",
"less-loader": "^8.0.0",
"lint-staged": "^11.0.1",
"vue-template-compiler": "^2.6.14"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"@vue/prettier"
],
"globals": {
"$": true,
"pkp": true
},
"rules": {
"prettier/prettier": [
"warn",
{
"bracketSpacing": false,
"singleQuote": true,
"useTabs": true,
"htmlWhitespaceSensitivity": "ignore"
}
],
"no-unused-vars": [
"error",
{
"args": "none"
}
],
"vue/multi-word-component-names": "off"
},
"parserOptions": {
"parser": "@babel/eslint-parser"
}
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"ie >= 10"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.php": [
"php lib/pkp/lib/vendor/bin/php-cs-fixer fix --config .php-cs-fixer.php --allow-risky=yes",
"php lib/pkp/lib/vendor/bin/php-cs-fixer fix --config .php-cs-fixer.php --allow-risky=yes --dry-run"
]
}
}