forked from elabftw/elabftw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 6.57 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "elabftw",
"description": "Free and open source electronic lab notebook for research labs",
"main": "builder.js",
"directories": {
"test": "tests"
},
"dependencies": {
"3dmol": "^2.0.6",
"@deltablot/chemdoodle-web-mini": "^9.5.1",
"@deltablot/dropzone": "7.0.0-alpha2",
"@deltablot/malle": "^2.5.2",
"@fancyapps/fancybox": "^3.5.7",
"@fullcalendar/bootstrap": "^6.1.10",
"@fullcalendar/core": "^6.1.10",
"@fullcalendar/daygrid": "^6.1.10",
"@fullcalendar/interaction": "^6.1.10",
"@fullcalendar/list": "^6.1.10",
"@fullcalendar/timegrid": "^6.1.10",
"@teselagen/bio-parsers": "^0.4.10",
"@teselagen/ove": "^0.4.1",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/libzip": "^3.0.0",
"bootstrap": "^4.6.2",
"bootstrap-markdown-fa5": "^2.10.2",
"bootstrap-select": "^1.13.18",
"css-loader": "^6.9.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"diff-match-patch": "^1.0.5",
"expose-loader": "^4.1.0",
"i18next": "^23.8.1",
"jquery": "^3.7.1",
"jquery-ui": "^1.13.2",
"jsoneditor": "^9.10.5",
"luxon": "^3.4.4",
"marked": "^11.2.0",
"mathjax-full": "^3.2.2",
"mini-css-extract-plugin": "^2.7.7",
"peggy": "^3.0.2",
"phpeggy": "^2.0.1",
"popper.js": "^1.16.1",
"prismjs": "^1.29.0",
"sass": "^1.69.5",
"terser-webpack-plugin": "^5.3.10",
"tinymce": "^6.8.2",
"ts-loader": "^9.5.1",
"typescript": "5.2.2",
"webpack": "^5.90.0",
"webpack-cli": "^5.1.4"
},
"devDependencies": {
"@types/bootstrap": "^5.2.10",
"@types/dropzone": "^5.7.8",
"@types/fancybox": "^3.5.6",
"@types/file-saver": "^2.0.7",
"@types/jquery": "^3.5.29",
"@types/jqueryui": "^1.12.21",
"@types/luxon": "^3.4.2",
"@types/marked": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"cypress": "^13.6.3",
"cypress-html-validate": "^6.1.0",
"eslint": "^8.56.0",
"html-validate": "^8.9.1",
"postcss": "^8.4.33",
"postcss-scss": "^4.0.9",
"sass-loader": "^13.3.3",
"stylelint": "^15.11.0",
"stylelint-config-sass-guidelines": "^10.0.0",
"webpack-bundle-analyzer": "^4.10.1"
},
"scripts": {
"analyzejs": "yarn run buildprofile && webpack-bundle-analyzer stats.json web/assets -m static -O",
"api": "tests/run.sh api",
"apidocv2": "docker run --name swagger --rm -e SWAGGER_JSON=/c/openapi.yaml -v $(pwd)/apidoc/v2/:/c -p 8085:8080 -d swaggerapi/swagger-ui && echo 'APIv2 Doc: http://localhost:8085' && echo 'Run docker stop swagger to remove it.'",
"brotli": "brotli -vf web/assets/*.css web/assets/*.js web/assets/*.svg web/assets/images/*.svg",
"zopfli": "zopfli -i1000 web/assets/*.css web/assets/*.js web/assets/*.svg web/assets/images/*.svg",
"build": "webpack-cli --progress --config builder.js",
"build:dev": "webpack-cli --config builder.js",
"build:prod": "webpack-cli --mode production --env production --config builder.js",
"buildnode": "webpack-cli --progress --config node-builder.js",
"buildnode:dev": "webpack-cli --config node-builder.js",
"buildall": "CYPRESS_INSTALL_BINARY=0 yarn install --immutable && yarn buildjs && yarn buildcss && yarn buildparser && yarn brotli && yarn zopfli",
"buildall:prod": "CYPRESS_INSTALL_BINARY=0 yarn install --immutable && yarn buildjs:prod && yarn buildcss && yarn buildparser && yarn brotli && yarn zopfli",
"buildall:dev": "CYPRESS_INSTALL_BINARY=0 yarn install --immutable && yarn build:dev && yarn buildnode:dev && yarn buildcss && yarn buildparser",
"buildcss": "yarn sass --quiet-deps --style compressed src/scss/pdf.scss:web/assets/pdf.min.css",
"buildjs": "yarn build && yarn buildnode",
"buildjs:prod": "yarn build:prod && yarn buildnode",
"buildparser": "mkdir -p ./cache/advancedSearchQuery && yarn peggy --extra-options-file ./src/node/grammar/peggy-config.js",
"buildprofile": "webpack-cli --config builder.js --profile --json > stats.json",
"buildnodeprofile": "webpack-cli --config node-builder.js --profile --json > node-stats.json",
"clean": "rm -rvf web/assets/*.min.css* web/assets/*.bundle.js*",
"codespell": "codespell --config src/tools/codespellrc",
"csslint": "yarn run stylelint src/scss/*.scss",
"cy": "tests/run.sh cy",
"full": "yarn phpcs && yarn jslint && yarn csslint && yarn psalm && yarn phpstan && yarn test unit",
"jslint:all": "yarn run jslint && yarn run jslint:cy",
"jslint-ci:all": "yarn run jslint-ci && yarn run jslint-ci:cy",
"jslint": "eslint --ext .ts src/ts",
"jslint-ci": "eslint --ext .ts --quiet src/ts",
"jslint:cy": "eslint --ext .ts tests/cypress",
"jslint-ci:cy": "eslint --ext .ts --quiet tests/cypress",
"phpcs": "./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v",
"phpcs-dry": "./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --stop-on-violation",
"phpmetrics": "phpmetrics --report-html=metrics . && firefox metrics/index.html",
"phpstan": "./vendor/bin/phpstan analyse --no-progress --memory-limit 4G -c src/tools/phpstan.neon",
"pre-commit": "yarn phpcs-dry && yarn static && yarn csslint && yarn jslint:all && yarn twigcs",
"psalm": "psalm --no-progress -c=src/tools/psalm.xml",
"psalmall": "psalm -c=src/tools/psalm.xml --show-info=true",
"rector": "./vendor/bin/rector process src --config src/tools/rector.php",
"rector-dry": "./vendor/bin/rector process src --config src/tools/rector.php --dry-run",
"srcdoc": "phpDocumentor run --cache-folder /tmp -i ./cache -i ./uploads -d src/classes -d src/controllers -d src/exceptions -d src/interfaces -d src/models -d src/services -d src/traits -d web/app/controllers -t _srcdoc --setting=graphs.enabled=true",
"static": "composer run-script psalm && composer run-script phpstan",
"test": "tests/run.sh",
"test:clean": "php vendor/bin/codecept clean",
"twigcs": "php vendor/bin/twigcs",
"unit": "tests/run.sh unit",
"unit-ci": "php vendor/bin/codecept run unit",
"watchcss": "sass --quiet-deps --watch src/scss/main.scss:web/assets/elabftw.min.css src/scss/pdf.scss:web/assets/pdf.min.css",
"watchjs": "webpack-cli --config builder.js --mode=development --watch --progress",
"watchnode": "webpack-cli --config node-builder.js --mode=development --watch --progress"
},
"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",
"packageManager": "[email protected]"
}