forked from zotero/zoterobib
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
135 lines (135 loc) · 5.73 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
134
135
{
"name": "schroeder-cite",
"license": "AGPL-3.0",
"version": "1.1.6",
"private": true,
"description": "",
"repository": "",
"main": "",
"config": {
"styles_cache_time": "86400000",
"port": "8001",
"translation_server": ""
},
"browserslist": "defaults",
"browserify": {
"transform": [
"babelify"
]
},
"scripts": {
"serve": "node scripts/server.js -p $npm_package_config_port -t $npm_package_config_translation_server",
"prebuild": "npm run clean -s && mkdir -p build/static/",
"clean": "rimraf build",
"clean:data": "rimraf data",
"build": "npm run build:styles-json && run-p 'build:js -s' 'build:scss -s' 'build:html -s' 'build:static -s' && npm run build:postprocess",
"browserify": "mkdir -p build/static && NODE_ENV=production browserify -s ZoteroBibComponent --extension=.jsx src/js/main.js -t [babelify] -g [ envify --NODE_ENV production ] -g uglifyify | uglifyjs --compress --mangle > build/static/main.js",
"browserify-debug": "mkdir -p build/static && DEBUG=true NODE_ENV=production browserify -s ZoteroBibComponent --extension=.jsx src/js/main.js -t [babelify] -g [ envify --NODE_ENV production ] -g uglifyify -o build/static/main.js",
"build:js": "run-s browserify",
"build:scss": "for f in src/scss/*.scss; do node-sass $f --output-style compressed --output build/static/; done;",
"build:html": "node scripts/build-html.js",
"build:styles-json": "node scripts/build-styles-json.js --stylesCacheTime $npm_package_config_styles_cache_time",
"build:static": "mkdir -p build/static && rsync -vazL src/static/* build/static/",
"build:postprocess": "postcss build/static/bib.css --use autoprefixer --no-map -r",
"devel": "run-p 'devel:js -s' 'devel:scss -s' 'devel:html -s' 'devel:static -s'",
"devel:js": "watchify -s ZoteroBibComponent --extension=.jsx src/js/main.js -d -v -p mapstraction -o build/static/main.js",
"devel:scss": "nodemon -q -w src/scss --ext 'scss' --exec 'npm run devbuild:scss'",
"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'",
"devbuild:scss": "run-s devbuild:scss:build devbuild:scss:post",
"devbuild:scss:build": "for f in src/scss/*.scss; do node-sass $f --recursive --source-map true --source-map-contents true --output build/static; done;",
"devbuild:scss:post": "postcss build/static/*.css --use autoprefixer -r",
"start": "mkdir -p build/static && run-p \"build:styles-json\" \"serve -s {@}\" \"devel -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'",
"test": "nyc mocha --require @babel/register"
},
"dependencies": {
"array-equal": "^1.0.0",
"babel-regenerator-runtime": "^6.5.0",
"balanced-match": "^1.0.0",
"classnames": "^2.2.6",
"copy-to-clipboard": "^3.3.1",
"cross-fetch": "^3.0.6",
"deep-equal": "^2.0.3",
"es6-promise": "^4.2.8",
"file-saver": "^2.0.2",
"load-script": "^1.0.0",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-adsense-ad": "^3.4.0",
"react-dom": "^16.13.1",
"react-ga": "^3.2.0",
"react-key-handler": "^1.1.0",
"react-modal": "^3.11.2",
"react-popover": "^0.5.10",
"react-router-dom": "^5.2.0",
"react-select": "<2.0.0",
"reactstrap": "^8.6.0",
"sanitize-filename": "^1.6.3",
"smooth-scroll": "^16.1.3",
"zotero-api-client": "^0.32.1",
"zotero-api-client-cache": "^0.7.0",
"zotero-translation-client": "^3.0.6",
"zotero-web-library": "^0.10.2"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-export-namespace-from": "^7.10.4",
"@babel/plugin-proposal-function-sent": "^7.10.4",
"@babel/plugin-proposal-json-strings": "^7.10.4",
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-proposal-throw-expressions": "^7.10.4",
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-async-to-generator": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.10.4",
"@babel/register": "^7.12.1",
"autoprefixer": "^9.8.5",
"babel-eslint": "^10.1.0",
"babelify": "^10.0.0",
"browserify": "^16.5.2",
"chai": "^4.2.0",
"cheerio": "^1.0.0-rc.3",
"config": "^3.3.1",
"envify": "^4.1.0",
"eslint": "^7.12.1",
"eslint-plugin-react": "^7.21.5",
"fs-extra": "^9.0.1",
"handlebars": "^4.7.7",
"http-proxy": "^1.18.1",
"http-server": "^0.12.3",
"json": "^10.0.0",
"mapstraction": "^1.0.1",
"marked": "^2.0.0",
"minimist": "^1.2.5",
"mocha": "^8.2.0",
"node-sass": "^4.14.1",
"nodemon": "^2.0.4",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"postcss-cli": "^8.2.0",
"rimraf": "^3.0.2",
"serve-static": "^1.14.1",
"sinon": "^9.2.1",
"stylelint": "^13.7.2",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.18.0",
"uglify-js": "^3.11.4",
"uglifyify": "^5.0.2",
"watchify": "^3.11.1",
"webworkify": "^1.5.0"
}
}