Skip to content

Instantly share code, notes, and snippets.

@i8degrees
Created December 22, 2016 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i8degrees/9040ccf84b634c6d208d961e4a8ee3d6 to your computer and use it in GitHub Desktop.
Save i8degrees/9040ccf84b634c6d208d961e4a8ee3d6 to your computer and use it in GitHub Desktop.
sha 7bb701e7c3d908d96b83efa443a986e109bfe3fc of imbue/imbue.studio repo
{
"devDependencies": {
"autoprefixer": "^6.5.3",
"babel-cli": "^6.18.0",
"babel-core": "^6.0.15",
"babel-preset-babili": "0.0.8",
"babel-preset-es2015": "^6.0.15",
"browser-sync": "^2.9.0",
"chokidar-cli": "^1.2.0",
"cli-real-favicon": "0.0.6",
"cpy-cli": "github:sindresorhus/cpy-cli#nodir",
"cross-env": "^3.1.3",
"cssnano": "^3.8.0",
"del-cli": "^0.2.0",
"eslint": "^3.10.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-formatter-pretty": "^1.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.7.1",
"html-minifier": "^3.2.2",
"htmlhint": "^0.9.13",
"imagemin-cli": "^3.0.0",
"jsdoc": "^3.4.3",
"mkdirp": "^0.5.1",
"node-sass": "^3.13.0",
"npm-run-all": "^3.1.1",
"postcss-cli": "^2.6.0",
"postcss-env-replace": "github:justfielding/postcss-env-replace#feature/atRules",
"pug-cli": "^1.0.0-alpha6",
"sass-lint": "^1.10.2",
"shipit-cli": "^2.0.0",
"shipit-deploy": "^2.4.0"
},
"engines": {
"node": ">=0.12"
},
"private": true,
"scripts": {
"clean": "del '.tmp' 'dist/*' '!dist/.git'",
"mkdirs": "mkdirp .tmp dist/scripts dist/images dist/assets/fonts/font-awesome/4.7.0",
"copy": "run-p copy:root copy:assets copy:fonts",
"copy:fonts": "cpy 'node_modules/font-awesome/fonts/*' 'dist/assets/fonts/font-awesome/4.7.0/'",
"copy:assets": "cpy 'assets/**/*' '../dist/' --cwd=src --parents",
"copy:root": "cpy 'src/*' '!src/*.html' 'dist/'",
"lint": "run-s lint:*",
"lint:js": "eslint -f node_modules/eslint-formatter-pretty src/scripts; exit 0",
"lint:html": "htmlhint dist; exit 0",
"lint:css": "sass-lint -c .sass-lint.yml 'src/styles/**/*.scss' --verbose --no-exit --ignore 'src/styles/src/resets/**/*.scss'; exit 0",
"prebuild": "run-s clean mkdirs",
"build": "npm-run-all -l --parallel build:images build:css build:favicons build:js copy --serial build:pug",
"postbuild": "echo $NODE_ENV",
"build:dev": "cross-env NODE_ENV=development run-s build",
"build:prod": "cross-env NODE_ENV=production run-s build",
"build:css": "node-sass --precision 10 --include-path node_modules/font-awesome/scss --include-path node_modules/milligram/dist src/styles -o .tmp/styles",
"postbuild:css": "postcss -c postcss.json --postcss-env-replace.environment $NODE_ENV -d dist/styles .tmp/styles/*.css",
"build:favicons": "real-favicon generate src/faviconDescription.json .tmp/faviconData.json dist",
"build:js": "babel src --out-file dist/scripts/main.min.js --source-maps inline --no-comments",
"build:images": "imagemin src/images/* -o dist/images",
"prebuild:html": "real-favicon inject .tmp/faviconData.json .tmp src/**/*.html",
"build:html": "html-minifier --remove-comments --collapse-whitespace --collapse-boolean-attributes --remove-attribute-quotes --remove-empty-attributes --remove-script-type-attributes --remove-style-link-type-attributes --input-dir .tmp --output-dir dist --file-ext html",
"watch": "run-p watch:*",
"watch:css": "chokidar 'src/styles/**/*.scss' -c 'cross-env NODE_ENV=development run-s build:css'",
"watch:js": "chokidar 'src/scripts/**/*.js' -c 'run-s build:js'",
"watch:images": "chokidar src/images/**/*.{gif,jpg,png,svg} -c 'run-s build:images'",
"watch:pug": "chokidar 'src/views/**/*.pug' -c 'run-s build:pug'",
"preserve": "cross-env NODE_ENV=development run-s build",
"serve": "cross-env NODE_ENV=development run-p watch serve:bsync",
"serve:bsync": "browser-sync start --server 'dist' --files 'dist' --port 3000",
"deploy": "shipit production deploy",
"test": "run-s lint:*",
"update:favicons": "real-favicon check-for-update --fail-on-update .tmp/faviconData.json",
"babel-node": "babel-node",
"build:docs": "jsdoc --destination docs/build src/scripts tasks",
"build:pug": "node_modules/.bin/pug --pretty src/views/pages/*.pug --out .tmp",
"postbuild:pug": "run-s build:html",
"cache:purge": "shipit production purge_cdn_cache",
"cache:dev": "run-s cache:dev_on",
"cache:dev_on": "shipit production set_development_mode_on",
"cache:dev_off": "shipit production set_development_mode_off"
},
"eslintConfig": {
"extends": "airbnb",
"env": {
"browser": true,
"node": true
},
"rules": {}
},
"dependencies": {
"font-awesome": "^4.7.0",
"milligram": "^1.2.4",
"smoothscroll-polyfill": "^0.3.4"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment