Skip to content

Commit 25e5dee

Browse files
committed
Add missing mkdir -p to build step
1 parent 78fa271 commit 25e5dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "http://github.com/insin/react-hn.git"
1010
},
1111
"scripts": {
12-
"build": "npm run lint && cp node_modules/sw-toolbox/sw-toolbox.js dist/sw-toolbox.js && ./node_modules/.bin/nwb build && npm run copy-manifest && npm run precache",
12+
"build": "mkdir -p dist && npm run lint && cp node_modules/sw-toolbox/sw-toolbox.js dist/sw-toolbox.js && ./node_modules/.bin/nwb build && npm run copy-manifest && npm run precache",
1313
"deploy": "gcloud preview app deploy",
1414
"lint": "./node_modules/eslint-config-jonnybuchanan/bin/lint.js src",
1515
"lint:fix": "./node_modules/eslint-config-jonnybuchanan/bin/lint.js --fix .",

0 commit comments

Comments
 (0)