forked from elabftw/elabftw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 4.46 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
{
"name": "elabftw",
"description": "Free and open source electronic lab notebook for research labs",
"main": "Gruntfile.js",
"directories": {
"test": "tests"
},
"dependencies": {
"3dmol": "^1.4.0",
"@fancyapps/fancybox": "3.5.*",
"@fortawesome/fontawesome-svg-core": "1.2.*",
"@fortawesome/free-brands-svg-icons": "^5.12.0",
"@fortawesome/free-regular-svg-icons": "^5.12.0",
"@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fullcalendar/bootstrap": "^5.1.0",
"@fullcalendar/core": "^5.1.0",
"@fullcalendar/daygrid": "^5.1.0",
"@fullcalendar/interaction": "^5.1.0",
"@fullcalendar/list": "^5.1.0",
"@fullcalendar/timegrid": "^5.1.0",
"bootstrap": "^4.5.0",
"bootstrap-markdown-fa5": "2.10.*",
"bootstrap-select": "^1.13.18",
"dropzone": "5.7.*",
"file-saver": "2.0.*",
"i18next": "^19.6.0",
"jquery": "^3.5.1",
"jquery-jeditable": "2.0.*",
"jquery-ui": "^1.12.1",
"jsoneditor": "^9.0.3",
"marked": "^1.1.1",
"mathjax": "3.1.*",
"moment": "^2.25.3",
"popper.js": "1.16.*",
"prismjs": "^1.21.0",
"sass": "^1.23.7",
"tinymce": "^5.6.0"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@types/bootstrap": "^5.0.0",
"@types/fancybox": "^3.5.2",
"@types/file-saver": "^2.0.1",
"@types/jquery": "^3.5.1",
"@types/jqueryui": "^1.12.9",
"@types/tinymce": "^4.6.0",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"apidoc": "^0.25.0",
"babel-loader": "^8.0.6",
"css-loader": "^5.0.1",
"eslint": "^6.8.0",
"expose-loader": "^1.0.0",
"google-charts": "^2.0.0",
"grunt": "^1.2.1",
"grunt-contrib-cssmin": "3.0.*",
"grunt-contrib-uglify-es": "gruntjs/grunt-contrib-uglify#harmony",
"grunt-contrib-watch": "1.1.*",
"grunt-shell": "3.0.*",
"lodash": ">=4.17.13",
"snyk": "^1.360.0",
"ts-loader": "^8.0.0",
"typescript": "^4.0.3",
"webpack": "^5.9.0",
"webpack-bundle-analyzer": "^4.1.0",
"webpack-cli": "^4.2.0"
},
"scripts": {
"analyzejs": "webpack-bundle-analyzer stats.json web/app/js",
"apidoc": "apidoc -c apidoc -o apidoc/html -i src/controllers",
"build": "webpack-cli --config builder.js",
"buildall": "grunt && yarn build && sass --style compressed src/scss/main.scss:web/app/css/elabftw.min.css",
"buildcss": "grunt css && sass src/scss/main.scss:web/app/css/elabftw.min.css",
"buildjs": "grunt ts && yarn build",
"buildprofile": "webpack-cli --config builder.js --profile --json > stats.json",
"clean": "rm -rf apidoc/html _srcdoc src/ts/*.js src/ts/*.js.map web/app/js/*bundle.js web/app/js/*.LICENSE.txt web/app/js/*.min.js web/app/css/*.min.css",
"full": "yarn phpcs && yarn jslint && yarn psalm && yarn phpstan && yarn test unit",
"jslint": "eslint --ext .ts src/ts",
"jslint-ci": "eslint --ext .ts --quiet src/ts",
"phan": "phan --allow-polyfill-parser -k src/tools/phan-config.php",
"phpcs": "./vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --using-cache=no",
"phpmetrics": "phpmetrics --report-html=metrics . && firefox metrics/index.html",
"phpstan": "phpstan analyse --memory-limit 2G -c src/tools/phpstan.neon",
"psalm": "psalm -c=src/tools/psalm.xml",
"psalmall": "psalm -c=src/tools/psalm.xml --show-info=true",
"rector": "docker run -v /home/ktr/.dev/elabftw:/project rector/rector:latest process /project/src --config /project/src/tools/rector.php --autoload-file /project/vendor/autoload.php",
"rector-dry": "docker run -v /home/ktr/.dev/elabftw:/project rector/rector:latest process /project/src --config /project/src/tools/rector.php --autoload-file /project/vendor/autoload.php --dry-run",
"srcdoc": "phpDocumentor run --cache-folder /tmp -i ./cache -i ./uploads -d src/classes -d src/maps -d src/controllers -d src/exceptions -d src/interfaces -d src/models -d src/services -d src/traits -d web/app/controllers -t _srcdoc",
"test": "tests/run.sh",
"unit": "tests/run.sh unit",
"unit-ci": "php vendor/bin/codecept run unit",
"vulns": "snyk test",
"watchcss": "sass --watch src/scss/main.scss:web/app/css/elabftw.min.css",
"watchjs": "grunt && webpack-cli --config builder.js --watch"
},
"repository": "git+https://github.com/elabftw/elabftw.git",
"author": "Nicolas CARPi",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/elabftw/elabftw/issues"
},
"homepage": "https://www.elabftw.net"
}