Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 2aeef19

Browse files
author
vikasrohit
authored
Added copy files switch to move json files to dist
It is needed for the mock data we need for the reporting module in non production environments.
1 parent 3d226bb commit 2aeef19

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
"scripts": {
1010
"lint": "./node_modules/.bin/eslint .",
1111
"lint:fix": "./node_modules/.bin/eslint . --fix || true",
12-
"build": "babel src -d dist --presets es2015",
12+
"build": "babel src -d dist --presets es2015 --copy-files",
1313
"sync:db": "./node_modules/.bin/babel-node migrations/sync.js",
1414
"sync:es": "./node_modules/.bin/babel-node migrations/elasticsearch_sync.js",
1515
"migrate:es": "./node_modules/.bin/babel-node migrations/seedElasticsearchIndex.js",

0 commit comments

Comments
 (0)