Skip to content

Commit 5ff42f3

Browse files
committedNov 22, 2016
chore: ensure that build is done in NODE_ENV=production
1 parent 2d1c0d9 commit 5ff42f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"url": "https://github.com/gajus/table"
5858
},
5959
"scripts": {
60-
"build": "rm -fr ./dist && babel --copy-files ./src --out-dir ./dist && npm run make-validators",
60+
"build": "rm -fr ./dist && NODE_ENV=production babel --copy-files ./src --out-dir ./dist && npm run make-validators",
6161
"lint": "npm run build && eslint ./src ./tests",
6262
"make-readme": "gitdown ./.README/README.md --output-file ./README.md",
6363
"make-validators": "ajv compile --all-errors --inline-refs=false -s src/schemas/config -c ajv-keywords/keywords/typeof -o dist/validateConfig.js && ajv compile --all-errors --inline-refs=false -s src/schemas/streamConfig -c ajv-keywords/keywords/typeof -o dist/validateStreamConfig.js",

0 commit comments

Comments
 (0)
Please sign in to comment.