UNPKG

deployment-tools

Version:

A Node.js scripts that helps you to compile and deploy the static assets (CSS/JavaScript/images) of your website without gulp and grunt using Node.js and npm scripts

169 lines (168 loc) 5.75 kB
{ "name": "deployment-tools", "version": "1.3.0", "description": "A Node.js scripts that helps you to compile and deploy the static assets (CSS/JavaScript/images) of your website without gulp and grunt using Node.js and npm scripts", "main": "index.js", "repository": { "type": "git", "url": "https://github.com/killanaca/deployment-tools" }, "author": "Alessandro Ursino (killanaca)", "engines": { "node": ">=6.0.0" }, "config": { "cdn": "http://your.cdn.domain", "projectName": "project", "webConfig": "/data/Web.config", "packageJson": "/data/package.json", "srcJsPath": "/data/scripts/", "longTermHash": true, "mainJs": "main.js", "vendorsJs": "vendors.js", "mainBackoffileJs": "main-backoffice.js", "vendorsBackoffileJs": "vendors-backoffice.js", "buildPathJs": "/data/bundles/", "srcSassOUT": "/sass/", "srcLess": "/data/less/", "mainStyle": "main.less", "mainBackoffileStyle": "main-admin.less", "buildPathCss": "/data/css/", "doiuse": "ie >= 9, > 1%", "autoprefixer": "Android 2.3", "preserveBuildPathCss": false, "imagesPath": "/data/images/", "cdnImagesAlias": "http://your.cdn.domain.alias", "styledocPath": "/data/styledoc/", "webpackDevServerPath": "data", "webpackDevServerHost": "localhost", "webpackDevServerPort": "8080", "pre-git": { "commit-msg": "conventional", "pre-commit": [ "npm run lint" ], "pre-push": [], "post-merge": [] } }, "configDev": { "srcJsPath": "/src/" }, "scripts": { "USE THIS SCRIPTS TO SIMULATE THE USE IN A REAL PROJECT (via /data folder)": "###########", "testDev": "babel-node node_modules/blue-tape/bin/blue-tape ./test/**/*.js | faucet", "lintDev": "cross-env DEBUG=dt babel-node src/run lint", "cleanDev": "cross-env DEBUG=dt babel-node src/run clean", "buildImagesDev": "cross-env DEBUG=dt babel-node src/run buildImages", "buildJsDev": "cross-env DEBUG=dt babel-node src/run buildJs", "buildCssDev": "cross-env DEBUG=dt babel-node src/run buildCss", "buildDev": "cross-env DEBUG=dt babel-node src/run build", "bumpDev": "cross-env DEBUG=dt babel-node src/run bump", "deployDev": "cross-env DEBUG=dt babel-node src/run deploy", "uploadDev": "cross-env DEBUG=dt babel-node src/run upload", "watchDev": "cross-env DEBUG=dt babel-node src/run watch", "azureStorageDev": "cross-env DEBUG=dt babel-node src/run azure-storage", "GENERAL PACKAGE SCRIPTS": "########", "publish-please": "publish-please", "prepublish": "publish-please guard", "postinstall": "node dist/run postinstall", "test": "babel-node node_modules/blue-tape/bin/blue-tape ./test/**/*.js | faucet", "changeloginit": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 500", "doc": "esdoc -c ./esdoc.json", "prebuild": "npm run lint && npm run test", "build": "babel src -d dist", "lint": "cross-env DEBUG=dt DEV=true babel-node src/run lint", "index": "cross-env DEBUG=dt babel-node src/run index" }, "keywords": [ "Azure", "CDN", "JavaScript", "CSS", "EsLint", "PostCss", "Deploy", "Deployment", "Webpack", "Less", "Sass" ], "license": "ISC", "devDependencies": { "bootstrap": "^3.3.7", "pre-git": "3.10.0", "publish-please": "^2.2.0", "react": "^15.3.1", "react-dom": "^15.3.1" }, "dependencies": { "autoprefixer": "6.4.1", "azure-storage": "1.3.0", "babel-cli": "^6.14.0", "babel-core": "^6.14.0", "babel-eslint": "^6.1.2", "babel-loader": "^6.2.5", "babel-plugin-syntax-trailing-function-commas": "^6.13.0", "babel-plugin-transform-async-to-generator": "6.8.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.14.0", "babel-plugin-transform-flow-strip-types": "^6.14.0", "babel-plugin-transform-object-rest-spread": "6.8.0", "babel-plugin-transform-runtime": "^6.15.0", "babel-preset-es2015": "^6.14.0", "babel-preset-react": "6.11.1", "blue-tape": "1.0.0", "bluebird": "3.4.6", "chokidar": "1.6.0", "chunk-manifest-webpack-plugin": "0.1.0", "conventional-changelog": "1.1.0", "conventional-changelog-cli": "1.2.0", "cross-env": "2.0.1", "debug": "2.2.0", "del": "^2.2.2", "doiuse": "^2.4.1", "envalid": "2.2.0", "esdoc": "^0.4.8", "esdoc-es7-plugin": "0.0.3", "eslint": "^3.5.0", "eslint-config-airbnb": "11.1.0", "eslint-config-airbnb-base": "^7.1.0", "eslint-loader": "^1.5.0", "eslint-plugin-import": "^1.15.0", "eslint-plugin-jsx-a11y": "^2.2.2", "eslint-plugin-react": "^6.2.2", "faucet": "0.0.1", "imagemin": "5.2.2", "imagemin-gifsicle": "5.1.0", "imagemin-mozjpeg": "6.0.0", "imagemin-pngquant": "5.0.0", "imports-loader": "0.6.5", "less": "2.7.1", "lodash": "^4.15.0", "mdcss": "1.5.2", "mkdirp": "0.5.1", "modernizr-webpack-plugin": "1.0.5", "ncp": "2.0.0", "postcss": "5.2.0", "postcss-calc": "5.3.1", "postcss-clean": "1.0.2", "postcss-devtools": "1.1.0", "postcss-import": "8.1.2", "postcss-less-engine": "^0.6.2", "postcss-modules": "0.5.2", "postcss-reporter": "^1.4.1", "postcss-scss": "0.3.0", "postcss-url": "5.1.2", "progress-bar-webpack-plugin": "^1.9.0", "recursive-readdir": "2.0.0", "semver": "^5.3.0", "sinon": "^1.17.5", "stylelint": "7.2.0", "stylelint-config-standard": "13.0.0", "tape": "4.5.1", "webpack": "1.13.2", "webpack-dev-server": "1.15.2", "webpack-md5-hash": "0.0.5" } }