Icontem

File: package.json

Recommend this page to a friend!
  Classes of Dom Hastings  >  JS Webdav Client  >  package.json  >  Download  
File: package.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: JS Webdav Client
Access files of a Webdav server
Author: By
Last change:
Date: 8 months ago
Size: 1,460 bytes
 

Contents

Class file image Download
{
  "scripts": {
    "build:pp": "preprocess ./src/source-pp.js > ./tmp/source-local.js && preprocess ./src/source-pp.js -CDN=true > ./tmp/source-cdn.js",
    "build:uglify-tmp": "uglifyjs ./tmp/source-local.js -o ./tmp/source-local-min.js -c -m -e && uglifyjs ./tmp/source-cdn.js -o ./tmp/source-cdn-min.js -c -m -e",
    "build:uglify-app": "uglifyjs ./src/webdav.js -o ./src/webdav-min.js -c -m -e",
    "build:bookmarklet": "OUT='./examples/bookmarklet/source-min.js' && printf 'javascript:' > $OUT && cat ./tmp/source-cdn-min.js >> $OUT",
    "build:apache-cdn": "OUT='./examples/apache-directory-list/header.html' && printf '<script type=\"text/javascript\">' > $OUT && cat ./tmp/source-cdn-min.js >> $OUT && printf '</script><!--' >> $OUT",
    "build:apache-local": "OUT='./examples/apache-directory-list-local/header.html' && printf '<script type=\"text/javascript\">' > $OUT && cat ./tmp/source-local-min.js >> $OUT && printf '</script><!--' >> $OUT",
    "build:sass": "node-sass assets/scss/style.scss assets/css/style.css --output-style=expanded &&node-sass assets/scss/style.scss assets/css/style-min.css --output-style=compressed ",
    "build": "npm run build:sass && npm run build:uglify-app && npm run build:pp && npm run build:uglify-tmp && npm run build:bookmarklet && npm run build:apache-cdn && npm run build:apache-local"
  },
  "devDependencies": {
    "node-sass": "4.10.0",
    "preprocessor": "1.4.0",
    "uglify-js": "3.4.9"
  }
}