package.json 3.09 KB
Newer Older
Shrimadhav U K's avatar
Shrimadhav U K committed
1
{
Shrimadhav U K's avatar
Shrimadhav U K committed
2 3 4 5 6 7 8 9 10 11 12 13
  "name": "shrimadhav_u_k",
  "version": "3.0.0",
  "description": "SpEcHiDe is what SpEcHiDe does",
  "repository": {
    "type": "git",
    "url": "git+ssh://[email protected]/spechide/spechide.gitlab.io.git"
  },
  "bugs": {
    "url": "https://gitlab.com/spechide/spechide.gitlab.io/issues"
  },
  "homepage": "https://gitlab.com/spechide/spechide.gitlab.io#README",
  "devDependencies": {
Shrimadhav U K's avatar
SCSS  
Shrimadhav U K committed
14 15
    "browser-sync": "^2.18.12",
    "connect-livereload": "^0.5.4",
Shrimadhav U K's avatar
Shrimadhav U K committed
16
    "cpx": "^1.5.0",
Shrimadhav U K's avatar
SCSS  
Shrimadhav U K committed
17 18 19 20 21 22 23
    "eslint": "^3.19.0",
    "node-sass": "^4.5.3",
    "npm": "^4.6.1",
    "npm-cli": "^0.1.0",
    "onchange": "^3.2.1",
    "parallelshell": "^2.0.0",
    "pug": "^2.0.0-rc.1",
Shrimadhav U K's avatar
Shrimadhav U K committed
24
    "pug-cli": "^1.0.0-alpha6",
Shrimadhav U K's avatar
Shrimadhav U K committed
25 26
    "uglify-js": "^3.0.11",
    "upup": "^0.3.0"
Shrimadhav U K's avatar
Shrimadhav U K committed
27
  },
Shrimadhav U K's avatar
Shrimadhav U K committed
28
  "dependencies": {
Shrimadhav U K's avatar
Shrimadhav U K committed
29 30
    "Respond.js": "git+https://github.com/scottjehl/Respond.git#1.4.0",
    "bootstrap-sass": "^3.3.7",
Shrimadhav U K's avatar
Shrimadhav U K committed
31
    "coffeescript": "^1.12.6",
Shrimadhav U K's avatar
Shrimadhav U K committed
32 33 34
    "font-awesome": "^4.7.0",
    "html5shiv": "^3.7.3",
    "jquery": "^3.2.1",
Shrimadhav U K's avatar
Shrimadhav U K committed
35
    "normalize-scss": "^7.0.0",
Shrimadhav U K's avatar
Shrimadhav U K committed
36 37
    "smc-fonts": "git+https://gitlab.com/smc/smc-fonts-bower.git"
  },
Shrimadhav U K's avatar
Shrimadhav U K committed
38
  "author": "Shrimadhav U K <[email protected]>",
Shrimadhav U K's avatar
SCSS  
Shrimadhav U K committed
39 40
  "license": "GPL-3.0",
  "scripts": {
Shrimadhav U K's avatar
Shrimadhav U K committed
41 42 43 44 45 46 47 48 49 50
    "keycopies": "cpx \"_\" public/_/",
    "bsfontscopy": "cpx \"node_modules/bootstrap-sass/assets/fonts/bootstrap/*.*\" public/fonts/",
    "fafontscopy": "cpx \"node_modules/font-awesome/fonts/*.{ttf,woff,eot,svg,woff2,otf}\" public/fonts/",
    "smcfontscopy": "cpx \"node_modules/smc-fonts/fonts/**/*.*\" public/fonts/ && cpx \"node_modules/smc-fonts/css/fonts.css\" public/css/",
    "fontscopy": "npm run bsfontscopy && npm run fafontscopy && npm run smcfontscopy",
    "assetscopy": "npm run keycopies && npm run fontscopy",
    "pugtohtml": "pug --pretty -o public/ pug/pages/*.pug",
    "cssmin": "node-sass --output-style compressed -o public/css css",
    "jsuglify": "mkdir -p public/js && uglifyjs js/*.js -m -c -o public/js/index.js",
    "iejscopy": "cpx \"node_modules/html5shiv/dist/html5shiv.js\" public/js/ && cpx \"node_modules/Respond.js/src/respond.js\" public/js/",
Shrimadhav U K's avatar
Shrimadhav U K committed
51
    "vendorjs": "mkdir -p public/js && uglifyjs node_modules/upup/dist/upup.min.js node_modules/jquery/dist/jquery.min.js node_modules/bootstrap-sass/assets/javascripts/bootstrap.min.js -m -c -o public/js/vendor.js",
Shrimadhav U K's avatar
Shrimadhav U K committed
52 53 54 55 56 57 58 59 60 61 62 63 64 65
    "htmllint": "echo \"no tests specified\"",
    "csslint": "echo \"no tests specified\"",
    "jslint": "echo \"no tests specified\"",
    "build:html": "npm run pugtohtml",
    "build:css": "npm run cssmin",
    "build:js": "npm run jsuglify && npm run iejscopy && npm run vendorjs",
    "build": "npm run assetscopy && npm run build:html && npm run build:css && npm run build:js",
    "serve": "browser-sync start --server public --files 'public/css/*.css, public/js/*.js'",
    "watch:html": "onchange 'pug/**/*.pug' -- npm run build:html",
    "watch:css": "onchange 'css/*.scss' -- npm run build:css",
    "watch:js": "onchange 'js/*.js' -- npm run build:js",
    "watch:all": "parallelshell 'npm run serve' 'npm run watch:html' 'npm run watch:css' 'npm run watch:js'",
    "dev": "npm run watch:all",
    "prod": "npm run build",
Shrimadhav U K's avatar
Shrimadhav U K committed
66
    "install": "npm run prod"
Shrimadhav U K's avatar
SCSS  
Shrimadhav U K committed
67
  }
Shrimadhav U K's avatar
Shrimadhav U K committed
68
}