X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=8100f4585b0d62b081ce2ed76d2b893ae7bcf190;hb=947bbc7c072894476a69b903579c6e3b548d28d7;hp=67fb72c9083ef018bf5abcd1f133901ae6d127bd;hpb=5c97c3b38d4d208d335617e7d77ad702d70e68bb;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index 67fb72c9..8100f458 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,13 @@ { "name": "ev-simulator", - "version": "1.0.0", + "version": "1.0.1-0", "engines": { - "node": "14.x.x" + "node": "14.x.x", + "npm": "6.x.x" }, "repository": { "type": "git", - "url": "https://github.com/LucasBrazi06/ev-simulator.git" + "url": "https://github.com/sap-labs-france/ev-simulator.git" }, "description": "Electric Vehicle charging stations simulator", "author": "SAP E-Mobility Labs France ", @@ -20,60 +21,66 @@ "main": "dist/start.js", "scripts": { "prestart": "npm run build", - "start": "node -r source-map-support/register dist/start.js", - "start:dev": "ts-node-dev -- src/start.ts", - "start:dev:debug": "ts-node-dev --inspect -- src/start.ts", - "start:debug": "node -r source-map-support/register --inspect dist/start.js", - "start:prof": "node -r source-map-support/register --prof dist/start.js", - "start:doctorprof": "clinic doctor -- node -r source-map-support/register dist/start.js", - "start:flameprof": "clinic flame -- node -r source-map-support/register dist/start.js", - "start:bubbleprof": "clinic bubbleprof -- node -r source-map-support/register dist/start.js", - "grunt": "grunt", - "build": "npm run build:prod", + "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js", + "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js", + "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js", + "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js", + "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js", + "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js", + "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js", + "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js", + "rollup": "rollup --config", + "build": "npm run rollup", + "build:dev": "npm run rollup -- --environment BUILD:development", + "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch", "build:mta": "mbt build", - "build:prod": "npm run grunt", - "build:dev": "npm run grunt -- ts:dev", - "build:clean": "rimraf ./dist", "lint": "cross-env TIMING=1 eslint --ext .js,.ts src", "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src", + "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'", "tsc": "tsc", "test": "echo \"Error: no tests implemented\" && exit 1", "clinic:clean": "clinic clean", "npm-check": "npm-check", "git:sinit": "git submodule update --init --recursive --force", "git:sdiff": "git diff && git submodule foreach 'git diff'", - "git:supdate": "git submodule update --remote --merge", - "git:spush": "git push --recurse-submodules=on-demand" + "git:supdate": "git submodule update --remote --recursive --merge", + "git:spush": "git push --recurse-submodules=on-demand", + "postversion": "git push && git push upstream && git push --tags && git push upstream --tags" }, "dependencies": { + "mongodb": "^3.6.7", + "poolifier": "^2.0.2", "source-map-support": "^0.5.19", - "tslib": "^2.1.0", + "tslib": "^2.2.0", "uuid": "^8.3.2", "winston": "^3.3.3", - "winston-daily-rotate-file": "^4.5.0", - "worker-threads-pool": "^2.0.0", - "ws": "^7.4.2" + "winston-daily-rotate-file": "^4.5.5", + "ws": "^7.4.5" }, "optionalDependencies": { "bufferutil": "^4.0.3", - "utf-8-validate": "^5.0.4" + "utf-8-validate": "^5.0.5" }, "devDependencies": { - "@types/node": "^14.14.21", + "@rollup/plugin-json": "^4.1.0", + "@types/node": "^14.17.0", "@types/uuid": "^8.3.0", - "@types/worker-threads-pool": "^2.0.0", - "@types/ws": "^7.4.0", - "@typescript-eslint/eslint-plugin": "^4.14.0", - "@typescript-eslint/parser": "^4.14.0", - "clinic": "^8.0.1", + "@types/ws": "^7.4.4", + "@typescript-eslint/eslint-plugin": "^4.24.0", + "@typescript-eslint/parser": "^4.24.0", + "clinic": "^9.0.0", "cross-env": "^7.0.3", - "eslint": "^7.18.0", - "grunt": "^1.3.0", - "grunt-ts": "^6.0.0-beta.22", - "mbt": "^1.1.0", + "eslint": "^7.26.0", + "eslint-plugin-import": "^2.23.2", + "eslint-plugin-jsdoc": "^34.8.2", + "mbt": "^1.1.1", "npm-check": "^5.9.2", - "rimraf": "^3.0.2", - "ts-node-dev": "^1.1.1", - "typescript": "^4.1.3" + "rollup": "^2.48.0", + "rollup-plugin-analyzer": "^4.0.0", + "rollup-plugin-copy": "^3.4.0", + "rollup-plugin-delete": "^2.0.0", + "rollup-plugin-terser": "^7.0.2", + "rollup-plugin-typescript2": "^0.30.0", + "typescript": "^4.2.4" } }