Last active
December 28, 2024 12:07
-
Star
(399)
You must be signed in to star a gist -
Fork
(66)
You must be signed in to fork a gist
Revisions
-
addyosmani revised this gist
Aug 26, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -4,10 +4,10 @@ "description": "My test app", "main": "src/js/index.js", "scripts": { "jshint:dist": "jshint src/js/*.js", "jshint": "npm run jshint:dist", "jscs": "jscs src/*.js", "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", "browsersync": "browser-sync start --server --files 'src/*'", "uglify:dist": "uglify src/js/**/*.js > dist/js/script.min.js", "uglify": "npm run uglify:dist", -
addyosmani revised this gist
Jul 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ "clean:dist": "rm -rf dist", "clean:tmp": "rm -rf tmp", "clean": "npm run clean:dist && npm run clean:tmp", "copy:dist": "cp src/*.{js,css,html} dist/", "copy": "npm run copy:dist", "sass:dist": "sass src/css/style.scss > dist/css/style.min.css", "sass": "npm run sass:dist", -
addyosmani revised this gist
Nov 26, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -42,5 +42,5 @@ "should": "latest", "mocha": "latest", "istanbul": "latest" } } -
addyosmani revised this gist
Nov 26, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -31,7 +31,7 @@ "dependencies": { "jshint": "latest", "imagemin": "latest", "browser-sync": "latest", "uglifyjs": "latest", "watch": "latest", "cssmin": "latest", -
addyosmani revised this gist
Nov 3, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ "jshint": "npm run jshint:dist", "jscs": "jscs src/*.js", "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", "browsersync": "browser-sync start --server --files 'src/*'", "uglify:dist": "uglify src/js/**/*.js > dist/js/script.min.js", "uglify": "npm run uglify:dist", "test": "mocha", -
addyosmani revised this gist
Nov 3, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ "description": "My test app", "main": "src/js/index.js", "scripts": { "jshint:dist": "jshint src/js/*.js'", "jshint": "npm run jshint:dist", "jscs": "jscs src/*.js", "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ "name": "my-app", "version": "1.0.0", "description": "My test app", "main": "src/js/index.js", "scripts": { "jshint:dist": "src/js/*.js'", "jshint": "npm run jshint:dist", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ "name": "my-app", "version": "1.0.0", "description": "My test app", "main": "src/index.js", "scripts": { "jshint:dist": "src/js/*.js'", "jshint": "npm run jshint:dist", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,6 @@ "clean:dist": "rm -rf dist", "clean:tmp": "rm -rf tmp", "clean": "npm run clean:dist && npm run clean:tmp", "copy:dist": "cp src/!{js,css,index.html} dist/", "copy": "npm run copy:dist", "sass:dist": "sass src/css/style.scss > dist/css/style.min.css", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -15,6 +15,7 @@ "clean:dist": "rm -rf dist", "clean:tmp": "rm -rf tmp", "clean": "npm run clean:dist && npm run clean:tmp", /*"cssmin": "cssmin src/css/*.css > dist/css/style.min.css",*/ "copy:dist": "cp src/!{js,css,index.html} dist/", "copy": "npm run copy:dist", "sass:dist": "sass src/css/style.scss > dist/css/style.min.css", @@ -34,6 +35,7 @@ "browsersync": "latest", "uglifyjs": "latest", "watch": "latest", "cssmin": "latest", "jscs": "latest", "uglify-js": "latest", "browserify": "latest", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -20,7 +20,7 @@ "sass:dist": "sass src/css/style.scss > dist/css/style.min.css", "sass": "npm run sass:dist", "htmlmin:dist": "htmlmin -cs dist/index.html tmp/index.html", "imagemin": "imagemin src/images/* dist/images/* -p", "build:html": "npm run htmlmin", "build:js": "npm run jshint && npm run uglify", "build:css": "npm run sass", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -4,9 +4,9 @@ "description": "My test app", "main": "index.js", "scripts": { "jshint:dist": "src/js/*.js'", "jshint": "npm run jshint:dist", "jscs": "jscs src/*.js", "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", "browsersync": "browser-sync start --proxy localhost:3000 --files 'src/*'", "uglify:dist": "uglify src/js/**/*.js > dist/js/script.min.js", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -5,13 +5,13 @@ "main": "index.js", "scripts": { "jscs": "jscs src/*.js", "jshint:dist": "src/js/*.js'", "jshint": "npm run jshint:dist", "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", "browsersync": "browser-sync start --proxy localhost:3000 --files 'src/*'", "uglify:dist": "uglify src/js/**/*.js > dist/js/script.min.js", "uglify": "npm run uglify:dist", "test": "mocha", "clean:dist": "rm -rf dist", "clean:tmp": "rm -rf tmp", "clean": "npm run clean:dist && npm run clean:tmp", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -6,15 +6,15 @@ "scripts": { "jscs": "jscs src/*.js", "test": "mocha", "jshint:dist": "src/js/*.js'", "jshint": "npm run jshint:dist", "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", "browsersync": "browser-sync start --proxy localhost:3000 --files 'src/*'", "uglify:dist": "uglify src/js/**/*.js > dist/js/script.min.js", "uglify": "npm run uglify:dist", "clean:dist": "rm -rf dist", "clean:tmp": "rm -rf tmp", "clean": "npm run clean:dist && npm run clean:tmp", "copy:dist": "cp src/!{js,css,index.html} dist/", "copy": "npm run copy:dist", "sass:dist": "sass src/css/style.scss > dist/css/style.min.css", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -37,9 +37,9 @@ "jscs": "latest", "uglify-js": "latest", "browserify": "latest", "expect.js": "latest", "should": "latest", "mocha": "latest", "istanbul": "latest" }, } -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -4,10 +4,10 @@ "description": "My test app", "main": "index.js", "scripts": { "jscs": "jscs src/*.js", "test": "mocha", "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", "browsersync": "browser-sync start --proxy localhost:3000 --files 'src/*'", "uglify:dist": "uglify src/js/**/*.js > dist/js/script.min.js", "uglify": "npm run uglify:dist", "clean:dist": "rm -rf dist", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -20,15 +20,17 @@ "sass:dist": "sass src/css/style.scss > dist/css/style.min.css", "sass": "npm run sass:dist", "htmlmin:dist": "htmlmin -cs dist/index.html tmp/index.html", "imagemin": "imagemin src/images/* dist/images/*", "build:html": "npm run htmlmin", "build:js": "npm run jshint && npm run uglify", "build:css": "npm run sass", "build:images": "npm run imagemin", "build": "npm run clean && npm run build:html && npm run build:js && npm run build:css && npm run build:imagemin", "watch": "watch 'npm run build' ." }, "dependencies": { "jshint": "latest", "imagemin": "latest", "browsersync": "latest", "uglifyjs": "latest", "watch": "latest", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -24,7 +24,8 @@ "build:js": "npm run jshint && npm run uglify", "build:css": "npm run sass", "build": "npm run clean && npm run build:html && npm run build:js && npm run build:css", "watch": "watch 'npm run build' .", "psi": "psi http://my-app-address.com" }, "dependencies": { "jshint": "latest", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -31,9 +31,9 @@ "browsersync": "latest", "uglifyjs": "latest", "watch": "latest", "jscs": "latest", "uglify-js": "latest", "browserify": "latest", "expect.js": "~0.3.1", "should": "~3.3.1", "mocha": "~1.18.2", -
addyosmani revised this gist
Nov 1, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -8,15 +8,15 @@ "jscs": "jscs src/*.js", "test": "mocha", "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", "uglify:dist": "uglify src/js/**/*.js > dist/js/script.min.js", "uglify": "npm run uglify:dist", "clean:dist": "rm -rf dist", "clean:tmp": "rm -rf tmp", "clean": "npm run clean:dist && npm run clean:tmp", "jshint:dist": "src/js/*.js'", "jshint": "npm run jshint:dist", "copy:dist": "cp src/!{js,css,index.html} dist/", "copy": "npm run copy:dist", "sass:dist": "sass src/css/style.scss > dist/css/style.min.css", "sass": "npm run sass:dist", "htmlmin:dist": "htmlmin -cs dist/index.html tmp/index.html", -
addyosmani created this gist
Nov 1, 2014 .There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,42 @@ { "name": "my-app", "version": "1.0.0", "description": "My test app", "main": "index.js", "scripts": { "browsersync": "browser-sync start --proxy localhost:3000 --files 'src/*'", "jscs": "jscs src/*.js", "test": "mocha", "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", "clean:dist": "rm -rf dist", "clean:tmp": "rm -rf tmp", "clean": "npm run clean:dist && npm run clean:tmp", "jshint:dist": "src/js/*.js'", "jshint": "npm run jshint:dist", "copy:dist": "cp src/!{js,css,index.html} dist/", "copy": "npm run copy:dist", "uglify:dist": "uglify src/js/**/*.js > dist/js/script.min.js", "uglify": "npm run uglify:dist", "sass:dist": "sass src/css/style.scss > dist/css/style.min.css", "sass": "npm run sass:dist", "htmlmin:dist": "htmlmin -cs dist/index.html tmp/index.html", "build:html": "npm run htmlmin", "build:js": "npm run jshint && npm run uglify", "build:css": "npm run sass", "build": "npm run clean && npm run build:html && npm run build:js && npm run build:css", "watch": "watch 'npm run build' ." }, "dependencies": { "jshint": "latest", "browsersync": "latest", "uglifyjs": "latest", "watch": "latest", "jscs": "^1.7.3", "uglify-js": "~2.4.13", "browserify": "~4.1.6", "expect.js": "~0.3.1", "should": "~3.3.1", "mocha": "~1.18.2", "istanbul": "~0.2.10" }, }