Created
September 24, 2018 18:51
-
-
Save carsonfarmer/dc703cfc19baafae297d1174f96560e5 to your computer and use it in GitHub Desktop.
scripts and deps section of package.json
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
| ... | |
| "scripts": { | |
| "setup": "yarn install", | |
| "release": "npm version patch", | |
| "postversion": "git push --follow-tags", | |
| "build": "run-s build:*", | |
| "build:copy": "run-p build:copy:*", | |
| "build:copy:html": "shx mkdir -p dist && shx cp index.html dist/index.html", | |
| "build:copy:images": "shx mkdir -p dist/img && shx cp img/* dist/img", | |
| "build:copy:css": "shx mkdir -p dist/css && shx cp css/*.css dist/css", | |
| "build:copy:fonts": "shx mkdir -p dist/webfonts && shx cp webfonts/*.{woff,css} dist/webfonts", | |
| "build:copy:js": "shx mkdir -p dist/js && shx cp js/*.js dist/js" | |
| }, | |
| "dependencies": { | |
| "npm-run-all": "^4.1.3", | |
| "shx": "^0.3.2" | |
| } | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment