{ "config": { "cssOutputDir": "source/assets/css/", "cssOutputFile": "main.css", "fontsDir": "source/assets/fonts/", "jsInputDir": "assets/js/", "jsOutputDir": "source/assets/js/", "jsOutputFile": "site.js", "sassDir": "assets/sass/" }, "scripts": { "clean": "npm-run-all -p sass:clean fonts:clean js:clean", "dev": "npm run development", "development": "npm run clean && npm run sass && npm-run-all -p fonts:copy sass:watch js:watch", "fonts:clean": "rm -rf $npm_package_config_fontsDir", "fonts:copy": "mkdir -p $npm_package_config_fontsDir && cp -R node_modules/font-awesome/fonts/* $npm_package_config_fontsDir", "js": "npm run js:concat", "js:clean": "rm -rf $npm_package_config_jsOutputDir", "js:concat": "mkdir -p $npm_package_config_jsOutputDir && concat node_modules/jquery/dist/jquery.js node_modules/bootstrap-sass/assets/javascripts/bootstrap.js node_modules/prismjs/prism.js node_modules/prismjs/components/prism-{apacheconf,bash,css,diff,ini,json,nginx,php,sass,scss,sql,less,twig,yaml}.js $npm_package_config_jsInputDir/**/*.js $npm_package_config_jsInputDir/main.js -o $npm_package_config_jsOutputDir$npm_package_config_jsOutputFile", "js:watch": "onchange $npm_package_config_jsInputDir -v -- npm run js", "sass": "npm run sass:build && npm run sass:move", "sass:build": "npm run sass:compile && npm run sass:concat", "sass:clean": "del $npm_package_config_cssOutputDir", "sass:compile": "node-sass assets/sass/main.sass $npm_package_config_cssOutputFile --source-map true", "sass:concat": "mkdir -p $npm_package_config_cssOutputDir && concat node_modules/font-awesome/css/font-awesome.css node_modules/prismjs/themes/prism-twilight.css $npm_package_config_cssOutputFile -o $npm_package_config_cssOutputFile", "sass:move": "mv $npm_package_config_cssOutputFile $npm_package_config_cssOutputFile.map $npm_package_config_cssOutputDir", "sass:watch": "onchange $npm_package_config_sassDir -v -- npm run sass" }, "devDependencies": { "autoprefixer": "^7.1.2", "concat": "^1.0.3", "copy": "^0.3.0", "del": "^3.0.0", "del-cli": "^1.1.0", "mv": "^2.1.1", "node-sass": "^4.5.3", "npm-run-all": "^4.0.2", "onchange": "^3.2.1", "postcss-cli": "^4.1.0", "purify-css": "^1.2.5" }, "dependencies": { "bootstrap-sass": "^3.3.7", "font-awesome": "^4.7.0", "jquery.2": "^1.0.0", "prismjs": "^1.6.0" } }