Created
June 14, 2016 15:58
-
-
Save hem-brahmbhatt/02ecad0eb846591f9167b2c073c07166 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "hafton", | |
| "version": "1.0.0", | |
| "description": "site furniture", | |
| "main": "index.js", | |
| "scripts": { | |
| "prebuild": "rm -rf build/* && mkdir -p build/src/assets", | |
| "build": "run-p templates css js images:copy fonts:copy", | |
| "build:watch": "watch 'npm run build' src/", | |
| "postbuild": "./build-scripts/postbuild.js", | |
| "css": "run-s css:furniture css:minify", | |
| "css:furniture": "node-sass src/scss/furniture.scss build/src/assets/css/furniture.css", | |
| "css:minify": "cat build/src/assets/css/furniture.css | cssmin > build/src/assets/css/furniture.min.css", | |
| "prejs": "mkdir -p build/src/assets/js", | |
| "js": "./build-scripts/concat.js && uglifyjs build/src/assets/js/furniture.js > build/src/assets/js/furniture.min.js", | |
| "templates": "run-p templates:intl templates:am", | |
| "templates:intl": "./build-scripts/template.js src/config/intl.json < src/templates/entry.hbs > build/src/intl.json", | |
| "templates:am": "./build-scripts/template.js src/config/am.json < src/templates/entry.hbs > build/src/am.json", | |
| "images:copy": "cp -R src/img build/src/assets", | |
| "fonts:copy": "cp -R src/fonts build/src/assets", | |
| "test": "run-p test:serve test:watch", | |
| "pretest:build": "rm -rf build/src/test && mkdir -p build/src/test", | |
| "test:build": "run-p test:build:copy test:build:compile", | |
| "test:build:copy": "cp -R test/pages/*.html build/src/test", | |
| "test:build:compile": "webpack test/index.js build/src/test/index.js", | |
| "test:serve": "./build-scripts/serve.js", | |
| "test:watch": "watch 'run-s build test:build' test/ src/", | |
| "start": "run-s build test:build test:serve" | |
| }, | |
| "repository": { | |
| "type": "git", | |
| "url": "ssh://[email protected]:7999/out/hafton.git" | |
| }, | |
| "author": "", | |
| "license": "ISC", | |
| "dependencies": { | |
| "cssmin": "^0.4.3", | |
| "handlebars": "^4.0.5", | |
| "node-sass": "^3.7.0", | |
| "optimist": "^0.6.1", | |
| "uglify-js": "^2.6.2" | |
| }, | |
| "devDependencies": { | |
| "body-parser": "^1.15.1", | |
| "concat-files": "^0.1.0", | |
| "express": "^4.13.4", | |
| "express-request-proxy": "^2.0.0", | |
| "hafton-node-client": "git+ssh://[email protected]:7999/out/hafton-node-client.git", | |
| "json-loader": "^0.5.4", | |
| "npm-run-all": "^2.1.1", | |
| "request": "^2.72.0", | |
| "watch": "^0.18.0", | |
| "webpack": "^1.13.1" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment