Skip to content

Instantly share code, notes, and snippets.

@orenmizr
Last active March 12, 2017 06:46
Show Gist options
  • Save orenmizr/5208fefe88d5d1b37d61f7b7f51cd329 to your computer and use it in GitHub Desktop.
Save orenmizr/5208fefe88d5d1b37d61f7b7f51cd329 to your computer and use it in GitHub Desktop.
package starter
{
"name": "primer",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"ampersand-app": "^2.0.0",
"ampersand-model": "^8.0.0",
"ampersand-state": "^5.0.2",
"ampersand-view": "^10.0.1",
"ampersand-view-switcher": "^2.1.0",
"browser-sync": "^2.14.0"
},
"devDependencies": {
"autoprefixer": "^6.3.6",
"browserify": "^13.0.1",
"compass-mixins": "^0.12.10",
"eslint": "^2.11.1",
"eslint-config-standard": "^5.3.1",
"eslint-plugin-promise": "^1.3.2",
"eslint-plugin-standard": "^1.3.2",
"jade": "^1.11.0",
"jadeify": "^4.6.0",
"node-sass": "^3.7.0",
"npm-run-all": "^2.1.1",
"onchange": "^2.5.0",
"postcss-cli": "^2.5.2",
"susy": "^2.2.12",
"uglify-js": "^2.6.2",
"watch": "^0.18.0"
},
"scripts": {
"clean": "rimraf dist",
"build:html": "jade src/templates/ --out dist/",
"css": "node-sass --output-style compressed -o dist/css src/scss",
"autoprefixer": "postcss -u autoprefixer -r dist/css/*",
"lint": "eslint src/js/**/*.js",
"uglify": "uglifyjs dist/js/bundle.js -m -o dist/js/app.js",
"build:css": "npm run css && npm run autoprefixer",
"build:js": "npm run lint && browserify -t jadeify src/js/main.js > dist/js/bundle.js && npm run uglify",
"build:all": "npm-run-all -p build:html build:js build:css",
"serve": "browser-sync start --config bs-config.js",
"watch:html": "onchange src/templates/**/*.jade -- npm run build:html",
"watch:css": "onchange src/scss/**/*.scss -- npm run build:css",
"watch:js": "onchange src/js/**/*.js -- npm run build:js",
"watch:jade": "onchange src/templates/**/*.jade -- npm run build:html",
"watch:all": "npm-run-all -p serve watch:html watch:js watch:css",
"postinstall": "npm-run-all build:all watch:all"
},
"author": "orenmizr",
"license": "ISC"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment