forked from elabftw/elabftw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 7.06 KB
/
Copy pathpackage.json
File metadata and controls
154 lines (154 loc) · 7.06 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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "elabftw",
"description": "Free and open source electronic lab notebook for research labs",
"main": "builder.js",
"directories": {
"test": "tests"
},
"dependencies": {
"3dmol": "^2.4.2",
"@ag-grid-community/client-side-row-model": "^32.3.7",
"@ag-grid-community/core": "^32.3.7",
"@ag-grid-community/infinite-row-model": "^32.3.7",
"@ag-grid-community/react": "^32.3.7",
"@ag-grid-community/styles": "^32.3.7",
"@deltablot/dropzone": "^7.3.0",
"@deltablot/malle": "^2.7.2",
"@fancyapps/fancybox": "^3.5.7",
"@fullcalendar/bootstrap": "^6.1.17",
"@fullcalendar/core": "^6.1.17",
"@fullcalendar/daygrid": "^6.1.17",
"@fullcalendar/interaction": "^6.1.17",
"@fullcalendar/list": "^6.1.17",
"@fullcalendar/timegrid": "^6.1.17",
"@fullcalendar/timeline": "^6.1.17",
"@teselagen/bio-parsers": "^0.4.22",
"@teselagen/ove": "^0.4.12",
"@yarnpkg/core": "^4.4.1",
"@yarnpkg/fslib": "^3.1.2",
"@yarnpkg/libzip": "^3.2.1",
"ag-grid-community": "^33.2.1",
"ag-grid-react": "^33.2.1",
"bootstrap": "^4.6.2",
"bootstrap-markdown-fa5": "^2.10.2",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.2",
"diff-match-patch": "^1.0.5",
"expose-loader": "^5.0.1",
"i18next": "^25.2.1",
"immutable": "^5.1.2",
"jquery": "^3.7.1",
"jquery-ui": "^1.14.1",
"jsoneditor": "^10.2.0",
"ketcher-core": "^3.0.1",
"ketcher-react": "^3.0.1",
"lodash-es": "^4.17.21",
"luxon": "^3.6.1",
"marked": "^15.0.12",
"mathjax-full": "^3.2.2",
"mini-css-extract-plugin": "^2.9.2",
"peggy": "^5.0.3",
"phpeggy": "^3.0.0",
"popper.js": "^1.16.1",
"prismjs": "^1.30.0",
"process": "^0.11.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sass": "^1.89.1",
"terser-webpack-plugin": "^5.3.14",
"tinymce": "^6.8.6",
"tom-select": "^2.4.3",
"ts-loader": "^9.5.2",
"typescript": "5.8.3",
"util": "^0.12.5",
"webpack": "^5.99.9",
"webpack-cli": "^6.0.1"
},
"resolutions": {
"fast-xml-parser": "^4.4.1",
"micromatch": "^4.0.8",
"path-to-regexp": "^1.9.0",
"cross-spawn": "^7.0.5"
},
"devDependencies": {
"@babel/core": "^7.27.3",
"@babel/preset-env": "^7.27.2",
"@babel/preset-react": "^7.27.1",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.27.0",
"@types/bootstrap": "^5.2.10",
"@types/dropzone": "^5.7.9",
"@types/fancybox": "^3.5.7",
"@types/jquery": "^3.5.32",
"@types/jqueryui": "^1.12.24",
"@types/luxon": "^3.6.2",
"@types/marked": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^8.33.0",
"@typescript-eslint/parser": "^8.33.0",
"babel-loader": "^10.0.0",
"cypress": "^14.4.1",
"cypress-html-validate": "^7.1.0",
"eslint": "^9.27.0",
"globals": "^16.2.0",
"html-validate": "^9.5.5",
"postcss": "^8.5.4",
"postcss-scss": "^4.0.9",
"sass-loader": "^16.0.5",
"stylelint": "^16.20.0",
"stylelint-config-sass-guidelines": "^12.1.0",
"stylelint-declaration-strict-value": "^1.10.11",
"stylelint-order": "^7.0.0",
"webpack-bundle-analyzer": "^4.10.2"
},
"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 --no-devtool",
"buildnode": "webpack-cli --progress --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 && yarn buildcss && yarn buildparser",
"buildall:ci": "CYPRESS_INSTALL_BINARY=0 yarn install --immutable && yarn buildjs:prod && 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* web/assets/tinymce_emojis.js web/assets/*.{ttf,svg} web/assets/tinymce_skins",
"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": "eslint src/ts && eslint tests/cypress",
"phpcs": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v",
"phpcs-dry": "PHP_CS_FIXER_IGNORE_ENV=1 ./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": "composer run-script phpstan",
"pre-commit": "yarn phpcs-dry && yarn static && yarn csslint && yarn jslint && yarn twigcs",
"psalm": "composer run-script psalm",
"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",
"watchpdfcss": "sass --quiet-deps --watch 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": "yarn@4.9.2"
}