-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.29 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 3.29 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
{
"name": "devilesk.com",
"version": "1.0.0",
"description": "devilesk.com",
"main": "index.js",
"scripts": {
"browserify": "node scripts/browserify.js",
"uglify": "node scripts/uglify.js",
"sass": "node scripts/sass.js",
"postcss": "node scripts/postcss.js",
"cleancss": "cleancss assets/css/site.min.css -o assets/css/site.min.css",
"copy:dota-json": "rm -r assets/dota-json && cp -r node_modules/dota-datafiles/dist assets/dota-json",
"copy:spritesheet": "rm -r assets/spritesheets && cp -r libs/dota-webassets/dist assets/spritesheets",
"copy:mosaic": "rm -r assets/images/mosaics/mosaics && rm -r assets/images/mosaics/thumbnails && cp -r libs/dota-mosaic/mosaics assets/images/mosaics/mosaics && cp -r libs/dota-mosaic/thumbnails assets/images/mosaics/thumbnails",
"clean:build": "rm -r build",
"build:js": "npm run browserify -- production && npm run uglify",
"build:css": "npm run sass && npm run postcss && npm run cleancss",
"build": "npm run build:js && npm run build:css",
"watch:js": "node scripts/browserify.js -- development watch",
"watch:css": "nodemon -e scss --watch src/scss -x \"npm run sass && cp ./assets/css/site.css ./build/media/css/site.css\"",
"watch": "npm run watch:js & npm run watch:css",
"hyde:dev": "hyde gen -c site.yaml -r",
"hyde:prod": "hyde gen -c site-prod.yaml -r -d deploy/`git rev-parse --short HEAD`",
"assets:update": "npm run copy:dota-json && npm run copy:spritesheet && npm run copy:mosaic",
"assets:rev": "rm -r content/media && gulp assetrev",
"assets": "npm run assets:update && npm run assets:rev",
"data": "python scripts/generate.py",
"gen:dev": "npm run build && npm run assets && npm run data && npm run hyde:dev",
"gen:prod": "npm run build && npm run assets && npm run data && npm run hyde:prod",
"app:dev": "scripts/app.sh app_build app.yaml",
"app:prod": "scripts/app.sh app_deploy app-prod.yaml"
},
"repository": {
"type": "git",
"url": "git+https://devilesk@bitbucket.org/devilesk/devilesk.git"
},
"author": "devilesk",
"license": "MIT",
"homepage": "https://bitbucket.org/devilesk/devilesk#readme",
"devDependencies": {
"autoprefixer": "^7.2.3",
"browserify": "^14.5.0",
"browserify-shim": "^3.8.12",
"clean-css": "^4.1.9",
"factor-bundle": "^2.5.0",
"gulp": "^3.9.1",
"gulp-imagemin": "^4.0.0",
"gulp-rev-all": "^0.9.7",
"js-yaml": "^3.7.0",
"node-sass": "^4.3.0",
"nodemon": "^1.11.0",
"postcss": "^6.0.14",
"uglify-js": "^3.3.2",
"watchify": "^3.8.0"
},
"dependencies": {
"bootstrap": "^3.3.7",
"bootstrap.native": "^2.0.21",
"clean-css-cli": "^4.1.10",
"dota-datafiles": "*",
"jquery": "^3.1.1",
"jquery-ui": "^1.12.1",
"lodash.debounce": "^4.0.8",
"lory.js": "^2.3.4",
"mobile-drag-drop": "^2.2.0",
"photoswipe": "^4.1.1",
"underscore": "^1.8.3"
},
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {
"jquery": "global:$",
"bootstrap": {
"exports": "bootstrap",
"depends": [
"jquery:jQuery"
]
},
"jquery-ui": {
"depends": [
"jquery:jQuery"
]
},
"./src/js/lib/jquery.ui.touch-punch": {
"depends": [
"jquery:jQuery"
]
}
}
}