X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=a2b142b97903289c61894969499f459a7c1ad792;hb=9ccca265277990663dad8ad0573b7c283e221c6f;hp=4af689a365a11223f303fc8eeced584f682dc4dd;hpb=9e530879654182f8dc283d2061612339f0aab50e;p=e-mobility-charging-stations-simulator.git diff --git a/package.json b/package.json index 4af689a3..c16520c1 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,13 @@ { "name": "ev-simulator", - "version": "1.0.0", + "version": "1.0.19", "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 ", @@ -17,41 +18,90 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" } ], - "main": "src/start.js", + "main": "dist/start.js", + "auto-changelog": { + "commitUrl": "https://github.com/sap-labs-france/ev-simulator/commit/{id}", + "issueUrl": "https://github.com/sap-labs-france/ev-simulator/issues/{id}", + "mergeUrl": "https://github.com/sap-labs-france/ev-simulator/pull/{id}", + "compareUrl": "https://github.com/sap-labs-france/ev-simulator/compare/{from}...{to}" + }, "scripts": { - "start": "node src/start.js", - "start:debug": "node --inspect src/start.js", - "start:prof": "node --prof src/start.js", - "start:doctorprof": "clinic doctor -- node src/start.js", - "start:flameprof": "clinic flame -- node src/start.js", - "start:bubbleprof": "clinic bubbleprof -- node src/start.js", - "lint": "eslint src", - "lint:fix": "eslint --fix src", - "flow": "flow", - "flow:check": "flow check src", - "flow:deps": "flow-typed install", - "test": "echo \"Error: no test specified\" && exit 1", + "prestart": "npm run build", + "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", + "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", + "pretest": "npm run build:dev", + "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts", + "coverage": "nyc report --reporter=lcov", + "coverage:html": "nyc report --reporter=html", "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", + "release": "release-it" }, "dependencies": { - "uuid": "^8.3.1", + "mongodb": "^3.6.9", + "poolifier": "^2.0.2", + "source-map-support": "^0.5.19", + "tslib": "^2.3.0", + "uuid": "^8.3.2", "winston": "^3.3.3", - "worker-threads-pool": "^2.0.0", - "ws": "^7.3.1" + "winston-daily-rotate-file": "^4.5.5", + "ws": "^7.5.0" + }, + "optionalDependencies": { + "bufferutil": "^4.0.3", + "utf-8-validate": "^5.0.5" }, "devDependencies": { - "babel-eslint": "^10.1.0", - "clinic": "^7.0.0", - "eslint": "^7.12.0", - "eslint-config-google": "^0.14.0", - "eslint-config-node": "^4.1.0", - "eslint-plugin-flowtype": "^5.2.0", - "flow-bin": "^0.136.0", - "flow-typed": "^3.2.1", - "npm-check": "^5.9.2" + "@istanbuljs/nyc-config-typescript": "^1.0.1", + "@rollup/plugin-json": "^4.1.0", + "@types/mocha": "^8.2.2", + "@types/mochawesome": "^6.2.0", + "@types/node": "^14.17.3", + "@types/uuid": "^8.3.0", + "@types/ws": "^7.4.5", + "@typescript-eslint/eslint-plugin": "^4.27.0", + "@typescript-eslint/parser": "^4.27.0", + "auto-changelog": "^2.3.0", + "clinic": "^9.0.0", + "cross-env": "^7.0.3", + "eslint": "^7.29.0", + "eslint-plugin-import": "^2.23.4", + "eslint-plugin-jsdoc": "^35.3.2", + "eslint-plugin-node": "^11.1.0", + "expect": "^27.0.2", + "mbt": "^1.2.1", + "mocha": "^9.0.1", + "mochawesome": "^6.2.2", + "npm-check": "^5.9.2", + "nyc": "^15.1.0", + "release-it": "^14.9.0", + "rollup": "^2.52.1", + "rollup-plugin-analyzer": "^4.0.0", + "rollup-plugin-copy": "^3.4.0", + "rollup-plugin-delete": "^2.0.0", + "rollup-plugin-istanbul": "^3.0.0", + "rollup-plugin-terser": "^7.0.2", + "rollup-plugin-typescript2": "^0.30.0", + "ts-node": "^10.0.0", + "typescript": "^4.3.4" } }