20220420_livraison_avril_#1
config/.env.localhost
0 → 100644
config/.env.o2switch.crater
0 → 100644
config/.env.o2switch.dev
0 → 100644
This diff is collapsed.
... | ... | @@ -3,59 +3,58 @@ |
"version": "1.0.0", | ||
"description": "", | ||
"scripts": { | ||
"clean": "rm -rf _ts-build build", | ||
"clean": "rimraf _ts-build build", | ||
"prettier-format": "prettier --write '**/*.{ts,tsx,js,jsx,html}'", | ||
"precompile": "npm run prettier-format", | ||
"compile": "tsc", | ||
"tsc": "tsc", | ||
"compile": "run-s clean tsc prettier-format", | ||
"test": "jest", | ||
"prestart": "npm run compile && npm run test", | ||
"start": "snowpack dev", | ||
"prebuild:local": "npm run compile && npm run test", | ||
"build:local": "snowpack build", | ||
"prebuild:o2switch:dev": "npm run test", | ||
"build:o2switch:dev": "snowpack build --config snowpack.config.o2switch.dev.mjs", | ||
"prebuild:o2switch:crater": "npm run test", | ||
"build:o2switch:crater": "snowpack build --config snowpack.config.o2switch.crater.mjs", | ||
"serve-build": "http-server build --port 8088", | ||
"start": "run-s start:o2switch-dev", | ||
"start:o2switch-dev": "vite --mode o2switch.dev --port 8080", | ||
"start:localhost": "vite --mode localhost --port 8080", | ||
"build": "run-s build:o2switch-dev", | ||
"build:o2switch-dev": "run-s compile test build:vite:o2switch-dev build:cp-config:o2switch-dev", | ||
"build:localhost": "run-s compile test build:vite:localhost", | ||
"build:o2switch-crater": "run-s compile test build:vite:o2switch-crater build:cp-config:o2switch-crater", | ||
"build:vite:o2switch-dev": "vite build --mode o2switch.dev", | ||
"build:vite:localhost": "vite build --mode localhost", | ||
"build:vite:o2switch-crater": "vite build --mode o2switch.crater", | ||
"build:cp-config:o2switch-dev": "ncp config/o2switch.dev build", | ||
"build:cp-config:o2switch-crater": "ncp config/o2switch.crater build", | ||
"serve": "vite preview --port 8088", | ||
"cypress:open": "cypress open --config 'baseUrl=http://localhost:8088/'", | ||
"cypress:run": "cypress run --config 'baseUrl=http://localhost:8088/'", | ||
"cypress:run": "run-s cypress:run:firefox", | ||
"cypress:run:firefox": "cypress run --browser firefox --config 'baseUrl=http://localhost:8088/'", | ||
"cypress:run:chrome": "cypress run --browser chrome --config 'baseUrl=http://localhost:8088/'", | ||
"cypress:verify": "cypress verify", | ||
"cypress:info": "cypress info", | ||
"cypress:version": "cypress version", | ||
"cypress:test:shell-mode": "npm run serve-build & npm run cypress:run", | ||
"cypress:test:shell-mode:firefox": "npm run serve-build & npm run cypress:run:firefox", | ||
"cypress:test:shell-mode:chrome": "npm run serve-build & npm run cypress:run:chrome", | ||
"cypress:test:app-mode": "npm run serve-build & npm run cypress:open", | ||
"cypress:test:app-mode:local": "snowpack build && npm run cypress:test:app-mode", | ||
"cypress:test:shell-mode:local": "npm run build:local && npm run cypress:test:shell-mode:firefox", | ||
"cypress:test:shell-mode:local:dev-config": "npm run build:o2switch:dev && npm run cypress:test:shell-mode:firefox" | ||
"cypress:test:shell-mode": "npm run serve & npm run cypress:run", | ||
"cypress:test:shell-mode:firefox": "npm run serve & npm run cypress:run:firefox", | ||
"cypress:test:shell-mode:chrome": "npm run serve & npm run cypress:run:chrome", | ||
"cypress:test:app-mode": "npm run serve & npm run cypress:open", | ||
"validate": "run-s build cypress:test:shell-mode" | ||
}, | ||
"dependencies": { | ||
"autocompleter": "6.1.0", | ||
"chart.js": "2.9.3", | ||
"chartjs-chart-treemap": "0.2.3", | ||
"chartjs-plugin-annotation": "0.5.7", | ||
"apexcharts": "3.30.0", | ||
"leaflet": "1.7.1", | ||
"autocompleter": "^6.1.2", | ||
"apexcharts": "^3.33.2", | ||
"leaflet": "^1.7.1", | ||
"swagger-ui": "3.52.2", | ||
"geojson": "^0.5.0" | ||
"geojson": "^0.5.0", | ||
"lit": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"@snowpack/plugin-typescript": "1.2.1", | ||
"@types/chart.js": "2.9.34", | ||
"@types/chartjs-plugin-annotation": "0.5.2", | ||
"@types/jest": "27.0.2", | ||
"@types/leaflet": "1.7.5", | ||
"@types/jest": "^27.4.1", | ||
"@types/leaflet": "^1.7.9", | ||
"@types/geojson": "^7946.0.8", | ||
"@types/swagger-ui": "3.47.1", | ||
"cypress": "8.5.0", | ||
"http-server": "13.0.2", | ||
"jest": "27.2.1", | ||
"prettier": "2.5.1", | ||
"snowpack": "3.8.8", | ||
"ts-jest": "27.0.5", | ||
"typescript": "4.4.2" | ||
"@types/swagger-ui": "^3.52.0", | ||
"rimraf": "^3.0.2", | ||
"npm-run-all": "^4.1.5", | ||
"cypress": "^9.5.2", | ||
"jest": "^27.2.5", | ||
"prettier": "^2.6.1", | ||
"vite": "^2.8.6", | ||
"ts-jest": "^27.1.4", | ||
"typescript": "^4.6.3", | ||
"ncp": "^2.0.0" | ||
} | ||
} |
snowpack.config.mjs
deleted
100644 → 0