-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.59 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
{
"name": "jekyll-theme-etoile",
"version": "1.0.0",
"description": "Magazine Jekyll theme",
"repository": {
"type": "git",
"url": ""
},
"author": "PressApps",
"license": "",
"bugs": {
"url": ""
},
"homepage": "https://etoile.jekyll.plus",
"dependencies": {
"instafetch.js": "^1.5.0",
"sharer.js": "^0.3.1",
"simple-jekyll-search": "^1.7.2",
"system-font-css": "^2.0.2",
"uikit": "^3.0.0-rc.25"
},
"devDependencies": {
"cpx": "^1.5.0",
"jshint": "^2.9.5",
"ncp": "latest",
"onchange": "^3.3.0",
"uglify-js": "^3.3.18"
},
"scripts": {
"copy:sass": "ncp node_modules/uikit/src/scss/ _sass/vendor/uikit/ && ncp node_modules/system-font-css/ _sass/vendor/system-font-css/",
"copy:js": "cpx \"node_modules/uikit/dist/js/uikit.js\" assets/js/vendor/ && cpx \"node_modules/uikit/dist/js/uikit-icons.js\" assets/js/vendor/ && cpx \"node_modules/simple-jekyll-search/dest/simple-jekyll-search.js\" assets/js/vendor/ && cpx \"node_modules/instafetch.js/dist/instafetch.js\" assets/js/vendor/ && cpx \"node_modules/sharer.js/sharer.js\" assets/js/vendor/",
"lint": "jshint assets/js/_main.js",
"uglify": "uglifyjs assets/js/vendor/uikit.js assets/js/vendor/uikit-icons.js assets/js/vendor/simple-jekyll-search.js assets/js/vendor/instafetch.js assets/js/vendor/sharer.js assets/js/_main.js -m -c -o assets/js/main.min.js",
"build": "npm run lint && npm run uglify",
"watch": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build",
"postinstall": "npm run copy:sass && npm run copy:js && npm run build"
}
}