forked from zotero/zoterobib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 5.2 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
{
"name": "zotero-bib-web",
"license": "AGPL-3.0",
"version": "2.1.8",
"private": true,
"description": "",
"repository": "",
"main": "",
"type": "module",
"sourceType": "module",
"browserslist": "firefox >= 68, chrome >=67, edge >= 15, safari >= 10, last 2 versions, not dead, not ie 11, not ie 10",
"scripts": {
"serve": "node scripts/server.cjs",
"prebuild": "npm run clean -s && mkdir -p build/static/",
"clean": "rimraf build lang",
"clean:data": "rimraf data",
"clean:citeproc": "rimraf src/static/js/citeproc.js",
"clean:all": "run-p \"clean\" \"clean:data\" \"clean:citeproc\"",
"build": "run-p \"build:messages\" \"build:fetch-citeproc\" \"build:collect-locale\" \"build:styles-json\" \"build:mappings\" && NODE_ENV=production run-p 'build:js -s' 'build:scss -s' 'build:html -s' 'build:static -s' && npm run build:postprocess",
"build:js": "mkdir -p build/static && NODE_ENV=production rollup -c",
"build:scss": "for f in src/scss/*.scss; do sass --no-source-map $f build/static/`basename $f .scss`.css; done;",
"build:html": "node scripts/build-html.cjs",
"build:collect-locale": "node scripts/collect-locale.js",
"build:styles-json": "node scripts/build-styles-json.cjs",
"build:fetch-citeproc": "node scripts/fetch-citeproc-js.cjs",
"build:mappings": "node scripts/build-mappings.cjs",
"build:static": "mkdir -p build/static && rsync -vazL src/static/* build/static/",
"build:postprocess": "postcss build/static/bib.css --use autoprefixer --use cssnano --no-map -r",
"devel": "run-p 'devel:js -s' 'devel:scss -s' 'devel:html -s' 'devel:static -s'",
"devel:js": "rollup -c -w",
"devel:scss": "for f in src/scss/*.scss; do sass --embed-source-map --watch $f build/static/`basename $f .scss`.css; done;",
"devel:html": "nodemon -q -w src/html -w config --ext '.' --exec 'npm run build:html'",
"devel:static": "nodemon -q -w src/static --ext '.' --exec 'npm run build:static'",
"start": "mkdir -p build/static && run-p \"build:fetch-citeproc\" \"build:collect-locale\" \"build:styles-json\" \"build:mappings\" && run-p \"devel -s {@}\" \"serve -s {@}\"",
"stylelint": "stylelint \"src/scss/**/*.scss\" || true",
"eslint": "eslint \"src/js/**/*.+(js|jsx)\" || true",
"lint": "run-p stylelint eslint",
"watch:stylelint": "nodemon -q -w src/scss --ext 'scss' --exec 'npm run stylelint'",
"watch:eslint": "nodemon -q -w src/js --ext 'js,jsx' --exec 'npm run eslint'",
"watch:lint": "run-p 'watch:stylelint -s' 'watch:eslint -s'",
"build:messages": "run-s \"build:extract-messages\" \"build:compile-messages\"",
"build:extract-messages": "formatjs extract \"src/js/**/*\" --out-file lang/messages.json --format transifex",
"build:compile-messages": "formatjs compile lang/messages.json --ast --out-file lang/compiled/en-US.json --format transifex"
},
"dependencies": {
"@babel/runtime": "^7.20.6",
"@babel/runtime-corejs3": "^7.20.6",
"@citeproc-rs/wasm": "^0.0.0-canary-2ab195a",
"@formatjs/intl-getcanonicallocales": "^2.0.5",
"@formatjs/intl-locale": "^3.0.11",
"@formatjs/intl-pluralrules": "^5.1.8",
"balanced-match": "^2.0.0",
"classnames": "^2.3.2",
"copy-to-clipboard": "^3.3.3",
"deep-equal": "^2.1.0",
"es6-promise": "^4.2.8",
"file-saver": "^2.0.5",
"load-script": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.2.5",
"react-modal": "^3.16.1",
"react-transition-group": "^4.4.5",
"reactstrap": "<9.0.0",
"smooth-scroll": "^16.1.3",
"use-debounce": "^9.0.2",
"zotero-api-client": ">=0.40.0",
"zotero-translation-client": "^5.0.1"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@formatjs/cli": "^5.1.7",
"@rollup/plugin-alias": "^4.0.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^23.0.4",
"@rollup/plugin-json": "^5.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-terser": "^0.1.0",
"@rollup/plugin-virtual": "^3.0.1",
"@rollup/plugin-wasm": "^6.0.1",
"@welldone-software/why-did-you-render": "^7.0.1",
"autoprefixer": "^10.4.13",
"babel-plugin-formatjs": "^10.3.35",
"cheerio": "^1.0.0-rc.12",
"config": "^3.3.8",
"cssnano": "^5.1.14",
"eslint": "^8.29.0",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"fs-extra": "^11.1.0",
"handlebars": "^4.7.7",
"http-proxy": "^1.18.1",
"http-server": "^14.1.1",
"marked": "^4.2.4",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.19",
"postcss-cli": "^10.1.0",
"prop-types": "^15.8.1",
"rimraf": "^3.0.2",
"rollup": "^3.7.0",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-sizes": "^1.0.4",
"rollup-plugin-web-worker-loader": "^1.6.1",
"sass": "^1.56.2",
"serve-static": "^1.15.0",
"stylelint": "^14.16.0",
"stylelint-config-recommended-scss": "^8.0.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-scss": "^4.3.0",
"terser": "^5.16.1"
}
}