forked from pkp/ojs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 2.87 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
{
"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.3.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/classes/VueRegistry.js",
"fix": "vue-cli-service lint js/load.js lib/pkp/js/load.js lib/pkp/js/classes/VueRegistry.js && php lib/pkp/lib/vendor/bin/php-cs-fixer fix --config .php_cs --allow-risky=yes"
},
"dependencies": {
"@tinymce/tinymce-vue": "^3",
"chart.js": "^2.9.4",
"clone-deep": "^4.0.1",
"debounce": "^1.2.0",
"moment": "^2.27.0",
"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": {
"@foreachbe/cypress-tinymce": "^1.0.0",
"@vue/cli-plugin-babel": "^4.5.13",
"@vue/cli-plugin-eslint": "^3.1.1",
"@vue/cli-service": "^4.5.13",
"@vue/eslint-config-prettier": "^4.0.1",
"babel-eslint": "^10.1.0",
"cypress": "^4.12.1",
"cypress-failed-log": "^2.7.0",
"cypress-file-upload": "^5.0.8",
"cypress-wait-until": "^1.7.1",
"element-resize-event": "^3.0.3",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.2.3",
"google-closure-compiler-java": "^20200719.0.0",
"husky": "^4.3.8",
"less": "^3.12.2",
"less-loader": "^4.1.0",
"lint-staged": "^11.0.1",
"vue-template-compiler": "^2.6.12"
},
"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"
}
]
},
"parserOptions": {
"parser": "babel-eslint"
}
},
"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 --allow-risky=yes",
"php lib/pkp/lib/vendor/bin/php-cs-fixer fix --config .php_cs --allow-risky=yes --dry-run"
]
}
}