File tree Expand file tree Collapse file tree
js_npm/rest/realworld-app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ module.exports = {
55 "username" : "test" ,
66 "password" : "test" ,
77 "database" : "test" ,
8- "entities" : [ process . env . NODE_ENV == 'production' ? __dirname + '/build/src/**/**.entity.js' : ( process . env . NODE_ENV == 'em_production' ? __dirname + '/instrumented/src/**/**.entity.js' : __dirname + '/build/src/**/**.entity.js' ) ] ,
8+ "entities" : [ process . env . NODE_ENV == 'production' ? __dirname + '/build/src/**/**.entity.js' : __dirname + '/instrumented/src/**/**.entity.js' ] ,
99 "migrationsTableName" : "migrations" ,
10- "migrations" : [ process . env . NODE_ENV == 'em_production ' ? "instrumented /src/database/migration/*.js" : "build /src/database/migration/*.js" ] ,
10+ "migrations" : [ process . env . NODE_ENV == 'production ' ? "build /src/database/migration/*.js" : "instrumented /src/database/migration/*.js" ] ,
1111 "cli" : {
12- "migrationsDir" : process . env . NODE_ENV == 'em_production ' ? "instrumented /src/database/migration" : "build /src/database/migration"
12+ "migrationsDir" : process . env . NODE_ENV == 'production ' ? "build /src/database/migration" : "instrumented /src/database/migration"
1313 } ,
1414 "synchronize" : true
1515}
Original file line number Diff line number Diff line change 55 "main" : " src/index.js" ,
66 "scripts" : {
77 "build" : " rimraf build && tsc" ,
8- "em:run" : " cross-env NODE_ENV=em_production node instrumented/em/em-main.js" ,
8+ "em:run" : " node instrumented/em/em-main.js" ,
99 "em:build" : " npm run build && rimraf instrumented & babel build -d instrumented --copy-files && babel em -d instrumented/em --copy-files && babel swagger.json -d instrumented --copy-files && babel em -d build/em --copy-files" ,
1010 "start" : " node src/index.js" ,
1111 "start:watch" : " nodemon" ,
You can’t perform that action at this time.
0 commit comments