forked from SAFeSEA/openEssayist-slim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
91 lines (91 loc) · 4.19 KB
/
Copy pathcomposer.json
File metadata and controls
91 lines (91 loc) · 4.19 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
{
"name": "iet-ou/openessayist-slim",
"description": "Web frontend to the essay analyser & summariser (pyEssayAnalyser). | © The Open University (IET).",
"keywords": [ "SafeSEA", "essay-analyser", "EPSRC", "IET-OU", "OpenUniversity" ],
"homepage": "http://www.open.ac.uk/researchprojects/safesea/",
"time": "2013-02-08",
"license": "proprietary",
"support": {
"source": "https://github.com/SAFeSEA/openEssayist-slim.git",
"email": "openessayist-techsupport@open.ac.uk"
},
"authors": [
{ "name": "Nicolas Van Labeke (vanch3d)", "role": "Original developer", "homepage": "http://nvl.calques3d.org/" },
{ "name": "Richard Lovelock" },
{ "name": "Nick Freear" },
{ "name": "LTT team / Institute of Educational Technology", "homepage": "https://iet.open.ac.uk" }
],
"prefer-stable": true,
"minimum-stability": "dev",
"autoload": { },
"repositories": [
{ "type": "composer", "url": "https://embed.open.ac.uk/iet-satis/" }
],
"require": {
"php": ">=7.0",
"slim/slim": "2.2.*",
"slim/extras": "^2.0.3",
"slim/strong": "dev-develop#1af2dc2f49f14521",
"twig/twig": "1.35.*",
"j4mie/paris": "^1.5.6",
"j4mie/idiorm": "^1.5.5",
"respect/validation": "^1.1.15",
"rmccue/requests": "^1.7.0",
"zendframework/zend-stdlib": "^3.1.0",
"iet-ou/sams-c-auth": "^1.1.0"
},
"require-dev": {
"asm89/twig-lint": "^1.0.2",
"clio/clio": "^0.1.8",
"jakub-onderka/php-parallel-lint": "^1.0.0 || ^0.9.2"
},
"suggest": {
"ext-zip": "*",
"ext-mycrypt": "*",
"iet-ou/sams-c-auth": "1.0.*-dev; ou-sams",
"nfreear/composer-suggest": "^1.2",
"respect/validation": "dev-develop#06224c04369e",
"slim/extras": "dev-develop#5bceb36"
},
"scripts": {
"cli-help": "app/cli.php --help",
"redhat-install": "yum install php php-mcrypt php-zip patch nodejs httpd mod_fcgid # No -y",
"redhat-check": "yum install php* 2>/dev/null | grep 'already installed'",
"npm-install": "npm i",
"prepare": [
"@copy-dotenv", "@copy-conf", "@mkdir", "@symlink-data", "npm run symlink-js"
],
"build": [
"npm run build", "npm run min", "npm run hash-js", "composer version.json"
],
"mkdir": [ "mkdir ./.cache", "mkdir ./.logs", "mkdir -p _user_data/images" ],
"chown": [ "chown -R nginx:nginx ./.cache", "chown -R nginx:nginx ./.logs" ],
"symlink-data": [ "cd public_html; ln -s ../_user_data/images user-images" ],
"_X_NO_patch": "patch -ub --verbose vendor/slim/extras/Slim/Extras/Views/Twig.php app/_data/vendor-slim-extras-Views-Twig-php--render-function.diff",
"copy-apache": "cp -n app/_data/openessayist.open.ac.uk-apache.conf /etc/httpd/conf.d/openessayist.open.ac.uk",
"copy-nginx": "cp -n app/_data/openessayist.open.ac.uk-nginx.conf /etc/nginx/sites-available/openessayist.open.ac.uk # Legacy.",
"copy-conf": "cp -n config/app.DIST.php config/app.php",
"copy-dotenv": "cp -n .env.DIST .env",
"_X_pip-install": "pip install git+https://github.com/google/mysql-tools.git@02d1854273#egg=mysql-tools",
"_X_install-mysql-lint": "git clone --depth=4 https://github.com/google/mysql-tools",
"mysql-lint": "PYTHONPATH=$PYTHONPATH:$(pwd)/mysql-tools/parser_lib; python mysql-tools/validate.py FILE.sql",
"version.json": [
"(printf '{ \"v\": \"'; printf `git describe --long --dirty --always`; printf '\", \"t\": \"'; date | tr -d '\n'; printf '\" }') > public_html/version.json # date -Is"
],
"test": [
"parallel-lint --exclude vendor --exclude .cache .",
"twig-lint lint templates/",
"npm test"
]
},
"scripts-descriptions": {
"cli-help": "App: display help for the OpenEssayist commandline database tool.",
"prepare": "App: copy OpenEssayist configuration files; create cache/log directories."
},
"extra": {
"#": [
"https://github.com/SAFeSEA/openEssayist-slim/commit/5f0a7c374c",
"https://github.com/SAFeSEA/pyEssayAnalyser"
]
}
}