Fix build step
This commit is contained in:
		
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
stats.json
 | 
			
		||||
public/__assets__
 | 
			
		||||
lib
 | 
			
		||||
@ -3,8 +3,11 @@
 | 
			
		||||
  "author": "Michael Jackson",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "start": "heroku local -f Procfile.local",
 | 
			
		||||
    "build": "rimraf lib && babel ./modules -d lib",
 | 
			
		||||
    "build": "npm run build-assets && npm run build-lib",
 | 
			
		||||
    "build-assets": "NODE_ENV=production webpack -p --json > stats.json",
 | 
			
		||||
    "build-lib": "rimraf lib && babel ./modules -d lib",
 | 
			
		||||
    "heroku-postbuild": "npm run build"
 | 
			
		||||
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "autoprefixer": "^6.3.6",
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user