-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
75 lines (75 loc) · 2.83 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
{
"name": "financiamiento-elecciones-2014",
"version": "1.0.0",
"description": "Esta visualización muestra las donaciones recibidas declaradas por los partidos políticos para cada una de las listas políticas en las Elecciones Nacionales uruguayas del año 2014.",
"private": true,
"main": "server.js",
"scripts": {
"lint": "jshint src/js/map.js",
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build:copy": "cp -R src dist && rimraf dist/less",
"build:copy-jq": "cp node_modules/jquery/dist/jquery.min.js dist/js/vendor/",
"build:html:index": "htmlmin src/index.html -o dist/index.html",
"build:html:map": "htmlmin src/map.html -o dist/map.html",
"build:html": "npm run build:html:index && npm run build:html:map",
"build:js:index": "browserify src/js/index.js | uglifyjs -mc --screw-ie8 > dist/js/index.js",
"build:js:map": "browserify src/js/map.js | uglifyjs -mc --screw-ie8 > dist/js/map.js",
"build:js": "npm run build:js:index && npm run build:js:map",
"build:less": "lessc --clean-css src/less/index.less > dist/css/index.css",
"build:css": "uglifycss --ugly-comments src/css/map.css > dist/css/map.css",
"build:image": "imagemin src/img/* -o dist/img/",
"build:json": "json-minify src/data.json > dist/data.json",
"build": "npm run build:copy && npm run build:copy-jq && npm run build:html && npm run build:js && npm run build:less && npm run build:css && npm run build:image && npm run build:json",
"watch:bundle": "watchify src/js/map.js -o dist/js/map.js -v",
"start": "nodemon --exec 'npm run build && babel-node server.js' --ignore dist/",
"predeploy": "npm run build",
"deploy": "gh-pages -d dist -b master"
},
"repository": {
"type": "git",
"url": "git+https://github.com/finpol/finpol.github.io.git"
},
"author": "Santiago Castro",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/finpol/finpol.github.io/issues"
},
"homepage": "https://github.com/finpol/finpol.github.io",
"dependencies": {
"jquery": "^3.2.1",
"sigma-webpack": "^1.2.0-1",
"underscore": "^1.8.3"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-preset-es2015": "^6.13.2",
"babel-preset-stage-2": "^6.13.0",
"babelify": "^7.3.0",
"browserify": "^13.1.0",
"browserify-shim": "^3.8.12",
"finalhandler": "^0.5.0",
"gh-pages": "^0.11.0",
"htmlmin": "0.0.7",
"imagemin-cli": "^3.0.0",
"jshint": "^2.9.2",
"json-minify": "^1.0.0",
"less": "^2.7.1",
"less-plugin-clean-css": "^1.5.1",
"live-server": "^1.1.0",
"nodemon": "^1.10.0",
"rimraf": "^2.5.4",
"serve-static": "^1.11.1",
"uglifycss": "0.0.23",
"uglifyjs": "^2.4.10"
},
"browserify": {
"transform": [
"babelify",
"browserify-shim"
]
},
"browserify-shim": {
"jquery": "global:$"
}
}