-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
83 lines (83 loc) · 2.82 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
{
"name": "emunova.net",
"private": true,
"version": "3.3.2",
"description": "",
"scripts": {
"index": "node ./bin/index-content.js",
"deploy": "rsync -ahmr --delete-after --stats ./public/ [email protected]:~/../www_emunova",
"hugo:serve": "hugo serve",
"hugo:build": "hugo --baseURL https://emunova.net",
"pretest": "npm run generate-cache",
"test": "hugo --renderToMemory",
"less": "lessc --include-path=static/less/lib:node_modules/bootstrap/less",
"build": "NODE_ENV=production run-s 'build:*' hugo:build",
"build:js": "browserify -g [ uglifyify -c -m ] -o static/bundle.js static/assets/js/main.js",
"build:css": "$npm_package_scripts_less static/less/core.less static/bundle.css",
"generate-cache": "./bin/cache-games.js",
"generate-thumbs": "run-s 'generate-thumbs:*'",
"generate-thumbs:sq": "find ./content -type f \\( -name '*.jpg' -o -name '*.png' \\) \\( -not -name '*.sq.*' -not -name '*.md.*' -not -path '*/games/*' \\) -exec sharp -i {} -o '{+dir}/{name}.sq{ext}' -p resize 170 \\;",
"generate-thumbs:md": "find ./content -type f \\( -name '*.jpg' -o -name '*.png' \\) \\( -not -name '*.sq.*' -not -name '*.md.*' -not -path '*/games/*' \\) -exec sharp -i {} -o '{+dir}/{name}.md{ext}' -p resize 270 --fit=contain \\;",
"start": "run-p hugo:serve 'watch:*'",
"watch:js": "watchify -vd -o static/bundle.js static/assets/js/main.js",
"watch:css": "nodemon -e less -w static/less -x 'npm run build:css'"
},
"repository": {
"type": "git",
"url": "https://github.com/oncletom/emunova.net.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/oncletom/emunova.net/issues"
},
"engines": {
"node": "8.x.x"
},
"dependencies": {
"algoliasearch": "^3.32.0",
"babel-preset-env": "^1.7.0",
"bootstrap": "^3.4.1",
"fast-sha256": "^1.1.0",
"jquery": "^2.2.3",
"less": "^3.0.2",
"lodash.debounce": "^4.0.8",
"sorttable": "^1.0.2"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babelify": "^8.0.0",
"browserify": "^16.2.3",
"glob": "^7.1.3",
"gray-matter": "^4.0.2",
"he": "^1.2.0",
"js-yaml": "^3.12.1",
"knex": "^0.16.3",
"lodash.kebabcase": "^4.1.1",
"mkdirp": "^0.5.1",
"mysql2": "^1.6.5",
"node-europa": "^4.0.0",
"nodemon": "^1.18.10",
"npm-run-all": "^4.1.5",
"sharp-cli": "^1.9.0",
"uglifyify": "^5.0.1",
"watchify": "^3.11.0"
},
"browser": {
"bootstrap/collapse": "./node_modules/bootstrap/js/collapse.js",
"bootstrap/transition": "./node_modules/bootstrap/js/transition.js",
"bootstrap/dropdown": "./node_modules/bootstrap/js/dropdown.js"
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"env"
]
}
]
]
}
}