Commit 5adf49ef authored by ncastejon's avatar ncastejon
Browse files

Fix file import to work with karma

parent 3d0e363f
Pipeline #1523 passed with stages
in 18 minutes and 15 seconds
{
"name": "webapp",
"version": "0.0.0",
"version": "2.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
import { AppRoutes } from '../app/routes';
import * as packageJson from '../../package.json';
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`
......@@ -6,6 +7,8 @@ import { AppRoutes } from '../app/routes';
const kongBaseUrl = 'https://kong-dev.alpha.grandlyon.com';
export const environment = {
version: (<any>packageJson).version,
production: true,
passwordMinLength: 6,
......
import * as packageJson from '../../package.json';
import { AppRoutes } from '../app/routes';
// The file contents for the current environment will overwrite these during build.
......@@ -6,6 +7,8 @@ import { AppRoutes } from '../app/routes';
const kongBaseUrl = 'https://kong-rec.alpha.grandlyon.com';
export const environment = {
version: (<any>packageJson).version,
production: true,
passwordMinLength: 6,
......
import { AppRoutes } from '../app/routes';
import packageJson from '../../package.json';
import * as packageJson from '../../package.json';
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`
......@@ -8,7 +8,7 @@ const servicesProxyUrl = 'https://data-intothesky.alpha.grandlyon.com';
const kongBaseUrl = 'https://kong-dev.alpha.grandlyon.com';
export const environment = {
version: packageJson.version,
version: (<any>packageJson).version,
production: false,
passwordMinLength: 6,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment