forked from zotero/zoterobib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 4.97 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
{
"name": "zotero-bib-web",
"license": "AGPL-3.0",
"version": "1.0.2",
"private": true,
"description": "",
"repository": "",
"main": "",
"config": {
"styles_cache_time": "86400000",
"port": "8001",
"translation_server": ""
},
"browserslist": "last 2 versions",
"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",
"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 -t [babelify] -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-core/register"
},
"dependencies": {
"array-equal": "^1.0.0",
"babel-regenerator-runtime": "^6.5.0",
"balanced-match": "^1.0.0",
"classnames": "^2.2.5",
"copy-to-clipboard": "^3.0.8",
"deep-equal": "^1.0.1",
"es6-promise": "^4.2.4",
"file-saver": "^1.3.8",
"isomorphic-fetch": "^2.2.1",
"load-script": "^1.0.0",
"prop-types": "^15.6.1",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-key-handler": "^1.0.1",
"react-modal": "^3.4.4",
"react-popover": "^0.5.6",
"react-router-dom": "^4.2.2",
"react-select": "^1.2.1",
"reactstrap": "^6.0.1",
"smooth-scroll": "^12.1.5",
"zotero-api-client": "^0.12.0",
"zotero-api-client-cache": "^0.5.0",
"zotero-translation-client": "^2.0.0",
"zotero-web-library": "^0.10.0"
},
"devDependencies": {
"autoprefixer": "^8.5.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-regenerator": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babelify": "^8.0.0",
"browserify": "^16.2.2",
"chai": "^4.1.2",
"cheerio": "^1.0.0-rc.2",
"config": "^1.30.0",
"envify": "^4.1.0",
"eslint": "^4.19.1",
"eslint-plugin-react": "^7.8.2",
"fs-extra": "^6.0.1",
"handlebars": "^4.0.11",
"http-proxy": "^1.17.0",
"http-server": "^0.11.1",
"json": "^9.0.6",
"mapstraction": "^1.0.1",
"marked": "^0.3.19",
"minimist": "^1.2.0",
"mocha": "^5.2.0",
"node-sass": "^4.9.0",
"nodemon": "^1.17.4",
"npm-run-all": "^4.1.3",
"nyc": "^11.8.0",
"postcss-cli": "^5.0.0",
"rimraf": "^2.6.2",
"serve-static": "^1.13.2",
"sinon": "^5.0.7",
"stylelint": "^9.2.1",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-scss": "^3.1.0",
"uglify-js": "^3.3.25",
"uglifyify": "^5.0.0",
"watchify": "^3.11.0",
"webworkify": "^1.5.0"
}
}